I got a simple method to disable XFCE from this blog post:
How to disable X at boot time in Ubuntu 11.10.
Note: the post has a heading in some non-English language,
possibly Portuguese, but the body of the post is in English.
With LightDM (
lightdm) being the new graphical user login in Ubuntu,
users will need to find a way to disable it to boot into text mode.
Fortunately, the people behind LightDM have made that really easy to do.
/etc/default/grub with your favorite editor,
sudo nano /etc/default/grub
Find this line:
GRUB_CMDLINE_LINUX_DEFAULT="<doesn’t matter what you find here>"
Change it to:
No need to remove / disable LightDM upstart conf;
it already does that for you.
# Check kernel command-line for inhibitors, unless we are being called manually.
for ARG in $(cat /proc/cmdline); do
if [ "$ARG" = "text" ]; then
plymouth quit || :
You will still be able to use X by typing
startx after you logged in.