Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 88727fb590 |
@@ -4,5 +4,7 @@ export PATH="/usr/local/bin:$PATH"
|
|||||||
# so the KVM shows the graphical UI without switching VTs.
|
# so the KVM shows the graphical UI without switching VTs.
|
||||||
if [ "$(tty 2>/dev/null)" = "/dev/tty1" ] \
|
if [ "$(tty 2>/dev/null)" = "/dev/tty1" ] \
|
||||||
&& [ -z "${DISPLAY:-}" ]; then
|
&& [ -z "${DISPLAY:-}" ]; then
|
||||||
exec startx /usr/local/bin/bee-openbox-session -- :0 vt1 -nolisten tcp
|
startx /usr/local/bin/bee-openbox-session -- :0 vt1 -nolisten tcp
|
||||||
|
echo ""
|
||||||
|
echo "X session ended. Type 'startx' to retry or use the shell."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user