• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

X runs over vnc for one of my servers but not the other...

What packages need to be installed/enabled in order for me to get the GUI desktop over VNC. These are RHEL 3 and Fedora Core 2 respectively. I use the RHEL for production and the other for development.
1 Solution
Edit ~/.vnc/xstartup

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER    #<=== uncomment this line
exec /etc/X11/xinit/xinitrc      #<=== uncomment this line

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnone-session &   #<=== change from "twm &" to "gnome-session &"or "startkde &"
Then restart vncserver.
smetterdAuthor Commented:
Perfecto! Thanks so much.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now