pmaports/sxmo/sxmo-xdm/GiveConsole
Miles Alan de75d745dd
sxmo/sxmo-xdm: new aport (MR 1472)
X Display Manager fork for Sxmo; starts with virtual keyboard and launches
Sxmo UI
2020-09-14 09:37:24 +02:00

10 lines
345 B
Bash

#!/bin/sh
# Assign ownership of the console to the invoking user
#
# By convention, both xconsole and xterm -C check that the
# console is owned by the invoking user and is readable before attaching
# the console output. This way a random user can invoke xterm -C without
# causing serious grief.
#
pkill -9 svkbd-sxmo
chown $USER /dev/console