PDA

View Full Version : logging in from on PC into other


philippjosefric
2005-07-20, 12:42 PM CDT
I would like to log in from a PC with FC4 via network into a PC with FC3.

logging in with "ssh 192.168.1.10" does work, but with that method I can only run
comandline-Aplications.

How can I log into the other PC to use his X?

Thanks
Philipp

jtang613
2005-07-20, 12:46 PM CDT
You're looking for VNC. It's included with Fedora. There are some good howto's out there.

FreeNX is another alternative. Although its a little more difficult to install and configure.

m2c,
Jason

Flatron
2005-07-21, 05:44 AM CDT
In the KDE Control panel, you can add invitation on the "Network, Internet/ Desktop-share" panel, and you can access it with Krdc in the "k-menu/Internet", or simply rum krdc.

smfinley
2005-07-21, 06:21 AM CDT
"ssh -Y you@yoursite.org" or "ssh -Y you@your_IP_address" enables trusted X11 forwarding.

kg4cbk
2005-07-21, 02:17 PM CDT
Use smfinley's suggestion. X11 forwarding will allow you to run GUI based applications on the remote system but have the display sent to your local machine.

I have found this works better than VNC in some cases.

For example, after connecting to the remote system using ssh -Y ipaddress

you will have a command prompt. Run the command:

xclock &

This will start the xclock program which is running on the remote system but the display is on your local box. (the & is just to kick the program into the background so you get the command prompt back which allows you to run other programs)

You can do the same thing with commands like:

system-config-network
evolution
mozilla

and others.

One benefit of using ssh for this is that everything is encrypted. vnc will pass everything in clear text including your password. You can tunnel vnc over ssh easily. Ask if you want help with that.

chili555
2005-07-21, 03:27 PM CDT
And it works even if X is not running (!!!) on the remote machine. I run two machines in runlevel 3 doing folding@home 24/7. This technique is especially useful to run things like system-config-services.

kg4cbk
2005-07-21, 03:56 PM CDT
Plus you don't have to open any additional ports besides the one for ssh.

:)