- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: To disbale X11 service on linux box.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2010 10:22 AM
тАО04-19-2010 10:22 AM
Re: To disbale X11 service on linux box.
even at run level 5, if you stopped the xfs service your system would stop listening on X.
You could in addition set up iptables firewall rules to further protect your system.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2010 11:24 PM
тАО04-19-2010 11:24 PM
Re: To disbale X11 service on linux box.
After commenting a line /etc/inittab X server still listening .....
Pls advice...
Thanks
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 04:35 AM
тАО04-20-2010 04:35 AM
Re: To disbale X11 service on linux box.
Did you run "telinit q" after commenting out the line in /etc/inittab as Matti pointed out? Commenting out the line in /etc/inittab is not enough.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 08:23 PM
тАО04-20-2010 08:23 PM
Re: To disbale X11 service on linux box.
as port 6001 was referring to xvnc service. i have stopped the service and killed the process for port listening to 6001. as of now port is not listening. but if there is any chance after reboot again it will up.
Kindly confirm.... if yes what is to be done permanently.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2010 09:31 PM
тАО04-20-2010 09:31 PM
Re: To disbale X11 service on linux box.
How, exactly? As usual, it might help if you
showed the actual commands you used instead
of giving us vague descriptions and
interpretations of what you think was
supposed to happen when you did whatever you
actually did.
> [...] but if there is any chance after
> reboot again it will up.
Where in the start-up scripts was this "xvnc
service" started? If you didn't change
anything in the start-up sequence, then I'd
expect the thing to be started again at the
next system boot.
> [...] what is to be done permanently.
That's a question????
Find out where in the system start-up scripts
this thing gets started. Then disable that
script somehow. The details of how to do
that may depend on which kind of "linux box"
you have, and which script does what how.
With my weak psychic powers, I can't see any
of your start-up scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2010 02:31 AM
тАО04-21-2010 02:31 AM
Re: To disbale X11 service on linux box.
To prevent the vncserver from starting at system boot, run "chkconfig vncserver off".
By the way, all RedHat-packaged services that are controlled by xinetd or standard System V init scripts can be enabled or disabled using "chkconfig
Although simply killing the Xvnc server is a valid way to shut it down, there is a command for starting/stopping any services based on System V init scripts: "service
See "man chkconfig" and "man service". These are basic RedHat configuration commands; as a sysadmin, you are expected to understand these commands.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2010 02:53 AM
тАО04-23-2010 02:53 AM
Re: To disbale X11 service on linux box.
Thank you very much matti. your brief explanation helped me a lot and resloved the issue.
full marks to you.... :)
Hence closing above thread.
- « Previous
-
- 1
- 2
- Next »