Hello,
vncserver script currently doesn't allow +<option> switches to be
specified before :X display number:
$ vncserver +bs :1
I would like to commit attached patch which allows those options.
What is your opinion about it?
Regards, Adam
--
Adam Tkac, Red Hat, Inc.
diff -up tigervnc-1.0.90-20100420svn4030/unix/vncserver.opts
tigervnc-1.0.90-20100420svn4030/unix/vncserver
--- tigervnc-1.0.90-20100420svn4030/unix/vncserver.opts 2010-06-24
14:53:38.337657379 +0200
+++ tigervnc-1.0.90-20100420svn4030/unix/vncserver 2010-06-24
14:53:59.817609767 +0200
@@ -176,7 +176,7 @@ if ((@ARGV > 0) && ($ARGV[0] =~ /^:(\d+)
if (!&CheckDisplayNumber($displayNumber)) {
die "A VNC server is already running as :$displayNumber\n";
}
-} elsif ((@ARGV > 0) && ($ARGV[0] !~ /^-/)) {
+} elsif ((@ARGV > 0) && ($ARGV[0] !~ /^-/) && ($ARGV[0] !~ /^+/)) {
&Usage();
} else {
$displayNumber = &GetDisplayNumber();
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel