Skip to content

Instantly share code, notes, and snippets.

@olmstadfm
Last active December 8, 2019 21:36
Show Gist options
  • Save olmstadfm/20fbaeee254491dd784a66226799961c to your computer and use it in GitHub Desktop.
Save olmstadfm/20fbaeee254491dd784a66226799961c to your computer and use it in GitHub Desktop.
XFCE on headless Ubuntu Sever 18.04 via rdp
# On remote server
sudo apt install xorg dbus-x11 x11-xserver-utils
sudo apt install xfce4 xfce4-goodies xubuntu-icon-theme
sudo apt install xrdp xorgxrdp
echo "xfce4-session" > ~/.xsession
# Locally
sudo apt install remmina
# On connect, select Xorg, enter login and password from your local account.
# FAQ
#
# > In user home directory there is a log, indicating Xorg fails to start.
#
# Install xorgxrdp package.
#
# > There are no icons in XFCE menus when I login.
#
# Install xubuntu-icon-theme package.
#
# > What about GNOME?
#
# You can try install it and echo "gnome-session" in .xsession, but it
# wouldn't work. Have no idea why. May be it's somehow related o DBUS,
# I'm not sure.
#
# > How to enable 2FA?
#
# Try link below, may be it will work.
#
# https://github.com/google/google-authenticator-libpam/issues/110#issuecomment-423212695
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment