[opensuse] vncviewer and displayless remote
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? 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. 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. Dome file added to the X setup? -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/30/2020 03:48 AM, Roger Oberholtzer wrote:
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? 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.
Short answer is yes. Check your ~/.vnc/config and you can set the display geometry there. I use: securitytypes=vncauth,tlsvnc desktop=stpdsktop geometry=1440x864 localhost alwaysshared -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, Apr 30, 2020 at 2:19 PM David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
Short answer is yes. Check your ~/.vnc/config and you can set the display geometry there. I use:
securitytypes=vncauth,tlsvnc desktop=stpdsktop geometry=1440x864 localhost alwaysshared
If this on the client or the display server? If on the server, this does change the size of the window on the client. But it does not change the size of the image in that window. I will check this when I once again have access to the machines in question. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/30/2020 07:34 AM, Roger Oberholtzer wrote:
If this on the client or the display server? If on the server, this does change the size of the window on the client. But it does not change the size of the image in that window.
I will check this when I once again have access to the machines in question.
Sorry, This is on the server where vncserver is started -- sorry for the confusion. I suspect you are using the tigervnc package and have the server installed on one box (no monitor) and the view on the one you connect to it with. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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? 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.
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. Dome file added to the X setup?
I still miss description what exactly is running on server. It can only vaguely be assumed that this is something using RFB protocol (as you mention vncviewer). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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
04.05.2020 12:35, Andrei Borzenkov пишет:
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.
Sort of worked for me in QEMU. I do not know how to emulate disconnected video output, but starting qemu with "-display none" resulted in different resolution than normally (I set 1280x960 and here Xorg run with 1024x768). Setting PreferredMode to 1280x960 worked.
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
participants (3)
-
Andrei Borzenkov
-
David C. Rankin
-
Roger Oberholtzer