- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Starting and stopping the gui when needed
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
тАО03-16-2009 01:29 PM
тАО03-16-2009 01:29 PM
Starting and stopping the gui when needed
Can you start linux without any sort of gui so cpu usage can remain low but still bring up gui when needed?
I am aware of using Alt-Ctrl-F1, F2, F3 ect...
but when doing this, does it "shutdown" the gui lowering your cpu usage?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 01:46 PM
тАО03-16-2009 01:46 PM
Re: Starting and stopping the gui when needed
id:3:initdefault:
After that, you will login to the console, and to start the GUI, just run:
startx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 02:41 PM
тАО03-16-2009 02:41 PM
Re: Starting and stopping the gui when needed
You can also use init to change the runlevel to shutdown the gui interactively.
sudo init 3 ! To shutdown the GUI
sudo init 5 ! To bring it back up again.
However, it's best to change your inittab file to set the default runlevel to 3, and then using "startx" to start the GUI interface interactively, and then you can use CTRL+ALT+BKSpace key combination to shut the session back down again.
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 06:23 PM
тАО03-16-2009 06:23 PM
Re: Starting and stopping the gui when needed
graphics running, but use only xterms (or
some other terminal emulators)? You seem to
be asking how to do a lot of work with
minimal pay-back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 11:22 PM
тАО03-16-2009 11:22 PM
Re: Starting and stopping the gui when needed
no, for me the main reason to leave X off is the amount of memory it consumes, and the fact that i don't see the use of X on a server anyway. but in the few cases i do want to run a graphical app on the server you can start it on the server and make it use X on your local machine.
i don't think there is ever need of starting X on a server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 05:18 AM
тАО03-17-2009 05:18 AM
Re: Starting and stopping the gui when needed
> cpu is hardly an issue [...]
I'll let you two fight about that one.
> [...] i don't see the use of X on a server
> anyway. [...]
You seem to be the first one to mention
"server".
> [...] amount of memory it consumes, [...]
And how many gigabytes is that? Perhaps a
Google search for "virtual memory" would be
useful here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 06:02 AM
тАО03-17-2009 06:02 AM
Re: Starting and stopping the gui when needed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 10:46 PM
тАО03-19-2009 10:46 PM
Re: Starting and stopping the gui when needed
Google search for "virtual memory" would be
useful here."
well, X does waste a lot of memory. this year at fosdem i went to keith packards talk and it's amazing that the old X (which everybody uses _today_) can waste memory 3x as much as needed because there is no (X) memory manager.
anyway, with the newest kernel and the kernel mode settings capability this nonsense is history.
and that is only counting X, but the DE takes up a boatload of memory too, some applets are amazing in memory consumption.