vncconfig -nowin option

1,025 views
Skip to first unread message

Tim

unread,
Jul 13, 2015, 11:06:57 PM7/13/15
to tigervn...@googlegroups.com
In the past vncconfig used to be started from $HOME/.vnc/xstartup so the user could tweak it to use the -nowin option. Now it looks like it was moved into the /usr/bin/vncserver script with the -iconic option. I don't really want to see an extra window in the taskbar and sometimes I even close it by accident.

Is there a way to start it with the -nowin option instead, short of modifying /usr/bin/vncserver (which may not be possible if the user doesn't have root) or playing games in the startup script to kill it and restart it with the -nowin option?

For now I chose to edit /usr/bin/vncserver but maybe there is a better way to do it.

Thanks.

DRC

unread,
Jul 14, 2015, 12:11:12 AM7/14/15
to tigervn...@googlegroups.com
Personally, my vote would be to modify the vncserver script that ships
with TigerVNC and make it pass -nowin to vncconfig. I don't see much
practical benefit to starting vncconfig with -iconic. All it does is
give you the ability to disable/enable clipboard transfer at the server
end once the server is already started, but you can disable clipboard
transfer easily enough at the client end. Also, at least for me,
-iconic has never worked properly (vncconfig never starts iconified.)
> --
> You received this message because you are subscribed to the Google
> Groups "TigerVNC User Discussion/Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to tigervnc-user...@googlegroups.com
> <mailto:tigervnc-user...@googlegroups.com>.
> To post to this group, send email to tigervn...@googlegroups.com
> <mailto:tigervn...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tigervnc-users/56405258-185a-45cb-8adb-542d51037d81%40googlegroups.com
> <https://groups.google.com/d/msgid/tigervnc-users/56405258-185a-45cb-8adb-542d51037d81%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Pierre Ossman

unread,
Jul 30, 2015, 5:06:19 AM7/30/15
to Tim, tigervn...@googlegroups.com
It's hard coded so I don't see a nice way around it. But I've changed
the vncserver script in a5b37c0 to use -nowin instead.

Rgds
--
Pierre Ossman Software Development
Cendio AB https://cendio.com
Teknikringen 8 https://twitter.com/ThinLinc
583 30 Linköping https://facebook.com/ThinLinc
Phone: +46-13-214600 https://plus.google.com/+CendioThinLinc

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Tim

unread,
Jul 30, 2015, 11:48:20 AM7/30/15
to TigerVNC User Discussion/Support, oss...@cendio.se
Thank you for making the change.
Reply all
Reply to author
Forward
0 new messages