Thursday, October 10, 2013

centos5 blank vncserver

ref: http://www.linuxquestions.org/questions/linux-general-1/vnc-and-gnome-6638/page2.html

solution: unvomment two lines as commented on ~/.vnc/xstartup

Talking

Hope this helps...

I've got Fedora Core 2 and the VNC package that comes with it, After several tests I've managed to use VNC on my WinXP PC to use my Linux System.

This is my xvncstart:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

It works just fine. 

No comments:

Related Posts Plugin for WordPress, Blogger...