N
Size: a a a
@
@
@
N
egrep -v ^# /etc/X11/xenodm/GiveConsole
pkill xclock
pkill xmessage
chown $USER /dev/console
chown $USER /dev/uhid1
chown $USER /dev/video0
if [ -c /dev/dri/card0 ]; then
chown $USER /dev/dri/card0
fi
if [ -c /dev/dri/renderD128 ]; then
chown $USER /dev/dri/renderD128
fi
/usr/X11R6/bin/sessreg -a -l $DISPLAY -u none $USER
N
egrep -v ^# /etc/X11/xenodm/TakeConsole
chown root /dev/console
chmod 622 /dev/console
chown root /dev/video0
chown root /dev/uhid1
if [ -c /dev/dri/card0 ]; then
chown root /dev/dri/card0
fi
if [ -c /dev/dri/renderD128 ]; then
chown root /dev/dri/renderD128
fi
/usr/X11R6/bin/sessreg -d -l $DISPLAY -u none $USER
@
@
@