Remoting in

Discuss Applications
Post Reply
moto526
scripter
scripter
Posts: 99
Joined: Tue Jun 13, 2006 11:59 pm
Location: California
Contact:

Remoting in

Post by moto526 » Sat Jul 01, 2006 9:16 pm

How do I remote in to my machines with Linux???

Is it easy or not?

User avatar
Void Main
Site Admin
Site Admin
Posts: 5716
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA
Contact:

Post by Void Main » Sat Jul 01, 2006 10:04 pm

It all depends on what you mean by "remote in". There are boatloads of ways and of course since I am a shell kind of guy I use "ssh" to "remote in". I somehow suspect you are referring to a way of taking over a graphical desktop though, am I right? :) There are actually several ways to do this as well.

If you are on your Fedora machine you can click the "System"->"Preferences"->"Remote Desktop". This is a "per user" remote desktop and you would use a vnc client (vncviewer) to connect to the logged on user's desktop.

In extreme rare cases I have wanted to connect to a graphical desktop on one of my home machines from work. I have ways of connecting to my home machines via "ssh" (remote secure shell if you will) and from there I fired up a vncserver session and then connect to it with vncviewer, all through an ssh tunnel which is very secure and gets around blocked ports. Of course you don't have to do it through an ssh tunnel. Basically, if you have the vnc and vnc-server packages installed it's as simple as starting a vncserver session and telling it which display to use:

Code: Select all

$ vncserver :1
The first time you run it you'll want to set a VNC password:

Code: Select all

$ vncpassword
Then on the client machine connect to your vncserver:

Code: Select all

$ vncviewer yourhost:1
You can also use your web browser to remote control your host if a VNC server is running:

In the above example just point your browser to:
http://yourhost:5801/

The vnc-server package on Fedora also sets up a service that can be configured to automatically start vncservers for selected users on bootup.

See the man pages:

$ man vncserver
$ man vncviewer
$ man vncpasswd
$ man vncconfig
$ man Xvnc
$ man x0vncserver

You can also turn vnc on right in your X configuration (:0) so you can get the graphical logon and logon as any user:

http://www.realvnc.com/products/free/4.1/x0.html

There are a lot more ways as I said but I *think* those are probably closest to what I imagine you are asking for. Some other ways are "telnet", "webmin", or just use the built-in way in X (XDMCP). Here's an old document I wrote on that one:

http://voidmain.is-a-geek.net/redhat/fe ... erver.html

Of course XDMCP isn't the most secure, using vnc over an SSH tunnel would be the most secure.

moto526
scripter
scripter
Posts: 99
Joined: Tue Jun 13, 2006 11:59 pm
Location: California
Contact:

Post by moto526 » Sun Jul 02, 2006 11:15 am

Yep, I wanted to remote into my desktop in a gui so thanks for the info. now I'll try them out.

Post Reply