LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-04-2005, 10:37 AM   #1
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Rep: Reputation: 15
Remote from Windows to Debian


How can I remote desktop form a Windows machine to my Debian machine? I want to use a GUI if possible. Also, I will mostly be connecting through school, on a public computer. Is there a program like RealVNC? My network is behind a NetGear router, do I need to configure my router for particular port use? What IP address do I use when connecting? Isn't 192.168.xxx.xxx kind of a generic IP address behind an actual IP address?
 
Old 08-04-2005, 11:11 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
192.168.X.Y is a private IP address. You'l need to port forward a port for vnc through your router and then use your "real" IP address. On your debian machine, install the vnc server (I like tightvnc myself) and then you can connect to it using any vnc client.
 
Old 08-04-2005, 12:47 PM   #3
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Is it apt-get install tightvnc?
 
Old 08-04-2005, 01:02 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Try 'apt-get install vncserver'.
 
Old 08-04-2005, 01:12 PM   #5
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
I did apt-get install tightvncserver

How do I find my real IP?

I freed up a port on my router, now how do I connect?

xxx.xxx.xxx.xxx:*port number"?
 
Old 08-04-2005, 01:14 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Did you forward it to the proper vnc port on your Debian box? You can find your ip from whatismyip.com.
 
Old 08-04-2005, 01:26 PM   #7
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
I port forward my actual IP to the port, not my private IP?


How do I know the proper port?
 
Old 08-04-2005, 01:29 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
The port is 5900+the display number of the vnc server. For my system, since I have two real X displays, this would be 5902. Most likely, yours will be 5901.
 
Old 08-04-2005, 02:03 PM   #9
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
You need to port forward to your local IP address (e.g. 192.168.0.15).

You only need your "real" IP when connecting to your server from the outside. This IP will route your connection from the public computer to your router. Your router forwards the packets to your server based on the port being used.
 
Old 08-04-2005, 02:05 PM   #10
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Thank you guys! I got it!
 
Old 08-05-2005, 10:10 AM   #11
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Ok, so I tried connecting outside of my home network, and I keep getting a timed out error. What could be the problem?
 
Old 08-05-2005, 11:35 AM   #12
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You portforwarded the proper port on the router?
vncserver is running? (ps -ef | grep vnc)

Make sure vncserver is on the expected port (netstat -nlp --inet | grep vnc)
 
Old 08-05-2005, 10:37 PM   #13
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Matir
You portforwarded the proper port on the router?
vncserver is running? (ps -ef | grep vnc)

Make sure vncserver is on the expected port (netstat -nlp --inet | grep vnc)
Explain what you are asking me to do, I see the results, but I don't understand what they mean.
 
Old 08-05-2005, 11:00 PM   #14
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Make sure xnvc/vncserver is listening, and confirm that the port it is listening on is the one you forwarded. Also make sure your firewall is not blocking requests.
 
Old 08-05-2005, 11:40 PM   #15
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Matir
Make sure xnvc/vncserver is listening, and confirm that the port it is listening on is the one you forwarded. Also make sure your firewall is not blocking requests.
I'm beginning to feel completely stupid. But what am I looking for to know that these two are listening?
 
  


Reply



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
how do I remote control debian kde from windows? critical Linux - Software 2 08-25-2005 02:45 AM
Run Debian From Remote/Networked Hard Drive? firefly2442 Debian 1 07-23-2004 04:35 PM
DHCP doesn't seem to work on remote Debian install adrian11 Linux - Networking 0 07-05-2004 05:20 PM
Command to start remote KDE session on Debian The_Fed Linux - Newbie 1 04-19-2004 04:31 PM
Remote X-Windows ShockTherapy Linux - Newbie 2 11-17-2003 07:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:14 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
Open Source Consulting | Domain Registration