Skip to content

Instantly share code, notes, and snippets.

@arbalest
Created July 3, 2014 15:29
Show Gist options
  • Save arbalest/dfd989998b61a9af7b91 to your computer and use it in GitHub Desktop.
Save arbalest/dfd989998b61a9af7b91 to your computer and use it in GitHub Desktop.
Run Linux X Application without Desktop Environment

[From http://askubuntu.com/questions/73767/how-to-stop-the-unity-desktop] Using Ubuntu, the desktop can be "quit" by logging out and, from the LightDM login screen...

CTRL+ALT+F1

...to move to TTY1 text console.

Then... sudo service lightdm stop ...will stop all graphics.

[From https://bbs.archlinux.org/viewtopic.php?id=107319]

Then, to launch an application with X (without a desktop environment), use (for example)...

xinit /usr/bin/firefox $* -- :1

...where /usr/bin/firefox/ is the application to launch X with.

Searches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment