Quote:
Originally Posted by Dinithion
In between SSH and vnc, there is XDMCP. That could also be something for you to check out. I don't know what distro you are using, but XDMCP is included in at least XDM, GDM and KDM. It can be a little harder to set up, but in the end, it is probably the easiest to use (Once installed).
|
XDMCP is easy to set up, I use it all the time - but it really only is workable if you are close on the network to the other machine (IE same lan)
This a CentOS system running Gnome so hopefully it isn't too different on your distro.
To enable it on the host you want to log into -
In the gnome menus (typically left side of top gnome panel) navigate the menus:
System -> Administration -> Login Screen
That starts the gui tool for gdm
Click on the remote tab.
Change the style from "Remote login disabled" to whatever greeter scheme you want - I choose "Same as Local" (and have different gdm greeters for my different hosts).
That machine now allows remote gui login via xdmcp
On the machine you want to connect from - first make sure that xdmcp login is shown in its greeter.
System -> Administration -> Login Screen
In the "Local" tab - check the box for "Include Hostname Chooser"
I typically run two instances of X.
Edit /etc/gdm/custom.conf
Near the bottom of the file you'll see:
add these lines under it:
Code:
[servers]
0=Standard
1=Standard
Reboot.
ctrl-alt-f7 will be one gui login
ctrl-alt-f8 will be second gui login - which you can use to login to the other host via xdmcp. Choose xdmcp in that login screen, and will scan your subnet for xdmcp servers. If you are not on same subnet, you can enter the ip/hostname manually.
Select the xdmcp server - and it will grab the login screen for that host.
To work locally - ctrl-alt-f7
To work remotely - ctrl-alt-f8
It's like a kvm over a network switch built into X11
Note that anything that requires DRI will not work remotely, since the video card on the remote host is not attached to the display you are using.
Hope this helps, and hopefully RH/Fedora aren't too different from whatever distro you are using.
If you are *not* on same subnet, then I recommend working in the cli or if you must use gui, tunnel x through ssh for just the app you need.