Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#52949 - [xorg-server] Can't startx on fresh install; seems to be missing dependencies

Attached to Project: Arch Linux
Opened by Corey Larson (dchw) - Monday, 13 February 2017, 15:34 GMT
Last edited by Laurent Carlier (lordheavy) - Tuesday, 14 February 2017, 03:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When using a fresh install; and following the usually recommended minimum path to get X up and running, I ran into this issue when trying to start X:

/usr/lib/xorg-server/Xorg: error while loading shared libraries: libpciaccess.so.0: cannot open shared object file: No such file or directory
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Relevant packages installed beyond base:
nvidia
nvidia-libgl
nvidia-utils
xorg-server
xorg-xinit

As this is a very fresh install; I you can see that I haven't done much out of the ordinary (only other non-base apps right now are neovim, rxvt-unicode, and herbstluftwm). I created my ~.xinitrc from a copy of /etc/X11/xinit/xinitrc, as is the current recommendation on the wiki page. The only modification to that file is to start herbstluftwm. I do not run a display manager. The NVidia card in question is a GTX 960, and I do not have any embedded graphics.

It seems like this is not just me, as I have seen recent reports of other people reporting missing this (and two other) libraries with similar installs. Everyone reports having to install libpciaccess, libdrm, and libxshmfence. Installing these allowed X to start.


Additional info:
nvidia 375.26-6
nvidia-libgl 375.26-2
nvidia-utils 375.26-2
xorg-server 1.19.1-2
xorg-xinit 1.3.4-4

Forum thread:
https://bbs.archlinux.org/viewtopic.php?id=223084

Steps to reproduce:
Perform a base installation with the packages described above, and try to start X.
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Tuesday, 14 February 2017, 03:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  xorg-server-1.19.1-5
Comment by Corey Larson (dchw) - Tuesday, 14 February 2017, 03:28 GMT
Shouldn't libdrm, and libxshmfence also be included here? I had to install those too for X to start and work as expected.

Loading...