LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2015, 12:42 PM   #1
Ionz0r
LQ Newbie
 
Registered: Feb 2015
Posts: 3

Rep: Reputation: Disabled
how to disable a gui on boot


hello all at linuxquestions

first off would just like to say how useful this resource is, Ive been setting up a VM server in lubuntu recently and this site has given me alot of help and helped me get it off the ground. Im certainly a linux noob and only been messing around in linux for a week, so please forgive me for any derpy terminology

anyway, I installed lubuntu onto a VM as an intention to use it as a server
to be honest it was an ISO I had lying around and due to it being "light" I just went for it

however I have since discovered ubuntu do a flavour known as "ubuntu server"

first off..
what is the difference between ubuntu server and regular ubuntu/lubuntu etc?
is it just that it does not load a full fat gui?
if there is a big diffrence would it be easy to "turn" lubuntu into ubuntu server? since they are sort of based off each other?

secondly, lubuntu loads up lxde upon boot, I was wondering if there was a way for it to just boot up without the gui with the option to turn it on via shell (startx etc)
this is because I have little ram to play with but I also like to use the GUI sometimes when needing to do certain admin stuff, for example I use steam via Wine to download steam games sometimes

I was pondering the idea of installing ubuntu server and then downloading the lxde desktop and going that route, but Im not sure if it would bring any benefit opposed to just modifiying my current lubuntu installation

any advise or tips would be welcome

thanks!
 
Old 02-15-2015, 01:24 PM   #2
albinard
Member
 
Registered: Jan 2011
Location: New Mexico
Distribution: Xubuntu Core
Posts: 184

Rep: Reputation: 59
You might try installing the server, then adding:

Code:
apt-get install lubuntu --no-recommends
This lets you get as much or as little of the GUI as you want, and can make for a much lighter system. (You could also use xubuntu the same way.)
 
Old 02-15-2015, 04:50 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Ubuntu server IIRC is just Ubuntu without the GUI and a couple server packages installed by default.

To disable the GUI on boot, you need to disable the display manager from running. There are several display managers: gdm, ldm, kdm, etc. First step is to figure out which one you're running, and disable it in upstart as shown here:

http://askubuntu.com/questions/76543...user-selection

Note that this link is for gdm, but the same genera; procedure should work for any display manager.
 
Old 02-15-2015, 07:41 PM   #4
Ionz0r
LQ Newbie
 
Registered: Feb 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
what packages does server run over desktop?
I may get away with just adapting the lubuntu install

really cant be bothered starting again from scratch
 
Old 02-15-2015, 07:55 PM   #5
Ionz0r
LQ Newbie
 
Registered: Feb 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
found this thread that sorted out the gui query
http://ubuntuforums.org/showthread.php?t=2234405
"sudo service lightdm start" starts the gui

Last edited by Ionz0r; 02-15-2015 at 08:24 PM.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I disable the GUI so I get cli when I boot? bashFUL Debian 6 10-18-2011 03:08 PM
Need to disable GUI in Suse 10.1 penleydr Linux - Newbie 4 11-19-2007 03:47 PM
Disable GUI veeruk101 Linux - General 7 07-27-2007 01:52 AM
Disable GUI boot on Init 5 rickylim Linux - Enterprise 4 05-30-2006 03:01 PM
Disable GUI in Redhat 8.0 TexasDex Linux - General 3 03-24-2003 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration