I bought a virtual server from hetzner.com and I am trying to get a desktop working. I already installed xrdp and gnome-desktop and I installed xserver-xorg-video-dummy and configured etc/X11/xorg.conf to create a virtual display but I just can't seem to get a desktop to run.
Startx
outputs:
my /etc/X11/xorg.conf file:
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
#VideoRam 4096000
#VideoRam 256000
VideoRam 16384
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 5.0 - 1000.0
VertRefresh 5.0 - 200.0
Modeline "1600x900" 33.92 1600 1632 1760 1792 900 921 924 946
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Virtual 1600 900
EndSubSection
EndSection
You will need an external rdp client, else there IS no display that can be recognize
Also, you must tell xrdp to use GNOME and allow non root login (if desired). No matter the desktop, the first command is needed for non root user login
The last command will be done with every user that needs to login via RDP
My advice, though, is use cinnamon, XFCE, or MATE. GNOME has issue with xrdp.
For cinnamon
For mate:
For XFCE:
Please also note you need a display manager (DM), which the server doesn't come with. Some desktops come with one, else I recommend lightdm
I also do not recommend VNC; it has performance and security issue. I usually tunnel rdp over ssh for security