Для запуска в X
сессии любой X
программы можно воспользоваться nodm
.
Установка необходимых пакетов:
$ sudo apt-get install nodm
Настройка nodm в файле /etc/default/nodm
:
# nodm configuration
# Set NODM_ENABLED to something different than 'false' to enable nodm
NODM_ENABLED=true
# User to autologin for
NODM_USER=metall
# First vt to try when looking for free VTs
NODM_FIRST_VT='7'
### xinit program
###NODM_XINIT=/usr/bin/xinit
# X session
NODM_XSESSION=/etc/X11/Xsession
# Options for the X server
NODM_X_OPTIONS='-nolisten tcp'
# If an X session will run for less than this time in seconds, nodm will wait an
# increasing bit of time before restarting the session.
NODM_MIN_SESSION_TIME=60
Ссылки по теме:
Comments
comments powered by Disqus