[systemd-devel] vncserver at .service
Antonio
anto.trande at gmail.com
Wed Jan 23 09:47:31 PST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>Well, whereever that file came from, it's wrong. systemd has built in
>tools to switch user and they should be used as things like runuser and
>su have a tendency to create their own sessions which is often not what
>you want.
Well, it is exactly a copy of '/lib/systemd/system/vncserver at .service'
on Fedora 17 ARM (like the one on Fedora 18), I have just edited
according to my needs.
So I think it's necessary an advisory on bugzilla.
>Try this:
>
>[Unit]
>Description=Remote desktop service (VNC)
>After=network.target
>
>[Service]
>Type=forking
>User=antonio
>Group=antonio
>ExecStartPre=-/usr/bin/vncserver -kill %i
>ExecStart=/usr/bin/vncserver %i -geometry 1024x600 -depth 24 -fp
>/usr/share/X11/fonts/misc
>ExecStop=/usr/bin/vncserver -kill %i
>
>[Install]
>WantedBy=multi-user.target
That's fine: http://www.fpaste.org/CQVS/
Thank you.
- --
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/
iQIcBAEBAgAGBQJRACIzAAoJED2vIvfUANbEvTYP/2yXWDeH3dm2oOgf3LwYkQ61
6LZRf1vaiCYuV9sFmj1zvVxsuqfEUW3UUrlFaYz974Qmm2QK11bnckbp682VujX6
Ldv1GiVb3jdSkGxmk1BsIJPzVd764eDVS9uCfzrDVLr61sGYZSOyBfdGPUpyKq2+
6GTrvg81htaqc3hH8ExmSJhoesbMiqeEIE+8vU6dCt2J7ZzGckQurPOFJLnXyYW7
I/7p570+Q9l9TSNRhuIJw2MAiP610oLCazhw3Pkb8n6mxVwbI9qkmI3alhYb9Ije
H+dcBZZYCkzINY5JxoDFJDhKS4bCS9CMcKN7s5YnP0QBIlQrUSkCARksd2CITkp3
GuzePCc0dq0BpFTN80Zo6g4veXEjU4rohmqgFsOkHXHdAS5OlZWvHDgOtmFpb6+D
oBfYW7pSPyY+FQd0idVwossrg6RczyVKN/+tsuDIYqTFBPr2yZoli4KSEbEPnSet
61i64epxLA8RxgS8rqdfN7p1Gsi4wSrZ8dMW3fubYMrrOpWKL/WBNidt2hH2wd4F
CJJjhWxPSi2bMQQHEYT97+Z2qZVg6BcDvIj76dlH7wXmuW22sLLtdb3vWsifjXIu
2eJEuQqYSAoQ/5/kDtQUpniqEfT12xSmbR4/U/4d+h7CRZJV/VksALWtpQotZZRj
w6WNA8spPEdvd1IzQg6j
=fbsr
-----END PGP SIGNATURE-----
More information about the systemd-devel
mailing list