Modify installed system .xinitrc to launch Openbox and MBetterClient in terminal

- Updated .xinitrc for mbetterclient user autologin
- Launch Openbox window manager first
- Launch MBetterClient_wrapper.sh in xterm terminal
- Provides proper desktop environment with terminal-based MBetterClient
- Maintains SSL and web-host configuration options
parent b77750f3
......@@ -590,8 +590,13 @@ EOF
# Set keyboard layout
setxkbmap us
# Launch MBetterClient via wrapper with SSL and web host support
exec /usr/local/bin/MbetterClient_wrapper.sh --ssl --web-host 0.0.0.0
# Launch Openbox window manager
exec openbox-session &
# Give Openbox a moment to start
sleep 1
# Launch MBetterClient in a terminal
xterm -e /usr/local/bin/MbetterClient_wrapper.sh --ssl --web-host 0.0.0.0 &
EOF
chmod +x "$TARGET_MOUNT/home/mbetterclient/.xinitrc"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment