Closing port 6000 X Acer Aspire One
Some Acer Aspire One netbooks are shipped with port 6000 open by default
A NMAP scan of the device will reveal not only the open port but also some information on the Operating System (OS) and kernel version
nmap -sV
- Starting Nmap ( http://nmap.org )
- Interesting ports, Not shown: 999 closed ports
- PORT STATE SERVICE VERSION
- 6000/tcp open X11 (access denied)
- Device type: general purpose
- Running: Linux
- OS details: Linux ... - ...
- Service Info: OS: Unix
Port 6000 X11
This port is used by Xorg for remote clients. The default permission is restricted by the xhost program to deny access to any remote users
Closing the port
At startup, run xinit with the nolisten tcp after the server options --
- Login to a terminal as the root user
- Edit the /etc/rc.d/rc.S file
- /usr/bin/xinit -- -nolisten tcp -br
- Save the file and restart
Note: The startup script in /etc/X11/xdm/Xservers is not used by this implementation
nmap -sV
- Starting Nmap ( http://nmap.org )
- All 1000 scanned ports are closed
- Too many fingerprints match this host to give specific OS details
Keep I.T Safe
Copyright (c) Howcroft 2013 www.howcroft.co.za
Email: robert
(at)
howcroft.co.za