LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Getting VNC to run with Gnome (https://www.linuxquestions.org/questions/linux-software-2/getting-vnc-to-run-with-gnome-69455/)

Dark_Helmet 07-02-2003 12:10 AM

Getting VNC to run with Gnome
 
I was hoping someone could tell me how to get Gnome running in a VNC server. I've edited ~/.vnc/.xstartup to try and get it to work. I've tried invoking gnome-session by itself, and I've also tried 'exec gnome-session'. Regardless of the line, when I connect to the vnc server, all I get is the standard grey background and the big X for a cursor. It's really starting to bug me... :)

Any ideas (or answers) would be greatly appreciated. Thanks.

Dark_Helmet 07-02-2003 12:15 AM

Hmmm... maybe I ought to look at log files before posting. It says I "already have a session manager running". So, I guess I need to read some more about Gnome, but feel free to step in anytime if you've don all this before.

Dark_Helmet 07-02-2003 12:30 AM

I found the answer to the problem thanks to an archived thread already here.

Change the ~/.vnc/xstartup file to contain the following:

Code:

#!/bin/sh
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

That works for Red Hat and was provided by azornoz. Don't you moderators just love seeing self-answering threads? Especially when I should have looked in the archive before asking... :)


All times are GMT -5. The time now is 04:32 AM.