fix(desktop): start X on vt1 from .profile for IPMI KVM compatibility
startx from autologin shell targets VT1 directly — KVM sees the graphical UI without VT switching. Remove bee-desktop.service (systemd-launched X defaults to VT7, invisible on KVM). Add xserver-xorg-video-fbdev for server AST/VGA framebuffer. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1 +1,8 @@
|
||||
export PATH="/usr/local/bin:$PATH"
|
||||
|
||||
# On tty1 (IPMI KVM console): start X desktop directly on VT1
|
||||
# so the KVM shows the graphical UI without switching VTs.
|
||||
if [ "$(tty 2>/dev/null)" = "/dev/tty1" ] \
|
||||
&& [ -z "${DISPLAY:-}" ]; then
|
||||
exec startx /usr/local/bin/bee-openbox-session -- :0 vt1 -nolisten tcp
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user