FS#42703 - [tigervnc] modify vncserver.service to correct "no session for pid xxxxx" warning
Attached to Project:
Community Packages
Opened by John (graysky) - Friday, 07 November 2014, 10:30 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 02 March 2015, 16:16 GMT
Opened by John (graysky) - Friday, 07 November 2014, 10:30 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 02 March 2015, 16:16 GMT
|
Details
Since updating to lxsession-1:0.5.0-1, starting an
lxde-session via the systemd service causes an error upon
startup that reads, "Error: No session for pid xxxxx." When
I `ps aux | grep xxxxx` the offending pid belongs to
lxpolkit. For example:
% ps aux | grep 30426 facade 30426 0.1 0.4 252236 18012 ? Sl 16:40 0:00 lxpolkit Modifying the included /usr/lib/systemd/system/vncserver.service as follows fixes the problem (see attached) and see see I also do not believe that this file should be provided in /usr/lib/systemd/system since the user needs to modify it inserting the correct username. Shouldn't this file go into /usr/share/tigervnc or the like with instructions to cp it with the modification to /etc/systemd/system? |
This task depends upon
Closed by Sergej Pupykin (sergej)
Monday, 02 March 2015, 16:16 GMT
Reason for closing: Fixed
Additional comments about closing: type=simple and -fg added
Monday, 02 March 2015, 16:16 GMT
Reason for closing: Fixed
Additional comments about closing: type=simple and -fg added
FS#42425and as in the proposed service I attached.