virtualization‎ > ‎

Proxmox - Install Desktop

posted Jan 5, 2021, 5:12 AM by Chris Franklin
This script will install a light weight GUI (xfce), disable the extra power settings (sleep, suspend, hibernate) and allow root to login to the gui. This along with a browser helps simplify tasks that need to be done while your on/at the host itself.



apt update && apt install lightdm xfce4 gpm xfce4-terminal --no-install-recommends -y
if [ $? -eq 0 ]; then
 systemctl set-default

# Allow root
sed -i.backup 's/^minimum-uid/#minimum-uid/g' /etc/lightdm/users.conf

# Disable all power settings.
systemctl mask