XDMCP : Connecting to a remote X server from another linux system using GDM.

The key things to know before following the steps:

  • Remotely connecting to a remote X server is not secure. Try this only at you home and local systems.
  • This can be made secure by using SSH Tunneling but , to make this post simple and clear, I am not covering it here.
The below steps is for Fedora only. The sets may vary if you are using different Linux Distribution or Using KDM instead of GDM. You can ask steps for other distribution by selecting "Ask your Doubt" Menu at the top.

Steps to be followed are as follow to configure "server":
  1. Enabling XDMCP in GDM
  2. Configure firewall
Enabling XDCMP in GDM:
  1. Open terminal.
  2. Type : sudo nautilus
  3. Browse to /etc/gdm folder
  4. Open Custom.conf file.
  5. Under [XDMCP] type
            Enable=true
            Port=177


      6. Save the file.
      7. Close the editor
      8. Close nautilus

Configure firewall:

  1. Type system-config-firewall in terminal.
  2. Select Custum port in left.
  3. Then select Add button , then enter port as 177 and protocol as UDP
  4. Then Select Apply on top panel.
  5. Then restart the system.
In client, open a terminal, then type X -query 192.168.1.2 :1 , You must replace 192.168.1.2 with the server IP address. That's all, you will see the login screen of the server.

If you had any problem with these steps. You can ask it in comments.

Comments

Popular posts from this blog

Can a Coroutine is useful without Asynchronous IO ?

Different way to search for files in Gnome

Effective Use Of For Loop in Bash Shell Scripting