LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-06-2005, 12:31 AM   #16
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128

Basically any entry from the command I posted above. If you post your output, I'd be glad to highlight the relevant sections for you.
 
Old 08-06-2005, 08:12 AM   #17
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Code:
cokecan   5726     1  0 Aug04 ?        00:00:05 Xtightvnc :1 -desktop X -auth /home/cokecan/.Xauthority -geometry 1024x768 -depth 24 -rfbwait 120000 -rfbauth /home/cokecan/.vnc/passwd -rfbport 5901 -fp unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/cyrillic,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/CID,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi -co /usr/X11R6/lib/X11/rgb
cokecan   5795     1  1 Aug04 ?        00:38:38 Xtightvnc :2 -desktop X -auth /home/cokecan/.Xauthority -geometry 1024x768 -depth 24 -rfbwait 120000 -rfbauth /home/cokecan/.vnc/passwd -rfbport 5902 -fp unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/cyrillic,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/CID,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi -co /usr/X11R6/lib/X11/rgb
cokecan  11238 11233  0 09:10 pts/9    00:00:00 grep vnc
Code:
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:5901            0.0.0.0:*               LISTEN     5726/Xtightvnc
tcp        0      0 0.0.0.0:5902            0.0.0.0:*               LISTEN     5795/Xtightvnc
tcp        0      0 0.0.0.0:6001            0.0.0.0:*               LISTEN     5726/Xtightvnc
tcp        0      0 0.0.0.0:6002            0.0.0.0:*               LISTEN     5795/Xtightvnc
 
Old 08-06-2005, 12:54 PM   #18
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Ok, so you basically need to make sure you have port forwarding enabled for ports 5901 and/or 5902, then use a VNC client with display :1 or :2.
 
Old 08-06-2005, 03:00 PM   #19
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Matir
Ok, so you basically need to make sure you have port forwarding enabled for ports 5901 and/or 5902, then use a VNC client with display :1 or :2.
I port forwarded those two. I ran my actual IP:**** (port number) in RealVNC Viewer. It times out.
 
Old 08-06-2005, 05:29 PM   #20
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Did you use "*.*.*.*:1" or "*.*.*.*:2"?
 
Old 08-06-2005, 11:04 PM   #21
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
***.***.***.***:5902
 
Old 08-06-2005, 11:18 PM   #22
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Hrrm, have you tried just "IP:2" or "IP:1" in the vncviewer?
 
Old 08-06-2005, 11:18 PM   #23
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Also, can you run the vnc viewer locally on the debian box and get anywhere?
 
Old 08-07-2005, 08:48 AM   #24
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
I ran VNC viewer on the box beside it and I connected to it. I used IP:5902
 
Old 08-07-2005, 01:06 PM   #25
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You were able to connect on your LAN? When outside your LAN, you do use your world-resolvable IP, right?
 
Old 08-07-2005, 04:16 PM   #26
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
I got it to connect using IP:2
 
Old 08-07-2005, 04:16 PM   #27
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Thanks for you help and patience!
 
Old 08-07-2005, 10:26 PM   #28
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
No problems. Many VNC viewers require a display number rather than a port, as is apparently the case here.
 
Old 08-08-2005, 07:06 AM   #29
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Something I noticed yesterday, when I connect to my box from outside, then come home and try to run an application or program, it runs it behind the scenes as if I were still connected from outside. When I run tightvnc I run the command "tightvncserver", but how do I end it without logging off?
 
Old 08-08-2005, 07:31 AM   #30
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
This all depends on what the environment variable "$DISPLAY" is set to. Make sure it's set to ":0".
 
  


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 06:44 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