30.04.2020 11:48, Roger Oberholtzer пишет:
Hi
I am using vncviewer to connect to an openSUSE (42.3) system that does not have a connected display/keyboard/mouse. Generally it works very well. I access the desktop that would have been seen on the remote system if it had a display.
But I would not just be posting a happy 'it's working' message (even if I think they are not a bad thing...). Now would I.
The size of the local window with the desktop is whatever size the remote X thinks it's display is. When there is no display attached, it uses some default smaller size. Probably 800x600 or something like that.
Is it possible to tell X what the resolution should be when no display is found?
Did you try Option "PreferredMode" in monitor section of xorg.conf? It may work. My understanding is that without physical display connected you can only select standard default modes, but probably that is enough.
Of course I would like the discovery when a display is attached to be done. This is just when X starts without a display, or is otherwise unable to determine the display size to use.
This is normally handled by your desktop environment in response to hotplug event.
I have looked at these types of things:
https://askubuntu.com/questions/453109/add-fake-display-when-no-monitor-is-p...
Setting it with xrandr would always override the resolution whatever any real display indicated. I want it to be when no display is detected.
You could try to set modes only if nothing is connected, similar to https://wiki.archlinux.org/index.php/Xrandr#Toggle_external_monitor
Dome file added to the X setup?
I can only think of PreferredMode, but the question is good. Could you provide Xorg.log and xrandr --verbose output when booted without physical monitor connected? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org