User:Xxc3nsoredxx/Running without logind

This page Article description::describes an experimental and unsupported method of running [[Xorg without using or .]]

No logind provider
It is also possible to run an X server as a non- user without using a provider. The default behavior for is to find the first available virtual terminal  and to attempt to use that. This can cause issues if the is owned by, which is the default unless another user is currently logged in on it. Attempting to run at this point will cause an error similar to this:

provides a  option, where   refers to the  to use. Running  will launch  inside  which is owned by. The  argument is important since it marks the end of client arguments and the start of server options. In order to avoid having to manually specify (and remember) the currently active a line similar to the following can be added to the user's :

After re-sourcing the or logging out and logging back in, running startx will launch  in the currently active. Switching to and doing the same will launch a second instance inside that, both of which are running as.

Framebuffer "Permission denied"
If starting as  works, but not as, and the log file mentioned in the  error contains the following line, then  cannot access the raw framebuffer device.

This can be fixed by adding to the  group. In order to apply the new permissions, must log out and log back in.

External resources

 * [//www.x.org/releases/X11R7.5/doc/man/man1/startx.1.html startx(1)], the page describing the usage of.
 * [//www.x.org/releases/X11R7.5/doc/man/man1/Xorg.1.html Xorg(1)], the page describing the usage of.