You are not logged in.

#1 2004-09-25 04:41:12

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Xserver TCP security [SOLVED]

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

#2 2004-09-25 04:57:41

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: Xserver TCP security [SOLVED]

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

#3 2004-09-25 17:48:15

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Xserver TCP security [SOLVED]

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

#4 2004-10-27 12:54:51

Michel
Member
From: Belgium
Registered: 2004-07-31
Posts: 286

Re: Xserver TCP security [SOLVED]

netstat -lp says which program is running on it or it's pid ...

Offline

Board footer

Powered by FluxBB