I encountered a problem, the same computer, the environment is unchanged, using RDP remote can open blender, but using VNC remote can not open blender, error screenshot below, now for some reasons, I have to use VNC, please tell me what can you do to solve this problem?
The UI needs a monitor connected to initialize OpenGL in some way or something like that. So if remote access software does not fake a monitor, Blender doesn’t run. It has always been like that - it just doesn’t work with some remote access software. TeamViewer works, Google Remote also works, but some just don’t work. Maybe try new Vulkan backend, maybe that works differently now. That’s in Preferences, System tab. It’s buggy though. I would just use Google Remote. It’s free, it works… (not in Linux though. In Linux you have to spend a day or two trying to fix it before it works(but it’s like with everything else so… I guess that’s fine))
This computer is a server I rented, it does not have a monitor, now I need it to automatically perform blender rendering operations, I can not remote it every time, please do you have any way to make blender OpenGL work or forge a monitor without remote?
You can use another remote access software, you can render from command line. You can also use Blender as Python module and render from a Python script…
What’s the situation? What kind of server? It seems like it’s Windows in your screenshot, isn’t it? What kind of rendering operations? For what purpose? What render engine? Why do you have to use VNC? By the way - what is VNC exactly? Which one? Do they all work the same?.. The info you provided is very vague. Cannot help much.
Sorry, I described the problem, is the Windows server, the configuration is shown in the figure, VNC is the server manufacturer background default to use a remote desktop protocol, I found that VNC protocol can not open blender, but RDP protocol can. It is not necessary to use VNC, the requirement is to perform rendering without being remote.
My current requirement is to make a render farm where the user submits a scene and automatically renders the result and posts it back. Currently, python is used to perform command line rendering. In the case of not remote, the same code, the default scenario, which EEVEE renderer and workbench renderer render will have OpenGL loading problems, cycles GPU will be able to render correctly.
Apparently Windows is not a particularly popular choice for servers… So it’s kind of hard to find anything about this.
The manual has a bit in it about this.
Headless Rendering
Headless rendering is not supported on headless Windows systems.
But it’s extremely weird and suspicious. Why would it say that? Why only that and nothing else?.. Does this mean only Windows, but other OSes are OK?.. Is it like not supported natively, but there maybe workarounds?.. Who knows.
Maybe this could be helpful?
Thank you. I guess I’ll have to find another way