Linux HOWTO #2: Access your desktop remotely using VNC/SSH
LINUX HOWTO 2nd installment (Errata: see below)
This is the second installment in a new series called Linux HOWTOS. Every week I will post a video explaining how to accomplish something using a GNU/Linux operating system. Please write requests for installments in the comments!
Have you ever wished you could access your desktop from another computer over the internet? There are many proprietary programs that allow you to do this, but Linux has all the tools you need to accomplish this securely, effectively, and for free. All you need is SSH (included in most Linux distros) and a VNC server. This video explains how to install and configure the software so you can access your desktop from anywhere, even on a windows PC (use PUTTY: http://www.chiark.greenend.org.uk/~sgtatham/putty/ and TightVNC http://www.tightvnc.com )
If you have any questions, please ask in the comment field, and I or someone else will do our best to answer. Please avoid ‘RTFM’-style answers. They are not welcome. Also please post corrections if I mistakenly give some wrong information.
Network configuration can be tricky and I certainly didn’t have time in the video to consider different networking hardware setups. If you try VNC over SSH and have some problems, feel free to leave a question in the comments.
***Errata***
./vncinstall must be run as a root user:
$ pwd
/usr/src/tightvnc-1.3.9/vnc_unixsrc
$ su root
Password: *******
# ./vncinstall /usr/local/bin /usr/local/man
************
There was a request to see a list of the commands used in this video, so here they are:
(install vnc)
cd /usr/src/tightvnc-1.3.9
tar -xjf *bz2
cd vnc*
xmkmf
make World
cd Xvnc
./configure
make
cd ..
su
./vncinstall /usr/local/bin /usr/local/man
vncpasswd
(start ssh)
service sshd start (may be different on your distro)
exit
ssh -L 10101:ip-or-host:590? -p port# ip-or-host
vncserver
(same ? as previous line)
(new terminal)
vncviewer localhost::10101
———————–
This video was created using only free and open source software tools: TightVNC, pyvnc2swf, ardour2, audacity, jackd, LAME, mjpegtools, and ffmpeg.
Duration : 0:10:42


great video dude!!!
great video dude!!!
lol pwnd
lol pwnd
Great video, I’m a …
Great video, I’m a PC repair person (CompTIA A+ Certified IT Technician). Obviously I repair Windows machines. However, I also have been learning GNU/Linux (Ubuntu), I dual-boot with Windows and also run it in VirtualBox on the Vista partition, so now I also advertise that I repair Linux machines. I am starting school for Linux Network Administration in August, at which time I will also learn shell, perl,etc. My point: Watching your vid and your use of the shell makes me feel like a noob!
I am trying to do …
I am trying to do this on my Windows XP Prof sp3 computer as server and school computer as client… how do I do this… I searched and wanted to find a video but no hits.
ok. i have setup …
ok. i have setup VNC & SSH.
I can setup my SSH session, when i type in vncviewer * I get error:
X connection to localhost:13.0 broken (explicit kill or server shutdown).
Is this something wrong with my server setup? Or my Putty setup?
i have followed your video to the T. However, i cannot get vncviewer to open from SSH.
I can use seperate software on my PC, vncviewer. And it works just fine.
I am connecting to Linux machine (pclinuxos) from Vista
any help would be awesome. Great Video!
Great how to video. …
Great how to video. Clear and to the point.
Thank you for this …
Thank you for this well done, instructive and easy to follow vid.
I have been using linux for about 3 years now, but am really a noobie as far as many activities go. This was extremely helpful
What a great video …
What a great video very clear and easy to follow. Thanks
Great vid
…but …
Great vid
…but one small note…it’s pronounced like this. ooboontoo. I know this without a doubt, as that is the way Mark Shuttleworth, the head guy at canonical(makers of ubuntu) pronounces it in videos of interviews.
I added the list in …
I added the list in the video description on the right, hope it helps.
Might want to …
Might want to consider putting in a list of all of the commands that were entered, so users can reference it while doing this on their own.
Heh heh heh Great …
Heh heh heh Great tutorial 5 stars.
I love opensource software. For the same reason I love what “Stealing” music using the internet has done for the music industry. It makes record companies, music artists and in this case Software manufacturers produce work comprised of more quality. Times are changing brother.