LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Fluxbox not starting in VNC session (http://www.linuxquestions.org/questions/linux-desktop-74/fluxbox-not-starting-in-vnc-session-577609/)

rh_bomani 08-16-2007 02:23 PM

Fluxbox not starting in VNC session
 
Hello,

I'm running Linux Network Security Toolkit v 1.5. It's uses Fedora Core 5 kernel.
When I start a VNC session from NST WUI no desktop is displayed. All I get is a black screen w/ big X for my cursor. I'm fortunate to have another NST box to compare settings and I believe it's an issue w/ Fluxbox and/or X.
My fluxbox.log ends with "Error: Couldn't connect to XServer" and my .xsessions-error file contains

"Warning: Failed to open file(/usr/share/fluxbox/nls/en_US/fluxbox.cat)
for translation, using default messages.
Logging to: /root/fluxbox.log
Xlib: connection to ":6.0" refused by server
Xlib: No protocol specified"

I have compared both .fluxbox directories and they contain the same files. No changes have been made on my part.

I'm running NST v1.5.0 on P4 3GHz machine w/ 1Gb of ram. This box is being used only for Snort.

Thank in advance,

rh_bomani

P.S. I have taken a look at a similiar thread http://sourceforge.net/forum/message.php?msg_id=3744677 but our causes are dissimilar.

bathory 08-17-2007 09:01 AM

You have to edit ~/.vnc/xstartup and add the following as the last line:
Code:

/path/to/fluxbox &

rh_bomani 08-17-2007 09:43 AM

The issue is now resolved. I took a look at both startup logs in VNC Session Manager and noticed that .Xauthority was not being recreated on the broken machine. I simply deleted the old .Xauthority and restarted VNC. Here is a copy of the startup logs.


Running /usr/bin/xauth in preparation for Xvnc...
/usr/bin/xauth -v -f /root/.Xauthority add probe-34:6 . 90566e96f4cbb65a
/usr/bin/xauth: creating new authority file /root/.Xauthority
/usr/bin/xauth: (argv):1: bad display name "probe-34:6" in "add" command
Using authority file /root/.Xauthority

[Error]
Running /usr/bin/xauth in preparation for Xvnc...
/usr/bin/xauth -v -f /root/.Xauthority add probe-35:6 . 24dc416ba60662f6
/usr/bin/xauth: (argv):1: bad display name "probe-35:6" in "add" command
Using authority file /root/.Xauthority

Thanks for your help.
Hope this helps someone else.


All times are GMT -5. The time now is 09:30 PM.