tigervncserver wrapper does not handle -query option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tigervnc (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
The wrapper script "tigervncserver" does not handle the "-query" option of Xtigervnc correctly.
When called as "tigervncserver :2 -name desktopname -query localhost -noxstartup" it correctly passes "-query" on to Xtigervnc, but fails to pass the corresponding "localhost" argument to the Xtigervnc sever, resulting in failed server start. Furthermore, the argument to "-query" is confused as session parameter or other parameter meaningful to the wrapper script.
Root cause seems, that the parameter "-query" is completely missing from the list of expected parameters.
The following change would fix the problem:
diff -u -r tigervnc-
--- tigervnc-
+++ /usr/share/
@@ -494,6 +494,7 @@
# Backward compatible configuration file option for fp
[ 2, 'fontPath=s' => 'fontPath' ],
# Options only for tigervncserver
+ [14, 'query=s' => 'query' ],
[14, 'geometry=s' => sub {
if (@_ == 2) {
my $geometry = $_[1] // "undef";
@@ -565,6 +566,7 @@
[ 4, 'noxstartup' => sub {
if (@_ == 2) {
+ &{$override}
} elsif (defined $options-
return !defined $options-
} else {
First change adds the missing option and fixes the failing server startup.
Second change fixes the related bug, that specifying the "-noxstartup" option results in killing a server moments after it has completed startup, due to no session process remaining.
I am not sure what is the preferred way to propose a fix. Please advise if I should open a pull request somewhere or what else is the correct way.
Distribution version:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
Package:
Package: tigervnc-
Version: 1.12.0+dfsg-4
State: installed
The attachment "Fix for this bug (query option not supported by tigervncserver)" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]