GUI support
This commit is contained in:
13
jump-box/startwm-xfce.sh
Normal file
13
jump-box/startwm-xfce.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/bash -l
|
||||
|
||||
# xrdp session entrypoint: start an XFCE desktop on the xorgxrdp display.
|
||||
# Lives in /etc/xrdp (not ~/.xsession) since the home dir is mounted and shared with the CLI setup.
|
||||
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
export XDG_RUNTIME_DIR="/tmp/runtime-$(id -u)"
|
||||
mkdir -p -m 0700 "$XDG_RUNTIME_DIR"
|
||||
export XDG_SESSION_TYPE=x11
|
||||
export XDG_CURRENT_DESKTOP=XFCE
|
||||
export MOZ_ENABLE_WAYLAND=0
|
||||
|
||||
exec dbus-launch --exit-with-session startxfce4
|
||||
Reference in New Issue
Block a user