fluxbox couldn't connect to XServer - CentOS 6.4
NickName:tanager Ask DateTime:2013-11-07T05:32:24

fluxbox couldn't connect to XServer - CentOS 6.4

I'm setting up some new VNC servers. I already have this setup working with CentOS 6.3, although I'm not certain that this difference is the real problem.

One of the window managers I'm making available is fluxbox, but when I start it, I always get the following: Error: Couldn't connect to XServer. Here's my setup:

fluxbox: fluxbox-1.1.1-5.el6.x86_64
vnc    : tigervnc-server-1.1.0-5.el6_4.1.x86_64
OS     : CentOS 6.4

Note that I can start other window managers: Gnome, KDE, openbox, xfce4, etc.

I gutted my ~/.vnc/xstartup script so it only loads an xterm. Then, I tried running startfluxbox &, but still got the error. Obviously, VNC is working, since my xterm opened up OK. I can start firefox, another xterm or other app requiring X, and even fluxbox comes up, but it is worthless in its current state, since it is not connected to the X session.

What is fluxbox looking for? Are there some log files I can look at to give me some clues?

Thanks, David

Copyright Notice:Content Author:「tanager」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/19823262/fluxbox-couldnt-connect-to-xserver-centos-6-4

Answers
Eric N. 2014-01-09T18:24:43

CentOS/RHEL 6.4 and up have upgraded libX11 and Xorg.\n\nThe $DISPLAY var handling has changed in libX11.\n\nThis one in particular is described in this git commit:\n\nhttp://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=f92e754297ec5fdb81068b56a4435026666224fa\n\nwe run our fluxbox with this script in our vnc configs now:\n\n/usr/bin/fluxbox -display \"$DISPLAY.0\"\n",


More about “fluxbox couldn't connect to XServer - CentOS 6.4” related questions

fluxbox couldn't connect to XServer - CentOS 6.4

I'm setting up some new VNC servers. I already have this setup working with CentOS 6.3, although I'm not certain that this difference is the real problem. One of the window managers I'm making

Show Detail

Fluxbox closing as soon as is opened on LXDE

I'm unable to get fluxbox working together with LXDE, I configured fluxbox to be its window manager, but fluxbox closes as soon as its launched (I can see fluxbox environment for a second) and LXDE...

Show Detail

Fluxbox compiling problems after making a change

I'm trying to make the change here: http://fluxbox-wiki.org/index.php?title=Howto_Make_dblclick_titlebar_maximize I am using the current git version of the fluxbox source. I assume that those

Show Detail

Fluxbox xonfig permanen box

I am using ubuntu 12.04 with fluxbox. I want to create a permanent box at the top of the screen about 20px width to display my conky information. Fullscreen windows should stick below this bar. W...

Show Detail

understanding X keyboard mappings, audio keys and fluxbox

So, I'm trying to set up fluxbox to work with my Dell keyboard which has a bunch of extra keys on it for web browsing and audio control. I did this in my .fluxbox/keys file, and it's mostly workin...

Show Detail

noVNC customised HTML with Jmeter - custom local scaling in settings and hiding fluxbox toolbar

I tried customising noVNC html to better scale the workspace to hide grey area(toolbar) of fluxbox, I was successful in that as you can see in below image. and default screen is smaller than this ...

Show Detail

bash: how get xsel -o to paste to focused window if command invoked by hotkey in fluxbox

The trackpad on my laptop will not middle-mouse paste. I figured it should be easy to simulate, just focus the target app and invoke 'xsel -o' with a hotkey from fluxbox. But it won't work, that ...

Show Detail

error: Couldn't materialize struct: Couldn't read eax

For debugging on iOS simulator, I used to be able to read out $eax register and get the error message. However, I don't know if it's the new XCode version 4.6 and iOS 6.1, I can't do that any more. (

Show Detail

Couldn't import SystemEventsApplication

Try use this part part code -(IBAction)goAway:(id)sender{ SystemEventsApplication *systemEvents = [SBApplication applicationWithBundleIdentifier:@"com.apple.systemevents"]; [systemEvents ...

Show Detail

Couldn't restore frame crash in Qt

I currently have an application that has four QNetworkAccessManagers being called at four different times on recurring timers. When it is time to post/read again with the manager I call: Example:

Show Detail