install.fairie/home/dot_config/vnc/executable_xstartup
Brian Zalewski c4296dc011 Latest
2023-06-27 06:21:36 +00:00

11 lines
352 B
Bash

#!/bin/sh
# Start up the standard system desktop
# Source: https://www.tecmint.com/install-and-configure-vnc-server-on-ubuntu/
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
vncconfig -iconic &
dbus-launch --exit-with-session gnome-session &