You are not logged in.
Pages: 1
Hi, just to preface this, this install of arch was my first, six years ago, and is likely a tangled mess. I hadn't upgraded it in probably a year (been developing on windows lately) and decided to try, knowing many things would break. But lo, I have not been able to fix them. I feel like I may have to do a fresh install. Even i3 doesn't launch.
I'm not sure why X is failing, or if this is the correct log (Xorg.0.log.old, as I removed ~/.xinitrc and ran startx to get a browser and make this post)...
https://hastebin.com/idofutofoq.bash
So, with no ~/.xinitrc, X launches fine, but with even an empty file, it dumps to terminal. I have tried uninstalling nvidia drivers, xorg-server, reinstalling it, running nvidia-xconfig, etc, but the result is the same. I know what I did was stupid, but if anyone can help me recover this system I would be very grateful.
I don't know what to look for in the log file, what's normal, what's abnormal, etc, so I don't know where to start.
Last edited by vrav (2019-05-18 21:51:56)
Offline
With an empty xinitrc it should just exit back to the terminal and produce a log just like the one you provided which shows that X exited normally (due to it having nothing to do).
Tell us about the problems you have when you startx with a proper xinitrc, and post that xinitrc.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
That log indicates that X ran successfully.
Offline
Ahh, thanks. I didn't know. Okay, I guess the main problem is that I'm trying to use i3 and it's broken. I tried this .xinitrc:
setxkbmap dvorak &
exec qtile
and it launched fine, but since i3 is broken
setxkbmap dvorak &
exec i3
dumps to terminal.
So my X is fine... sorry for not understanding how it works / what it expects.
I couldn't find anything online about the error i3 is giving me, though. I have libxrandr 1.5.2-1 installed.
$ i3
i3: symbol lookup error: i3: undefined symbol: xcb_randr_get_monitors_monitors_length
Maybe if I build the latest from github? Sorry, I don't know if this issue is relevant to the Arch forum anymore.
Offline
Is the i3 you are using built from source or supplied by some package?
Offline
It's i3-wm 4.16.1-1 installed through pacman.
Offline
Please post the output of the following:
type i3
ldd /usr/bin/i3
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
~ > type i3
i3 is /usr/bin/i3
~ > ldd /usr/bin/i3
linux-vdso.so.1 (0x00007ffd45bea000)
libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0x00007f9c883ce000)
libxcb-xkb.so.1 => /usr/local/lib/libxcb-xkb.so.1 (0x00007f9c881b4000)
libxcb-xinerama.so.0 => /usr/local/lib/libxcb-xinerama.so.0 (0x00007f9c87fb2000)
libxcb-randr.so.0 => /usr/local/lib/libxcb-randr.so.0 (0x00007f9c87da6000)
libxcb-util.so.1 => /usr/lib/libxcb-util.so.1 (0x00007f9c87ba0000)
libxcb-xrm.so.0 => /usr/lib/libxcb-xrm.so.0 (0x00007f9c8799a000)
libyajl.so.2 => /usr/lib/libyajl.so.2 (0x00007f9c8778e000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f9c8777e000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f9c87733000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f9c876d5000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f9c875af000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f9c87488000)
libstartup-notification-1.so.0 => /usr/lib/libstartup-notification-1.so.0 (0x00007f9c8747a000)
libxcb-cursor.so.0 => /usr/lib/libxcb-cursor.so.0 (0x00007f9c87472000)
libxcb-keysyms.so.1 => /usr/lib/libxcb-keysyms.so.1 (0x00007f9c8726f000)
libxcb-icccm.so.4 => /usr/lib/libxcb-icccm.so.4 (0x00007f9c8706a000)
libxkbcommon-x11.so.0 => /usr/lib/libxkbcommon-x11.so.0 (0x00007f9c87060000)
libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x00007f9c8701e000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f9c86fa9000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f9c86f9f000)
libev.so.4 => /usr/lib/libev.so.4 (0x00007f9c86f8e000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f9c86e48000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f9c86e27000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f9c86c62000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f9c86c5b000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f9c86c53000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007f9c86c3b000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f9c86bf4000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f9c86b25000)
libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007f9c86907000)
libthai.so.0 => /usr/lib/libthai.so.0 (0x00007f9c868fc000)
libffi.so.6 => /usr/lib/libffi.so.6 (0x00007f9c868f1000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f9c86847000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f9c8680f000)
libxcb-shm.so.0 => /usr/local/lib/libxcb-shm.so.0 (0x00007f9c8660d000)
libxcb-render.so.0 => /usr/local/lib/libxcb-render.so.0 (0x00007f9c86404000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f9c863f5000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f9c862b6000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f9c862a1000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f9c8608a000)
libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x00007f9c86085000)
libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0x00007f9c85e81000)
libxcb-image.so.0 => /usr/lib/libxcb-image.so.0 (0x00007f9c85c7a000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f9c886a8000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f9c85b7e000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f9c85b42000)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f9c85b39000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f9c85b26000)
libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007f9c8591d000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f9c85918000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f9c858f3000)
~ >
Last edited by vrav (2019-05-18 21:08:38)
Offline
libs not supplied by arch without the required symbol
libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0x00007f9c883ce000)
libxcb-xkb.so.1 => /usr/local/lib/libxcb-xkb.so.1 (0x00007f9c881b4000)
libxcb-xinerama.so.0 => /usr/local/lib/libxcb-xinerama.so.0 (0x00007f9c87fb2000)
libxcb-randr.so.0 => /usr/local/lib/libxcb-randr.so.0 (0x00007f9c87da6000)
libxcb-util.so.1 => /usr/lib/libxcb-util.so.1 (0x00007f9c87ba0000)
libxcb-xrm.so.0 => /usr/lib/libxcb-xrm.so.0 (0x00007f9c8799a000)
Offline
Sorry but can you walk me through what that means / what I need to do? I'm not familiar with "required symbol," not sure what that means. I assume these libs are no longer provided by pacman so they're out of date and I have to get them somewhere else? Or is there another way?
Offline
The following will check to see if anything installed by pacman is using /usr/local (it should just be filesystem that supplies the directory /usr/local)
pacman -Qo /usr/local
Libraries can be placed in multiple directories. The standard location is /usr/lib. If a library or program is built from source it will instead usually install libraries into /usr/local/lib.
The /usr/local/lib version of libxcb-randr.so.0 is being resolved instead of the version in /usr/lib.
Offline
~ > pacman -Qo /usr/local
/usr/local/ is owned by filesystem 2018.12-2
I guess it's possible that I installed some of these libs from source years ago. Is there any easy way to get i3 to use the versions in /usr/lib instead of /usr/local/lib? Do I have to manually delete/rename the ones in /usr/local/lib?
I tried renaming /usr/local/lib/libxcb-randr.so.0 just to test and yep, i3 now launches. I guess these libs in local are just leftover from some haphazard experiments I was doing ages ago...
Offline
Pages: 1