I am trying to set up a server that goes to a web address, does some actions and takes a screenshot. To do this I have been trying to create a virtual display where I can start up a browser. but I haven’t been able to get it to work. I have tried doing: sudo apt-get install ubuntu-desktop sudo apt-get install ubuntu-gnome-desktop sudo apt-get install gnome-core and then using xserver-xorg-video-dummy from this answer: https://askubuntu.com/questions/453109/add-fake-display-when-no-monitor-is-plugged-in but It didn’t work
I am using xrandr to check for the display but just get ‘Can’t open display’.
any suggestions?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello, @FloatingVertex
I will recommend you to follow this tutorial in order to access your droplet with GUI:
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04
Let me know if you have any questions.
Regards, Alex