Starting a minimal X

      No Comments on Starting a minimal X

Just because I always forget and the parameters are somewhat non-trivial, here’s how you start an xterm inside X:

startx $(which xterm) -- :0 vt01

Of course, the display name :0 is usually used by default, so you may need to use another one (:1 etc.) if you get an error like “Server is already active for display 0“. You can also select a different virtual terminal.

Note that the absolute path to xterm (or whatever application you’d like to start inside X) is essential.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.