Home » ssh hosting » Currently Reading:

Linux HOWTO #2: Access your desktop remotely using VNC/SSH

January 16, 2010 ssh hosting 12 Comments

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


Technorati Tags: , , , , , , , , , , , , , , , , ,

Currently there are "12 comments" on this Article:

  1. aalan2703 says:

    great video dude!!!
    great video dude!!!

  2. Ezcut says:

    lol pwnd
    lol pwnd

  3. mkblair7 says:

    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!

  4. Maltik92 says:

    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.

  5. d72187 says:

    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!

  6. perdlo says:

    Great how to video. …
    Great how to video. Clear and to the point.

  7. tanstaafl72555 says:

    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

  8. marinestu says:

    What a great video …
    What a great video very clear and easy to follow. Thanks

  9. Ignofibininious says:

    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.

  10. emiemi2 says:

    I added the list in …
    I added the list in the video description on the right, hope it helps.

  11. Sawta says:

    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.

  12. SemperHacker says:

    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.

Comment on this Article:







Related Articles:

I’m looking for shared Linux hosting where I set a crontab to run once a minute (every minute of every day)?

April 30, 2010

…and has the ability to run the "curl" command from crontab. I keep running into 15-30 minute cron job minimums. Do I need to go dedicated? Hopefully, someone out there has an affordable solution. (and a link)

http://domain-hosting.veerit.com/hosting.php
U cn set Crobjobs and other things. Reliable and Unlimited Hosting

Technorati Tags: Affordable Solution, Cn, Cron Job, Crontab, Domain [...]

Help needed with CRONTAB on linux shared hosting. How do I access the CRONTAB?

April 23, 2010

I have a job that needs to run on a daily basis. My server is a shared hosting server which means I cannot see any files other than my own. I have various CGI scripts running within my own area of the server.
To edit the CRONTAB I need to know how to access it. Where [...]

How Do I Write Script for HTTP to HTTPS Redirect on Godaddy Shared Linux Hosting?

April 21, 2010

Godaddy tech support stated I needed to find a HTTPS redirect script to enable HTTPS on my domain where I have an SSL certificate. I have no idea how to write this script for my .htaccess file? Any suggestions or ideas? I searched in Google but did not find much of anything relevant and helpful. [...]

CHEAP WEB HOSTING PROVIDERS – February 2009?

April 21, 2010

CHEAP WEB HOSTING PROVIDERS – February 2009
http://proxyusa.cn/top-100-hosting-domain.html
http://proxyusa.cn/top-100-hosting-domain.html
http://proxyusa.cn/top-100-hosting-domain.html
http://proxyusa.cn/top-100-hosting-domain.html
http://proxyusa.cn/top-100-hosting-domain.html
If by cheap you mean under $5/month then a list is available at http://hostingscorecard.com/SharedSu5-1…. there is a list of 17 windows and linux hosts that cost under $5/month.
The site rates hosting providers based on a minimum of 1300 user review/opinions over the last 6 months.

Technorati Tags: cheap hosting, [...]

Shared hosting or Dedicated hosting (which is more common?)?

April 20, 2010

I offer shared web hosting with packages that range from free to unlimited for less then $5. To me that seems like a great deal to host a website but I am wondering how many people use dedicated servers or virtual private servers instead and pay anywhere from $20 to $150.
Do you pay more then [...]

Search This Site

Switch to our mobile site