I have a desktop PC with NVidia graphics card which is running Ubuntu 18.04 Desktop. The default VNC server stops accepting connections when I disconnect physical monitor. I solved this problem by using TightVNC server. But it doesn't use hardware acceleration (e.g. it's virtual monitor doesn't support OpenGL). Is it possible at all to have VNC session that uses NVidia driver on a PC without a monitor?
Asked
Active
Viewed 1,177 times
1
-
I switched to vulkan for this purpose. Using vulkan on server is much more comfortable then opengl. – Hihikomori Jan 13 '21 at 16:59
-
Do you want to run your own opengl code on server, or you need to run some routines that you can not edit? – Hihikomori Jan 13 '21 at 17:08
-
@Hihikomori I want to run apps from different vendors – Pavlo Jan 13 '21 at 18:52
-
2Check if [this](https://medium.com/@BuyMiners/3-best-ways-to-use-an-hdmi-dummy-plug-or-display-emulator-e74cb8712790) can help. – Hihikomori Jan 14 '21 at 10:23
-
@Hihikomori Thank you. This is definitely an option but if possible I would try to go with software solution if not than this is very good fallback option. – Pavlo Jan 15 '21 at 07:47
-
When opengl context initializes, it always try's to find display, and fails if there is no display. There is a softwhere display emulator "xvfb", but it supports only opengl 3.0. – Hihikomori Jan 15 '21 at 16:53
-
@Hihikomori If I create a manual xorg.conf file without having a display connected will it work? – Pavlo Jan 16 '21 at 08:01
-
1If some soft desired to render somthing on a display with gpu, there must be a display connected. – Hihikomori Jan 16 '21 at 21:16