I've faced some problem with X11 forwarding. Then I analsyed the X process using ps -ef | grep X
I found the X process initialized has the argument--nolistentcp. Actually this prevents the tcp connection for X11. So make sure this is disabled in gdm.conf.
I came to know there is a entry in /etc/X11/gdm/gdm.conf which prevents the TCP connection.
after altering the "DisallowTCP"=false.
and restart the X windows.
To restart X windows CRTL + ALT + backspace or restart the system.
About Me
Friday, 4 April 2008
Tuesday, 1 April 2008
To find opened ports in linux
After a long search I found the good way to search the opened ports in a machine.
It's nmap & netstat.
Syntax
netstat -na | grep 6000
nmap -p 1-63335 localhost
The above command displays the ports opened in machine localhost.
It's nmap & netstat.
Syntax
netstat -na | grep 6000
nmap -p 1-63335 localhost
The above command displays the ports opened in machine localhost.
Subscribe to:
Posts (Atom)