You are not logged in.
Anyone know how to find out if the Xserver is listening on TCP port 6000?
I know by default it does unless you pass it "-nolisten tcp", but I want to verify my "presence" to remote machines by some verbal output.
I've scanned the "Xorg.0.log" files, ran through just about all the documentation from x.org website, FAQ's and all.
* Outside of getting on another machine and trying to connect remotely to my Xserver, is there anyway of verifying this?
xauth, xset, and other "X" tools I've tried don't report this information.
thx.
Offline
nevermind. I figured a way.
I downloaded the "nmap" package and ran:
nmap -sT <host>
to verify what TCP ports are open. It will show 6000 when I do not use the "-nolisten tcp" option, and not when I do.
Offline
A faster way might me 'netstat -l'.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
netstat -lp says which program is running on it or it's pid ...
Offline