Hi group,
I'm having trouble closing port 6000. Since I use xfce and not kdm, the google results did me no good.
Here is a quick list of info:
# uname -r
2.6.32-358.6.1.v6.i686
# rpm -qa|grep xfce4
xfce4-doc-4.8.3-1.el6.noarch
xfce4-session-engines-4.8.1-4.el6.i686
libxfce4ui-4.8.0-4.el6.i686
xfce4-appfinder-4.8.0-2.el6.i686
libxfce4util-4.8.1-2.el6.i686
xfce4-panel-4.8.3-2.el6.i686
xfce4-session-4.8.1-4.el6.i686
xfce4-mixer-4.8.0-1.el6.i686
xfce4-settings-4.8.3-1.el6.i686
xfce4-icon-theme-4.4.3-5.el6.noarch
xfce4-power-manager-1.0.10-1.el6.i686
# nmap 192.168.12.142
Starting Nmap 5.51 ( http://nmap.org ) at 2013-05-08 22:13 EDT
Nmap scan report for system.domain.lan (192.168.12.142)
Host is up (0.000024s latency).
Not shown: 995 closed ports
PORT STATE SERVICE
22/tcp open ssh
53/tcp open domain
81/tcp open hosts2-ns
82/tcp open xfer
6000/tcp open X11
Not sure where to go from here. I looked up info for centos but it said to modify xinitrc or xfce4.desktop, etc. but got no results that work.
If you could give me some pointers, that would be appreciated.
I'm having trouble closing port 6000. Since I use xfce and not kdm, the google results did me no good.
Here is a quick list of info:
# uname -r
2.6.32-358.6.1.v6.i686
# rpm -qa|grep xfce4
xfce4-doc-4.8.3-1.el6.noarch
xfce4-session-engines-4.8.1-4.el6.i686
libxfce4ui-4.8.0-4.el6.i686
xfce4-appfinder-4.8.0-2.el6.i686
libxfce4util-4.8.1-2.el6.i686
xfce4-panel-4.8.3-2.el6.i686
xfce4-session-4.8.1-4.el6.i686
xfce4-mixer-4.8.0-1.el6.i686
xfce4-settings-4.8.3-1.el6.i686
xfce4-icon-theme-4.4.3-5.el6.noarch
xfce4-power-manager-1.0.10-1.el6.i686
# nmap 192.168.12.142
Starting Nmap 5.51 ( http://nmap.org ) at 2013-05-08 22:13 EDT
Nmap scan report for system.domain.lan (192.168.12.142)
Host is up (0.000024s latency).
Not shown: 995 closed ports
PORT STATE SERVICE
22/tcp open ssh
53/tcp open domain
81/tcp open hosts2-ns
82/tcp open xfer
6000/tcp open X11
Not sure where to go from here. I looked up info for centos but it said to modify xinitrc or xfce4.desktop, etc. but got no results that work.
If you could give me some pointers, that would be appreciated.
Share this post:
Responses (2)
-
Accepted Answer
Thanks for the suggestion.
That would certainly make the port not appear to nmap but isn't a clean solution because it only 'blocks' the listening process.
I saw something like -nolisten tcp for environment variables (for config files) and --nolisten for startx command line (and thus also scripts) but don't know where to put them.
The clean solution is to make it so that a process isn't run for it to be 'listening' with an open port - i.e, netstat would show such processes.
I haven't taken a look at your link yet however. -
Accepted Answer
I take it tthat you are talking about closing ports on a dektop system and not a ClearOS server. I haven't used an rpm based distro on the desktop for a while but maybe:
yum install gufw
will give you a GUI firewall app that you can use to close and open ports.
GUFW Site:
http://gufw.org/
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »