Enabling the VNC server on Fedora Core 9 is not a very straight-forward process.
Here are the steps that I took to enable the VNC server.
1. install vncserver
2. modify /etc/sysconfig/vncservers
------VNCSERVERS="1:username"
------VNCSERVERARGS[1]="-geometry 1200x800"
3. logon as username
4. run vncpasswd
$ vncpasswd
Password:
Verify:
5. logon as root
6. Start the VNCServer
/sbin/service vncserver start
7. Allow X display
modify /home/username/.vnc/xstartup and uncomment the following two lines
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
$ vi ~/.vnc/xstartup
#!/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 &
8. service vncserver restart
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment