Activating VNC
Hi I'm renting my own vps in an effort to learn as much as I can about running a Linux based web server. It's Fedore Core 4 and I'm very keen to access the graphical desktop of my VPS remotely.
I would like to download tightvnc as a client on my windows laptop. My question is what needs to be done on my vps in order for it to work. I've read some stuff although don't quite understand it. I believe I would set the remote desktop preferences to "allow others to view my desktopp" however then I would need to secure vnc with ssh tunnelling. Can someone help me out abit please. |
secure vnc
assuming you have vnc set up right here is an explanation of what you need to do...
sshvnc or if you understand this...follow it... Edit /etc/sysconfig/vncservers uncomment lines Name server…set port access Su user switch user Vncpasswd user set password for user Vncserver –localhost sets file conditions Vncserver –user starts vncserver Vncserver –kill :2 kills vncstarted Vim /home/.vnc/xstartup edit lines #twm& startkde& firestarter allow port 5901 for lan clients Vncserver –localhost starts up vncserver Chkconfig –level 2345 vncserver on sets startup on vnc Optional Ssh –l ‘computername’ –L 15902:localhost:5904 ‘hostname’ Vncviewer –encoding hextile here are a couple more links http://wssg.berkeley.edu/personal/karl/docs/vnc.html http://faq.gotomyvnc.com/fom-serve/cache/56.html baldur |
all you have to do is make sure vncserver start at boot. If you want X to start when you connect to the server. Uncomment these two lines in /home/userid/.vnc/xstartup
unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc |
Also, when you first startup vncserver on the server it will request you to create a password. This will be your password to connect to your session. Don't forget vncserver session is tied with your user account.
|
All times are GMT -5. The time now is 04:32 PM. |