Viewport/screen size options on mobile devices

326 views
Skip to first unread message

Glenn Newell

unread,
Apr 16, 2021, 10:34:42 PM4/16/21
to noVNC
Where is the documentation for viewport/screen size/scaling etc. options for mobile devices (iOS and Android)?

As it is, the VNC server screen size is larger than the mobile device screen size, so mobile users only get the upper left corner of the screen and there doesn't seem to be any way to navigate or zoom, etc. to see the full screen or another portion of the screen.

I think it would be preferable to have the full VNC server screen to be scaled into the mobile device screen size (or maybe just the width?). And or the screen should scoll with client side pointer movements.

What are my options, and were to make those changes?

The is astroberry, if that makes a difference.

Currently the VNC server screen is 1920x1080 and there is a Python GUI I need to use that won't work well on a smaller screen resolution (it doesn't scale).


Samuel Mannehed

unread,
Apr 19, 2021, 9:13:43 AM4/19/21
to Glenn Newell, no...@googlegroups.com
Hi Glenn,

> Where is the documentation for viewport/screen size/scaling etc.
> options for mobile devices (iOS and Android)?

There is none I'm afraid.

> As it is, the VNC server screen size is larger than the mobile device
> screen size, so mobile users only get the upper left corner of the
> screen and there doesn't seem to be any way to navigate or zoom, etc.
> to see the full screen or another portion of the screen.
>
> I think it would be preferable to have the full VNC server screen to
> be scaled into the mobile device screen size (or maybe just the
> width?). And or the screen should scoll with client side pointer
> movements.
>
> What are my options, and were to make those changes?

The static scaling mode in the GUI settings should work fine, didn't you
try that? These settings are found by pressing the cogwheel in the
taskbar of noVNC.

Dynamic zooming isn't supported yet.

If you prefer to keep the size of the remote screen you should be able
to use "Viewport drag" (the hand icon). When that button is enabled
it lets you click and drag your view of the screen when the local
viewport is smaller than the remote screen.

Viewport drag is only available if "Clip to window" is enabled. It
should always be forced enabled on iOS and Android however.

Lastly you have the "remote resize" mode in the scaling options. That
will, if your VNC server supports it, resize the remote screen to fit
your browser window.

> The is astroberry, if that makes a difference.

I have no idea what astroberry is, can't say if it makes a difference.

Regards,
--
Samuel Mannehed Software Development
Cendio AB https://cendio.com
Teknikringen 8 https://twitter.com/ThinLinc
583 30 Linköping https://facebook.com/ThinLinc
Phone: +46 13 214 600
Reply all
Reply to author
Forward
0 new messages