From Void Linux Wiki
Jump to: navigation, search

Related articles

autox is a utility that sets up a specified user's environment and then launches the xinit application. This greatly simplifies the process of booting to X11.


Install the autox package.

Create a conf file in /etc/sv/autox and supply the necessary variables:

 # tty7 is the default

Before enabling the service, make sure the user you specified has a .xinitrc that execs an application. For example:

 xset -dpms s off
 xsetroot -solid black
 xhost local:+
 export QT_XFT=1
 exec kodi

Finally, enable the runit service:

 ln -s /etc/sv/autox /var/service/