Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-07-2012, 12:18 PM   #1
Senior Member
Registered: Aug 2011
Posts: 1,011

Rep: Reputation: 25
'netstat -apute' shows X is LISTENing

I have been trying many liveCDs of different distros and on running following command as root:
netstat -apute
I find that many distributions have X or X11 in the LISTEN mode. I believe it is required for logging on to a remote computer, but average PC user is unlikely to need it and this feature can become a security risk. Then why is it that this is the default setting on most occassions?
Old 04-08-2012, 08:38 AM   #2
Senior Member
Registered: May 2008
Posts: 3,995
Blog Entries: 1

Rep: Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400Reputation: 1400
Maybe some distros don't worry about this because their default firewall rules block the X11 ports, or they've configured it to only listen on loopback.. Whether it's listening or not is only half of the story. Having said that, I'm sure some distro's will leave it wide open, so it pays to be vigilant.

As to why a distro maintainer chooses to do it one way or another, or even not at all, you'll have to ask them.
Old 04-08-2012, 05:37 PM   #3
LQ Guru
Registered: Mar 2008
Posts: 15,059

Rep: Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135Reputation: 2135
Live CD's are not a secure install. They have been created to get things to work in a temporary fashion and could leave all sorts of holes open.

If you want, you can make your own live cd but I'd think the users would be upset then things like xterm won't run.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GKRELLM and systemmon shows small net usage but firestarter and netstat show nothing. orangesky Linux - Security 2 02-28-2010 05:50 PM
netstat shows multiple identical instances of a connection pedrevans Linux - Networking 5 01-07-2010 11:36 PM
free -m shows 2GB used but gnome-system-monitor shows 1GB anjanesh Linux - General 1 03-04-2009 04:49 AM
inetd is running but netstat show no listening ports shroc Linux - Networking 1 01-31-2006 04:30 PM
netstat: ipp listening, why? cmarti2 Linux - Security 1 12-17-2005 09:59 PM

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration