- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Disable Xserver startup of Red Hat Entreprise 4
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
Forums
Discussions
Discussions
Discussions
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
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
01-23-2006 05:54 AM
01-23-2006 05:54 AM
Disable Xserver startup of Red Hat Entreprise 4
I am quite new to Linux...
I want to permanently disable the Xserver on my RHEL 4.0 box.
What is the easiest way to do this without having to change the default run-level?
Any help/suggestion is highly appreciated.
TIA.
Kind Regards,
Rui Vilao.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 05:59 AM
01-23-2006 05:59 AM
Re: Disable Xserver startup of Red Hat Entreprise 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 06:06 AM
01-23-2006 06:06 AM
Re: Disable Xserver startup of Red Hat Entreprise 4
I am not sure if the only difference between run level 5 and 3 is the Xserver startup...
Note: On HP-UX I used to rename S990dtlogin.rc to s990dtlogin.rc and that was it!
TIA,
Rui.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 06:50 AM
01-23-2006 06:50 AM
Re: Disable Xserver startup of Red Hat Entreprise 4
/etc/rc.d/rc3.d
/etc/rc.d/rc5.d
The SXX files in rc3.d start services in run level 3. The same for rc5.d. If you compare these directories, you will see that by default there are no differences, so you can safely start in runlevel 3 instead of runlevel 5. Also, the inittab starts the prefdm service in level 5
, so you cannot control the startup by runlevels.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 07:41 AM
01-23-2006 07:41 AM
Re: Disable Xserver startup of Red Hat Entreprise 4
vi /etc/inittab
Change the run level to 3.
boot.
That does it.
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
01-23-2006 07:46 AM
01-23-2006 07:46 AM
Re: Disable Xserver startup of Red Hat Entreprise 4
You can double-check your system by looking at the output of 'chkconfig --list'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 09:24 AM
01-23-2006 09:24 AM
Re: Disable Xserver startup of Red Hat Entreprise 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 11:10 PM
01-23-2006 11:10 PM
Re: Disable Xserver startup of Red Hat Entreprise 4
Thanks a lot for your suggestions.
What about commenting-out prefdm in inittab?
Could this solve my issue?
TIA,
Kin Regards,
Rui.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 11:27 PM
01-23-2006 11:27 PM
Re: Disable Xserver startup of Red Hat Entreprise 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 01:54 AM
01-24-2006 01:54 AM
Re: Disable Xserver startup of Red Hat Entreprise 4
I have commented-out prefdm in inittab.
Now the server hangs when starting the HAL daemon.
It looks like there is some dependency with Xserver.
TIA,
Rui.