[systemd-devel] vncserver at .service
Antonio
anto.trande at gmail.com
Wed Jan 23 05:48:48 PST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all.
In /lib/systemd/system/vncserver at .service file, I read how to edit it
to create a 'service unit file'.
These lines
>ExecStart=/sbin/runuser -l <USER> -c "/usr/bin/vncserver %i"
>ExecStop=/sbin/runuser -l <USER> -c "/usr/bin/vncserver -kill %i"
consider the use of 'runuser' command that causes an error when I try
to start 'vncserver at .()service':
>runuser: cannot set groups:Operation not permitted.
The only way, by which I can avoid it, is by erasing 'runuser' from
Exec* lines:
>ExecStart=/usr/bin/vncserver %i
>ExecStop=/usr/bin/vncserver -kill %i
But this changes extremely the 'vncserver' launch.
What's the cause of the runser error ? It seems me a permission issue
even if the instructions in 'vncserver at .service' do not cite that.
Regards
- --
Antonio Trande
"Fedora Ambassador"
"Fedora italian translation group"
"Blogger"
mail: mailto:sagitter at fedoraproject.org
Homepage: http://www.fedora-os.org
Sip Address : sip:sagitter AT ekiga.net
Jabber :sagitter AT jabber.org
GPG Key: D400D6C4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJQ/+o6AAoJED2vIvfUANbE6tYQALCEp3AyXE9xsNY/ZWF133S+
0Uxy1oduUEOgGp0fJugnyWDae6zQj20VWlUHXAQDNg6sNiNEq6/89EiObu/XLJJq
p0cpx8nswxD7bHdrgyUJlVLLA00XW5zNXlkPImEmQkrh1T8rPLsWyUa+Qi/ZZDet
L9t40akm1JFGj06Sv0hATw0aRF9oDLB7CnjvLzQac4tKIJ6ho5FfEMICe4L39xsX
nQJadnj9ldAXLe43dEZwvz4Ourx24NiUVNIT0S/pHMAKHDZchzZLjnCaoMhKnUIW
r2ny216c4Ibd5zLaLiVy7h9crZcUCsy704mYQuPAh/dxCPdBjM/dNXgQW9YFaIbr
vCTGXLK/WgiR28vJFhjfeyuVIunqmvREWL48U2rpXTYFWrgb1OcqQIseWFyFIF0V
F6iU3qnf8ATDC+OjU63pd8u4Fh0osl6NjJiDqvLr5Z7A1Ym5WWcqUX+rehpG9k6n
2p9omaMGrc9AJiEJ4U/XEP8RFcp5CyoydfUlQHjKQ/ucC1n/Dfx22eMJ09uK5akY
EsdVc4lncZt/4L+wuFhlZ+V/PmrA/hFwXpfaakHf+6+j8SuFqECzfryLVq/ih/Qb
OJzBpjR/WcZDsqW7k/Gkh46PIetqrVyHqIyjFkgmHpXBvokCZ1SbjR2jWe+LKm0F
pYSSqzUEbCpyMS+TzgVH
=GuPd
-----END PGP SIGNATURE-----
More information about the systemd-devel
mailing list