LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2004, 11:10 PM   #1
rasgward
Member
 
Registered: May 2004
Location: Virginia
Distribution: ubuntu
Posts: 31

Rep: Reputation: 15
Step by step VNC over internet please...


Hi,
So, I searched threads for the answer I need but to no avail, although I am sure it is probably out there. I am trying to connect to my linux mandrake 10.0 machine from a remote location using the internet.
I have VNC on my machine. I just don't know what to do. Can someone please give me exact directions on how to do this. I think my address may be 216.12.23.231 but I'm not sure. How do I find out? Thanks. Alrighty. -Greg
 
Old 11-01-2004, 11:39 PM   #2
robert644
Member
 
Registered: Aug 2004
Location: internet
Distribution: slackware
Posts: 126

Rep: Reputation: 15
ifconfig -a

will show the ip address of your machine, this won't do you much good if you have a router inbetween your machine and the internet though, as the router will assign your machine a local network address. In this case you will need to setup port forwarding on the router so as to make things work.

also, you are going to need a vnc server on your remote machine, and a vnc client on the local machine. Which VNC implementation are you using ?
 
Old 11-02-2004, 05:42 AM   #3
rasgward
Member
 
Registered: May 2004
Location: Virginia
Distribution: ubuntu
Posts: 31

Original Poster
Rep: Reputation: 15
I will use VNC

Hi,
Thanks for reply. I will use the virtual network controller that comes with mandrake. Oh, so I need to have another vnc? On the other machine? I thought I could access it through the internet. Is that only with apache? or such...-Greg
 
Old 11-02-2004, 07:06 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you need a client to connect to the remote vnc server.. how else do you expect to see the screen?

actually, some vnc servers also export a java connection on port 5900, which means you can access it from a web browser.
 
Old 11-02-2004, 11:19 AM   #5
marcheikens
Member
 
Registered: Aug 2003
Location: Cleveland, OH
Distribution: Ubuntu 6.06
Posts: 66

Rep: Reputation: 15
If you're running a computer that has ssh capabilities away from home, this is easy:

1. ssh -l <yourusername> -L 5801:127.0.0.1:5801 -L 5901:127.0.0.1:5901 <yourserveraddress>
2. Make sure the home machine is running a vncserver
3. Start a vnc server locally.
4. Run a vnc viewer program that connects to your LOCAL machine (127.0.0.1) and use the password specified on the server at your home.

You can find all the programs you'd need in various OSes at http://www.realvnc.com

This works for me from work in Mac OS X 10.3. Not sure about using Windows, but I'd bet you could do it with puTTY too. Anyone?

Edit: The reason I use ssh here is that it tunnels your connection through ssh, making it a secure connection. No eavesdropping. If you didn't want to do it this way, you could probably just get a viewer for the away-from-home computer and connect directly to home. This isn't secure, and passwords etc. will be sent in the open if I'm not mistaken.

Last edited by marcheikens; 11-02-2004 at 11:24 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Step by Step guied for Installation pent@net Dvb card under linux mobassir Linux - Networking 4 06-07-2006 07:31 PM
I need a step by step help to instal Suse 9.3 Pro on the same hdd as XP Home & 2003 suse91pro Linux - General 4 09-07-2005 01:15 PM
Step by step guide to setting up the internet using Ubuntu. chazyd Linux - Networking 2 04-24-2005 01:48 PM
Step-by-Step: Making integrated Broadcome wireless adapter work with Mandrake 9.2 jmp875 Linux - Wireless Networking 16 06-30-2004 12:50 AM
step-by-step VNC implementation mattlegere Red Hat 3 01-31-2004 10:11 PM


All times are GMT -5. The time now is 08:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration