VNC viewer position / geometry

30 views
Skip to first unread message

David Nemec

unread,
Jul 1, 2021, 1:20:09 PM7/1/21
to TurboVNC User Discussion/Support
Hi there,

i was already looking at TigerVNC and they have a function to move the window anywhere on any monitor + size

if i want to connect to 4 remote pcs and monitor them each in its quarter on  the second monitor

-geometry=960x540+1920+0
-geometry=960x540+2880+0
-geometry=960x540+1920+540
-geometry=960x540+2880+540

this works great , but sadly TigerVNC doesn't support window scaling/fit to window.

Could this position/size parameter be implemented in TurboVNC?


Thanks





DRC

unread,
Jul 5, 2021, 5:29:57 PM7/5/21
to turbovn...@googlegroups.com
TurboVNC 3.0 (pre-release builds available here:
https://turbovnc.org/DeveloperInfo/PreReleases) includes a feature that
allows you to connect to multiple VNC servers with a single command line
(this can be accomplished by separating the various VNC display names,
and arguments specific to each, with --) and then tile all of the
connection windows.

Please give that feature a try and let me know if it is an effective
solution for your workflow.  I can make minor improvements to it if
necessary.  (I'm not sure, for instance, if the feature adequately
supports multiple screens at the moment, but I'm willing to make that
improvement.)

DRC

David Nemec

unread,
Jul 6, 2021, 1:11:10 AM7/6/21
to TurboVNC User Discussion/Support
Hi, 

the issue is not the multiple connections,  that already works.
The question is, how to move the viewer window to a specified location and specified size
vncviewer_rqCG9IM8rT.png

if i use the command
vncviewer.exe 192.168.248.131 /fitwindow /desktopsize 960x540+1920+0
vncviewer.exe 192.168.248.131 /fitwindow /desktopsize 960x540+1920+540
vncviewer.exe 192.168.248.131 /fitwindow /desktopsize 960x540+2880+0
vncviewer.exe 192.168.248.131 /fitwindow /desktopsize 960x540+2880+540

the window still opens on my first monitor, original size (left part of the screenshot), instead of being opened on the second monitor (+1920 shift to the right) with the size 960x540
right part of the screenshot is the desired outcome, that can not be achieved by any of the command line options present in the /help window 

Thank you :)

DRC

unread,
Jul 6, 2021, 11:43:37 AM7/6/21
to turbovn...@googlegroups.com

The -desktopsize argument controls the TurboVNC Server session's virtual screen geometry, not the TurboVNC Viewer's window size/position.  The TurboVNC Viewer does not currently have an argument that does the latter.  However, what I'm saying is that the TurboVNC 3.0 Viewer already has a set of features intended to address your workflow in a more intuitive/user-friendly way.  That set of features was funded by a company that is doing exactly what you are trying to do.  Rather than manually specify the size/position of all VNC connection windows, the TurboVNC 3.0 Viewer can automatically arrange those windows in a tiled pattern.  This is more flexible than your approach, because it allows you to temporarily maximize a single connection window in order to examine it in more detail, then you can press a hotkey to re-tile it with the other windows.  Combined with automatic scaling, this effectively lets you "zoom in" on a specific connection window and then zoom back out to see all connection windows.

If the current window tiling feature in the TurboVNC 3.0 Viewer needs improvements, such as better multi-screen support, then I am happy to make those improvements.  However, from my point of view, a TigerVNC-style -geometry argument is unnecessary, since we already address the same problem in a different way.  Thus, I am not willing to devote any of the TurboVNC General Fund toward implementing such a -geometry argument.  That money is better spent improving the existing window tiling feature.

Your choices are:

1. Test the tiling feature in the TurboVNC 3.0 Viewer and give me feedback regarding any improvements needed in order to support your workflow.  (For instance, that feature could be made to respond to the -span argument, thus allowing the screen real estate of all monitors to be used when tiling.)

2. Provide specific funding for the implementation of a -geometry argument in the TurboVNC 3.0 Viewer.

DRC

--
You received this message because you are subscribed to the Google Groups "TurboVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbovnc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/fc8a1c8b-7bf5-41c6-81e3-44ecf3ce2bb5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages