Richard Shaw wrote:
On Fri, Apr 27, 2012 at 3:05 PM, Mike
Wright<mike.wright(a)mailinator.com> wrote:
> Hi all,
>
> While trying to get vncserver working I found this within
>
> /lib/systemd/system/vncserver@.service file.
>
> /usr/bin/vncserver %i
>
> What is %i?
>
> Can anybody explain from where this syntax derives?
It appears the "@" allows the service to run multiple instances, which
I can see as a good thing for vnc. In order to start the service I
think you'll need to name your instance, i.e.:
systemctl start vncserver(a)<my_instance_designator>.service
and the "%i" will resolve to your instance designator.
Or that's what this link[1] said :)
Thanks for finding that obscure reference. Pity it isn't in the man page where
mere mortals could find it. :-(
--
Bill Davidsen <davidsen(a)tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot