3

I'm trying to setup a box as a remote server and am stuck configuring VNC server now.

The box has no discrete GPU and is running on UHD Graphics 630 shipped with Core i7-8750H, and it's set up with Ubuntu 19.04 (Disco Dingo) and an active internet connection (no firewall so far). There was a monitor during the initial setup (OS installation etc.), but has since been removed (the box itself was moved to another place), so it's only accessible via SSH now.

I installed LightDM, X11VNC and xserver-xorg-video-dummy, and configured a dummy display, mostly following this answer.

I connect this headless box with RealVNC (on my Windows PC) and entered my password on the login screen, and got a black screen with only the wallpaper and nothing to interact with.

image

I'm trying to find out a way to get a functional desktop environment, something like this:

image

This VNC server works perfectly fine if I attach a monitor to the box and login with another physical keyboard attached together, but this is not applicable anymore after the initial setup because I intend to use it as a remote server with internet as the only external I/O device. (And this is how I grabbed the above screenshot.)

I suppose this issue would be identical with Bionic (18.04 LTS) and Cosmic (18.10).

1
  • Same here. Any progress?
    – kirin
    Aug 29, 2019 at 8:07

1 Answer 1

3

I had the same problem with Ubuntu 18.04.
The solution was creating /etc/X11/xorg.conf with:

Section "Device"
   Identifier "Configured Video Device"
   Driver     "dummy"
   VideoRam   40000
EndSection
Section "Monitor"
   Identifier "Configured Monitor"
   HorizSync 22-83
   VertRefresh 50-70
   Modeline     "1920x1200_60.00" 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -HSync +Vsync
EndSection
Section "Screen"
   Identifier "DefaultScreen"
   Monitor    "Configured Monitor"
   Device     "Configured Video Device"
   DefaultDepth 24
   SubSection "Display"
       Depth 24
       Modes "1920x1200"
   EndSubSection
EndSection
1
  • Just to confirm, your answer is working for me. Thanks for the solution!
    – iBug
    Oct 18, 2019 at 12:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .