When prompting startx from tty, the graphical display start but without any display manager but have a xterm from which my display manager have to be launched.

How can I directly launch a session with a given display manager from tty1 (i3wm for instance).

  • A display manager is a program that shows a login prompt. That doesn't seem to be what you mean. Did you mean window manager? i3 is a window manager. – Gilles Oct 19 '16 at 22:03

You can start a display manager by using a .xinitrc file in your home directory, which is executed when you start X11. For example, the last line in my .xinitrc is

exec xmonad

Feel free to replace xmonad with, e.g., i3wm.

  • The post already exists on se. I used xinit session -- :1 -xf86config config.con – user123456 Oct 19 '16 at 22:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.