After libX11 upgrade I cannot start X applications on another X session. Using Fluxbox DM. Found the same issue mentioned here: http://www.gossamer-threads.com/lists/gentoo/user/222370 Reproducible: Always Steps to Reproduce: 1. emerge =x11-libs/libX11-1.4.0 2. startx -- :1 3. try to start some X application Actual Results: # startx -- :1 # ... (launch xterm) ... # xterm Xt error: Can't open display Downgrade to x11-libs/libX11-1.3.6 solves the issue.
Hi, after the update on my AMD64 I got the same problem with libX11-1.4.0. Opening an xterm on the second screen did not work. The solution to fix this is as described in comment #0, downgrade to libX11-1.3.6 My setup is a nVidia Corporation G73 [GeForce 7600 GT] dualhead with two screens attached and running as two separate X-Sessions/Screens. (:0 and :0.1) with fluxbox-1.1.1-r2. Thanks.
It looks mostly like Fluxbox issue. Incorrectly handling (fixed) output of XDisplayString in libX11-1.4.0. http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=f92e754297ec5fdb81068b56a4435026666224fa Reported via Fluxbox tracker (without any reply): http://sourceforge.net/tracker/?func=detail&aid=3136775&group_id=35398&atid=413960 Quite obvious cause of problem found in Fluxbox sources (FbCommands.executeCmd::run): ----- string display = DisplayString(FbTk::App::instance()->display()); int screen_num = m_screen_num; if (screen_num < 0) { if (Fluxbox::instance()->mouseScreen() == 0) screen_num = 0; else screen_num = Fluxbox::instance()->mouseScreen()->screenNumber(); } ... display.erase(display.size()-1); display += FbTk::StringUtil::number2String(screen_num); -----
Could we apply a temporary patch?
Reassigning to fluxbox maintainers then. Thanks
*** Bug 350226 has been marked as a duplicate of this bug. ***
http://sourceforge.net/tracker/?func=detail&aid=3136775&group_id=35398&atid=413960 Says that it is fixed now in their version control.
*** Bug 350641 has been marked as a duplicate of this bug. ***
Backported upstream fix from their git commit e8ce9ed3 Tested with a Xephyr multi-screen non-xinerama setup; able to open apps on either :2.0 or :2.1. Please enjoy your new x11-wm/fluxbox-1.1.1-r3
*** Bug 349272 has been marked as a duplicate of this bug. ***