You are not logged in.

#1 2023-07-15 11:07:17

saleem
Member
Registered: 2011-09-21
Posts: 168

{SOLVED } X packages installtion

Hello,
I have a very basic level question but it leaves me confused so I thought I will clarify it here

Below is the graphic card details of my laptop

$ lspci -v | grep -A1 -e VGA -e 3D
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
    DeviceName: 32

Now my question is do I need to install all these packages as below ?

# pacman -S xorg xorg-server  xorg-xinit xorg-apps xterm xf86-video-intel mesa mesa-libgl libva-intel-driver libva

or can I make it trimmed as below

# pacman -S xorg xorg-xinit xorg-apps xterm xf86-video-intel mesa

My question is do I need xorg and xorg-server both or just xorg is enough  ? and do I really need to have multilib packages or can I ignore installing them?

Would appreciate if this confusion is made clear for me.

Thanks ,

Last edited by saleem (2023-07-18 10:00:14)

Offline

#2 2023-07-15 11:44:57

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: {SOLVED } X packages installtion

what are you actually trying to do?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2023-07-15 11:52:55

saleem
Member
Registered: 2011-09-21
Posts: 168

Re: {SOLVED } X packages installtion

Did fresh install, and I'm installing bare minimal packages not to bloat system with packages which might not be needed . e.g as I asked do I need to have installed xorg and xorg-server or just one of them would run X without any issues ?

Last edited by saleem (2023-07-15 11:55:01)

Offline

#4 2023-07-15 13:34:44

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,111

Re: {SOLVED } X packages installtion

xorg is a (rather large) package group use pacman -Sg xorg to see everything that is in it. On a minimal install you don't want that group installed.

$ pactree --reverse --sync --depth=1 xorg-server
xorg-server
├─cl-clx
├─gdm
├─glava
├─lightdm
├─lightdm-slick-greeter
├─lxdm
├─lxdm-gtk3
├─nvidia-utils
├─plan9port
├─sddm
└─sx
$ 

Do you intend to use any of the packages listed ? If not, you don't need xorg-server.

xorg-apps is another group of which you may need some members, but not all.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2023-07-15 13:44:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,129

Re: {SOLVED } X packages installtion

Do you intend to use any of the packages listed ? If not, you don't need xorg-server.

Except, you know, if you want to run an X11 server to use any X11 client on that system wink
(X11 programs don't depend on xorg-server because you could run them on a remote server, but usually, if you install X11 programs you want to install the xorg-server to use them locally)

Offline

#6 2023-07-15 16:00:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,466
Website

Re: {SOLVED } X packages installtion

saleem wrote:

I'm installing bare minimal packages not to bloat system with packages which might not be needed

Needed by what or whom?  I don't have any of those packages / groups installed as I don't need any of them.  In fact I had very few of those installed even when I ran an Xorg session!

saleem wrote:

run X without any issues ?

All you really need to run X is xorg-server.  That's it.  You'll likely want more than that, but we can't really know what you want.  Do you want a display manager, or do you want to use startx or xinit or your own x initialization script / program?  Do you want a window manager or a DE or to run a bare server with no WM?  Do you want a web browser, or a graphical text editor, or a pony?

Realistically, assuming you are aiming for "minimal" yet sufficient for the type of user who would ask such a question, you will want xorg-server, xorg-xinit, a window manager, and some client programs (terminal, web browser, perhaps a file manager if that's your taste).  On some hardware you'd also need a xorg video driver, but for your intel system that's generally not a good idea anymore (the modesetting driver provided by the kernel tends to be better).

Last edited by Trilby (2023-07-15 16:03:52)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2023-07-18 09:59:31

saleem
Member
Registered: 2011-09-21
Posts: 168

Re: {SOLVED } X packages installtion

Trilby wrote:
saleem wrote:

I'm installing bare minimal packages not to bloat system with packages which might not be needed

Needed by what or whom?  I don't have any of those packages / groups installed as I don't need any of them.  In fact I had very few of those installed even when I ran an Xorg session!

saleem wrote:

run X without any issues ?

All you really need to run X is xorg-server.  That's it.  You'll likely want more than that, but we can't really know what you want.  Do you want a display manager, or do you want to use startx or xinit or your own x initialization script / program?  Do you want a window manager or a DE or to run a bare server with no WM?  Do you want a web browser, or a graphical text editor, or a pony?

Realistically, assuming you are aiming for "minimal" yet sufficient for the type of user who would ask such a question, you will want xorg-server, xorg-xinit, a window manager, and some client programs (terminal, web browser, perhaps a file manager if that's your taste).  On some hardware you'd also need a xorg video driver, but for your intel system that's generally not a good idea anymore (the modesetting driver provided by the kernel tends to be better).

Thanks , This answer explained all the scenarios for me very well , at present I am using sddm so I guess xorg would be needed as well.

Thanks to  all the other users for giving valuable input.

Offline

#8 2023-07-18 11:55:16

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,466
Website

Re: {SOLVED } X packages installtion

And this is why I have come to hate the word "minimal" ... as it can mean pretty much anything (A DM is anything but minimal in my book).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2023-07-18 13:10:49

dakota
Member
Registered: 2016-05-20
Posts: 417

Re: {SOLVED } X packages installtion

saleem wrote:

...at present I am using sddm so I guess xorg would be needed as well.

Did I misunderstand Trilby, Seth, and Lone_Wolf? Because it sounded to me like they were saying you don't need xorg. Just xorg-server and sddm.


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#10 2023-07-21 10:22:21

saleem
Member
Registered: 2011-09-21
Posts: 168

Re: {SOLVED } X packages installtion

I am using startx , so xorg-server , xorg-xinit sound enough to run openbox for me , with intel gpu driver and may be if needed some individual x packages

Offline

#11 2023-07-21 11:23:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,129

Re: {SOLVED } X packages installtion

with intel gpu driver

Rather not.

Offline

#12 2023-07-21 12:18:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,466
Website

Re: {SOLVED } X packages installtion

This new question has now been asked and answered here several times.  There's nothing more that can be done here if you don't read what has already been posted.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB