- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to setup disabling GUI start
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
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
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
тАО12-06-2006 12:19 PM
тАО12-06-2006 12:19 PM
I'm going to stop loading Gui start next time.
what can I should do.
can you help me?
any tips are good. and I want that it dose not need to reboot.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2006 01:47 PM
тАО12-06-2006 01:47 PM
SolutionEither you have one of the X managers (kdm/gdm/xdm) load by default via runlevel 2 or your /etc/inittab having an entry like "id:5:initdefault:", change the 5 to 2 or 3.
Please do an "update-rc.d -f kdm remove" too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2006 04:29 PM
тАО12-06-2006 04:29 PM
Re: how to setup disabling GUI start
update-rc.d -f kdm remove
Linux dose not have update-rc.d.
Can you give more details about that command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2006 06:04 PM
тАО12-06-2006 06:04 PM
Re: how to setup disabling GUI start
you can disable the GUI start by keeping the default runlevel at 3
edit
/etc/inittab and change the entry "id:5:initdefault:" "id:3:initdefault:"
give the command init 3. It will switch to the runlevel 3 now.
Warm regards
Silju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2006 10:04 PM
тАО12-06-2006 10:04 PM
Re: how to setup disabling GUI start
Into the file /etc/inittab change the id:5:initdefault row in id:3:initdefault.
Then if you want to switch into the GUI, type startx or init5.
Bye!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2006 08:18 AM
тАО12-07-2006 08:18 AM
Re: how to setup disabling GUI start
Also, may suggest add norhgb in grub conf. It sometimes has issue too. But is not related to your question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2006 08:14 AM
тАО12-10-2006 08:14 AM
Re: how to setup disabling GUI start
You don't want to load Gui start next time...
That's what you have got some answers on - changing runlevel to 3.
You do not need to reboot to perform the change, but this does not stop the current running Gui. You will not see this until next reboot...
Changing the runlevel like this will be permanent until you change it back again.
The startup/stop is handled by script files.
Where the scripts are located depends upon what kind of unix variant you're running.
SuSe Linux store the start/stop scripts in /etc/init.d
They can also be runned individually from command line.
example:
/etc/init.d/xdm stop
/etc/init.d/xdm start
See /etc/rc.d.README and /etc/init.d/README
Or run command: man INIT.D
This will explain what you need related to runlevels, how to configure aso.
Disable xdm startup on SuSe Linux (even runlevel 5)
****************************
Just remove the start/stop links:
lrwxrwxrwx 1 root root 6 2006-08-07 11:19 /etc/init.d/rc5.d/K12xdm -> ../xdm
lrwxrwxrwx 1 root root 6 2006-08-07 11:19 /etc/init.d/rc5.d/S10xdm -> ../xdm
rm /etc/init.d/rc5.d/S10xdm
rm /etc/init.d/rc5.d/K12xdm
Enable it again
****************
Simply create the links again:
cd /etc/init.d/rc.5
ln -s ../xdm K12xdm
ln -s ../xdm S10xdm
Some unix systems also uses a file where you can set an environment variable specifying if you want to run the service or not.
In SuSe there is a file named /etc/sysconfig/displaymanager which control what kind of display you want.
If this is a server it might be that you want to set DISPLAYMANAGER=console here.
This should prevent starting X.
/Tor-Arne