Contents
Why do I need XDMCP to start a remote X session over?
Instead, you’re effectively trying to remote-start a GNOME session on the tty8 virtual console of the remote host, for whoever happens to sit at that computer. Instead, you would want to first set up SSH keys so that you can run commands on your remote host on your own account without prompts for a password or SSH key passphrase.
How to start a remote session with Xnest?
On your Linux/Ubuntu/Mint Desktop, open a terminal and install xnest: Xnest is both an X11 server and X11 client. There is a lot written about it, so again, google is your friend if you want more information. Once insalled, create a new script called remote_session.sh, make it executable and edit it:
How to start a remote X session over SSH?
So, putting two and two together, I should be able to start a remote session over the SSH connection by typing the following command after logging in to the remote machine with SSH, right?: But no, it doesn’t work! I get the following error: X: user not authorized to run the X server, aborting.
What do I need to configure X11 server?
Additionally, you will need to use Xlaunch which will ask you to configure your X11 server. Select the One Large Window option when prompted. Most of the options that XLaunch presents can be clicked through without modification, just ensure you choose ‘One Large Window’.
How to use X display manager with XDMCP?
This HOWTO describes how you can use the combination of X Display Manager (xdm, kdm and gdm) and XDMCP (X Display Manager Control Protocol) to provide a solution for the X-Terminal and to provide a platform of efficient Remote X Apps environment. This document will takes the focus on how to setup the X connection using XDMCP. 1. Introduction
How to configure remote XDMCP in RHEL6?
[Potential Pitfall]: RHEL6 users may find that the remote X-server has a blank screen when trying to start a remote XDMCP desktop. This may require a change to the default sshd configuration. Edit file: /etc/ssh/sshd_configbe sure the following three lines are uncommented:
Which is port does XFS server use for XDMCP?
(Note: XDMCP uses TCP, UDP port 177 and TCP port 6000 to 6005. xfs server is using port 7100 in our setup). You should be able to use the iptables in the similar way. (Check for iptables references at the Resources area or this setup example). For more firewall details, check the IP Masquerade HOWTO page.