PDA

View Full Version : Remote Desktop



phopkinson
26th May 2008, 08:50 PM
Hi,

I'm a complete noobie when it comes to linux so be gentle!

I've just got a linux server running fedora from my DC (I usually use Windows 2003 :) ) and I need to know how to set it up so I can remote desktop in it via xp/vista.

The DC have done the basic fedora install and installed X Windows on it so it's just a case of configuring it - but I have no idea where to begin!

Thanks

Paul

grosminet
26th May 2008, 09:01 PM
To access to you server, you must use a utility putty and vnc. The firewall blocked the access for it security
you must create a tunnel ssh and run the viewer in localhost::numberport

phopkinson
26th May 2008, 09:25 PM
ok so I have putty - and I can ssh into the server no problems...

Do I now download something like RealVNC and what do i need to do to get all that working? How does it work on localhost??

grosminet
26th May 2008, 09:59 PM
if you have ssh, it s better than putty because create a tunnel under putty is more difficult to explain
ssh -L 12000:localhost:5901 root@sever
after the coonection
control vncserver is running
service vncserver status
for start
service vncserver start
run command under root ou other user if wanted
attention the user has initialise the ssh
vncserver
that give the port and ask you au password
you run your viewer
enter localhost:12000
password
You have a interface X under twm
If you wanted a other interface , you must change information in X files

phopkinson
27th May 2008, 08:16 AM
if this the one you would use?

http://www.openssh.org/

marcrblevins
27th May 2008, 09:13 AM
Don't forget to open those ports, 5901, 5902, etc depending on how many you need in system-config-firewall. I enter those in 'Other Port' section.

marcrblevins
27th May 2008, 09:18 AM
For me, I use vncserver for Fedora.

For Windows:
I use TightVnc I also use www.ssh.com's Secure Shell program, selected its tunneling option. Use ip address of 127.0.0.1:1 that would be 5901, etc.

grosminet
27th May 2008, 09:30 AM
you have go possibility
open your firewall and use vncviewer directly
or use ssh for open a tunnel and vncviewer on localhost:12000
in ssh
don't forget to control
service vncserver status
error message can see in the console open in ssh
the second solution is better
I never connect a linux system from windows solution for security