LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-25-2004, 10:30 AM   #1
watts3000
Member
 
Registered: Jul 2004
Posts: 57

Rep: Reputation: 15
setting up remote desktop


I have a redhat 9.0 box running. I want to be able to remote to the redhat box from my windows xp system. How exactly do I go about setting htis up. I downloaded tightvnc server and installed it on the redhat box. I than installed the windows version of the tight vnc viewer on my xp box but this is not working. When I try to connect I always get failed to connecto server error. Also is tight vnc the right choice for this should I be using some other form of vnc.
 
Old 09-25-2004, 11:06 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
The latest version of RealVNC allow you share the console version of X so that may be what you are looking for.

Possible reasons for it not connecting:
1) vnc isn't listening for connections:
netstat -nlp
2) you have a firewall blocking port 590x:
iptables -nL
 
Old 09-25-2004, 11:21 AM   #3
watts3000
Member
 
Registered: Jul 2004
Posts: 57

Original Poster
Rep: Reputation: 15
I just found the turorial section of the site. I was getting ready to follow this and see what happens
http://www.linuxquestions.org/questi...cle&artid=260. So basically do you think I should go with RealVNC instead?
 
Old 09-25-2004, 11:23 AM   #4
PBSchmidt
Member
 
Registered: Aug 2004
Location: Aachen, Germany
Distribution: Debian Sarge
Posts: 129

Rep: Reputation: 15
Did you specify the proper ports? Is the vncserver running?

You may either set up tightvnc as a userland app to start it ad lib (useful if you putty in and start the vnc only when needed).

Another way to run vncserver is from inside inetd, that's what I do.

I added to /etc/services:
Code:
vnc640          5950/tcp                        # VNC Server 640x480
vnc800          5951/tcp                        # VNC Server 800x600
vnc1024-8       5952/tcp                        # VNC Server 1024x768 8 bit
vnc1024         5953/tcp                        # VNC Server 1024x768 16 bit
and to inetd.conf:
Code:
vnc640  stream  tcp     nowait  nobody  /usr/bin/Xvnc Xvnc -inetd -query localhost -once -geometry 640x480 -depth 16
vnc800  stream  tcp     nowait  nobody  /usr/bin/Xvnc Xvnc -inetd -query localhost -once -geometry 800x600 -depth 16
vnc1024-8       stream  tcp     nowait  nobody  /usr/bin/Xvnc Xvnc -inetd -query localhost -once -geometry 1024x768 -depth 8
vnc1024 stream  tcp     nowait  nobody  /usr/bin/Xvnc Xvnc -inetd -query localhost -once -geometry 1024x768 -depth 16
Remember to update hosts.allow to keep unwanted users out

HTH, Peter
 
Old 09-25-2004, 11:29 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Quote:
Originally posted by watts3000
So basically do you think I should go with RealVNC instead?
RealVNC does have a few nice features that haven't made it into other versions yet but there isn't much difference.
 
  


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
Remote desktop software to control desktop GUI? Phaethar Linux - Software 3 06-27-2008 09:30 AM
Setting Up a Remote Desktop Server Abnoba12 Linux - Newbie 3 08-03-2006 10:05 AM
Loss of desktop functionality after setting new desktop from firefox in fc2/gnome. dr_zayus69 Linux - Software 3 03-09-2005 09:29 AM
Setting up to do remote desktop to my Suse box from Winxp LoungeLizard Linux - Software 0 09-01-2004 10:29 AM
Setting up a Remote Desktop Connection over Dial-up? Huezo Linux - Networking 1 01-30-2004 01:48 PM


All times are GMT -5. The time now is 05:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration