Welcome to the most active Linux Forum on the web.
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, 01:18 PM   #1
Senior Member
Registered: Aug 2011
Posts: 1,063

Rep: Reputation: 41
'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, 09:38 AM   #2
Senior Member
Registered: May 2008
Posts: 4,484
Blog Entries: 7

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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, 06:37 PM   #3
Registered: Mar 2008
Posts: 17,101

Rep: Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552
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 06:50 PM
netstat shows multiple identical instances of a connection pedrevans Linux - Networking 5 01-08-2010 12:36 AM
free -m shows 2GB used but gnome-system-monitor shows 1GB anjanesh Linux - General 1 03-04-2009 05:49 AM
inetd is running but netstat show no listening ports shroc Linux - Networking 1 01-31-2006 05:30 PM
netstat: ipp listening, why? cmarti2 Linux - Security 1 12-17-2005 10:59 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:04 PM.

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