Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-19-2006, 07:53 PM   #1
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Rep: Reputation: 15
Remote Access


At work i have desktop with CentOS 4.2 installed. I want to access this remotely from a laptop at home or at work. I can SSH to it however i don't just want to access the console but also the graphical interface.

The laptop is running windows. If i try to use Remote Desktop Connection it gives me an error saying that the machine you are trying to access may not have remote connections enabled. What am i supposed to configure on the Linux box in order to use RDC from the laptop. Is there another way to do it? I've also noticed that i can't telnet to it?

Alternatively, i can access my laptop using rdesktop from the Linux box. I would like to be able to do the same from the laptop. Any ideas?

Old 05-19-2006, 07:58 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
The problem is that the windows box doesn't have an x-server. So you could install Cygwin (which includes an x server) and then run your x apps over ssh. Try googling for "x over ssh cygwin". I never had much luck with that one.

The other thing you can do is install a vnc server on the linux box and then use a vnc client on the windows box to connect. Not sure if you can do this over ssh for security or not. I just use it on my home LAN so the vnc service isn't available to the outside world because of my firewall.
Old 05-19-2006, 08:16 PM   #3
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
FreeNX is a good option.
Old 05-19-2006, 08:20 PM   #4
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Original Poster
Rep: Reputation: 15
Hmmm...i'll try googling on that. Thanks!

I did install the VNC Server on the linux box as part of installation of Network Servers. Is that good enough? I see in system servics that the vnc-server is running. I tried using TightVNC on windows to connect but it didn't connect. Right now both the laptop and the Linux box are in the office. I don't know what the problem is.

I'll try the first option though. Any other thoughts?
Old 05-19-2006, 11:21 PM   #5
Registered: Mar 2004
Location: MA, USA
Distribution: OpenSuse 10, FC4/5, Mepis
Posts: 95

Rep: Reputation: 15
Hi there,
once you get the vnc working on the local machine (youve tried turning on remote desktop and connecting to the ipaddress:5901 ?), its not to hard to get the vnc working over the ssh. i found and used putty, in there you can setup ssh tunnels. you tunnel port 5901 (or whatever port you know your vnc is listening on in your local lan) . then you connect to your own machine or loopback ( not sure what other ssh clients work like but i found putty easy enough not to need directions with some playing with.


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 Access Help mengsk Linux - Networking 4 01-25-2006 10:30 PM
remote access slack66 Slackware 1 10-26-2005 12:07 PM
remote access linuxmandrake Linux - Software 1 09-27-2005 05:27 PM
remote access balajee Linux - Security 2 05-25-2005 12:30 AM
Remote Access canuck_barlow Linux - Newbie 6 03-23-2005 12:29 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:19 AM.

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