Q. How do I display remote X application over telnet session? I am login over VPN so telnet security is not a big issue here. But whenever I login over telnet, system does not allow me to display Gnome X apps remotely.
A. Gnome uses the GDM (GNOME Display Manager) for X Window System. For security reasons it blocks TCP access so you cannot display X applications remotely.
However you can easily fix this problem by editing gdm.conf file (usually located in /etc/X11/gdm directory):
# vi gdm.conf
Find the that read as follows:
DisallowTCP=true
Replace with:
DisallowTCP=false
Save and close the file. Restart the computer or switch runlevel to 1 and again back to 2.
# init 1
Now go back to runlevel 2 (if you are using CentOS/Fedora Core/Red hat go to runlevel 5)
# init 2
Verify that you can display X apps remotely:
$ xeyes -display somewhere.mycorp.com:0.0
$ xeyes -display 10.5.5.1:0.0
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop












{ 2 comments… read them below or add one }
Vivek does a XManager/ Exceed need to run at somewhere.mycorp.com.
If so , how would i know the display number
You can download and install xming from http://www.straightrunning.com/XmingNotes/index.php
in windows
Then enable x11 forwarding (check ssh-> x11 forwarding check box)in Putty and you are all set to run remote x applications using putty.