Ubuntu 14.04 How to Not Start X Server
Ubuntu 14.04
I want to log in to a console without starting the X server or any other graphical interface.
I removed unity, unity-2d, and lightdm.
I removed lightdm from /etc/init
At boot time, I get the Ubuntu ... splash. Ctrl-Alt-F1 gets me to a console prompt. How do I prevent the Ubuntu splash?
When I login, the X server is started. I do not want this to happen.
I have some applications that I want to run from the console and do not want the X server running.
Tom Dean
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2014-02-03
- Last reply:
- 2014-02-19
Why did you remove lightdm?? ALl you have to do is add the boot option:
text
And the X server will not start. YOu don't have to go messing with your OS like this and you will break things.
| tomdean (tomdean) said : | #2 |
On 02/03/14 02:01, actionparsnip wrote:
> Your question #243195 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Why did you remove lightdm?? ALl you have to do is add the boot option:
>
> text
>
> And the X server will not start. YOu don't have to go messing with your
> OS like this and you will break things.
>
Thanks for the reply. I restored unity, unity-2d, and lightdm.
I changed /etc/default/grub:
#GRUB_CMDLINE_
GRUB_CMDLINE_
then did sudo update-grub
When I boot, I am presented a text login prompt.
As soon as I login, the X server starts!
How do I prevent the X server from starting when I login?
Tom Dean
| tomdean (tomdean) said : | #3 |
On 02/03/14 13:31, tomdean wrote:
>
>
> When I boot, I am presented a text login prompt.
>
> As soon as I login, the X server starts!
>
Found the reason this happens.
~/.bash_profile executes startx as its last action, which is what I have
on my 12.04 system. (I copied all the .bash* files from there).
Thanks for the answers.
Tom Dean
| daniel CURTIS (anoda) said : | #4 |
Hello TomDean. If you don't want to log in X11, then maybe you should try to install Ubuntu Server Edition? By default, without xorg server etc. That's just a small suggestion.
Best regards.
| Launchpad Janitor (janitor) said : | #5 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.

