Set X11 geometry/title of vncviewer

128 views
Skip to first unread message

Brent W. Baccala

unread,
Sep 17, 2020, 3:39:38 PM9/17/20
to TurboVNC User Discussion/Support
Hi -

Is there any way to set the X11 geometry and title of the TurboVNC vncviewer from the command line?

vncviewer -geometry +0+0 -title MyTitle   doesn't seem to work.

DRC

unread,
Sep 17, 2020, 4:41:06 PM9/17/20
to turbovn...@googlegroups.com
What are you trying to accomplish, specifically?

DRC

unread,
Sep 17, 2020, 4:43:42 PM9/17/20
to turbovn...@googlegroups.com

The reason I ask is that there are a couple of ways to change the geometry, but I need to know what your desired workflow is first.  Are you using the TurboVNC Server?  Do you care about automatic desktop resizing, or do you want a static geometry?

On 9/17/20 2:39 PM, Brent W. Baccala wrote:

Brent W. Baccala

unread,
Sep 18, 2020, 11:52:32 AM9/18/20
to TurboVNC User Discussion/Support
I'm positioning the clients in a grid to see all of the student desktops in a virtual classroom.  So I want a static geometry with scaling specified on the command line.  Also, when the presenter clicks on a student window they get connected to that desktop using another, full-screen viewer.  So I also need to set the window's title, because the window manager uses the title of the window to determine which student desktop to connect with.

DRC

unread,
Sep 18, 2020, 12:04:49 PM9/18/20
to turbovn...@googlegroups.com

You can set the static geometry in one of two ways:

1. Pass '-geometry WxH' to /opt/TurboVNC/bin/vncserver when starting the session, then pass '-desktopsize server' to the viewer when connecting.

2. Pass '-desktopsize WxH' to the viewer when connecting.

You can set the TurboVNC desktop title by passing -desktop to /opt/TurboVNC/bin/vncserver when starting the session.  There may be a way to change the title on the client, but that isn't a feature of the TurboVNC 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/cea6b1e3-b29f-4f67-8f90-b5c074b18ec1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages