Enabling remote desktop under Linux (XDMCP)

categories:

Under CentOS 4,

edit /etc/X11/gdm/gdm.conf

Search for the section [XDMCP] Change the line “Enable=false” to “Enable=true”

Restart X

You should now be able to remotely connect using X-Win32 or such

You may need to configure iptables to allow connections : iptables -A INPUT -p udp -m udp --dport 177 -j ACCEPT iptables -A OUTPUT -p udp -m udp -m state --state RELATED,ESTABLISHED -j ACCEPT

Pay close attention to the security risks, don’t open it wide to the internet

Under Red Hat 5 : http://www.redhatmagazine.com/post/tips-and-tricks-how-do-i-enable-xdmcp-in-red-hat-enterprise-linux-5/




Thanks for reading this post!


Did you find an issue in this article?

- click on the following Github link
- log into Github with your account
- click on the line number containing the error
- click on the "..." button
- choose "Reference in new issue"
- add a title and your comment
- click "Submit new issue"

Your feedback is much appreciated! πŸ€œπŸΌπŸ€›πŸΌ

You can also drop me a line below!