Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48064 - [tigervnc] .service file broken by default.

Attached to Project: Community Packages
Opened by Eric Toombs (ewtoombs) - Sunday, 07 February 2016, 10:12 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 09 March 2016, 19:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The -fg switch is specified by default, which causes the server to terminate as soon as the ~/.vnc/xstartup process exits. Because of this, systemctl start vncserver@:display.service never returns, since systemd keeps waiting for vncserver to fork. Either the -fg switch needs to be removed or the service type needs to be changed to simple. I'd personally prefer removing the -fg switch since it causes systemctl start to return as soon as vncserver is started. That's what I did.

Also, a step in the instructions telling users to go through the first time configuration before doing anything is a good idea. Something like

1. Run "vncserver :display" manually as the user this service will be running under. This does the first-time configuration.
2. Copy this file to etc. etc.

Finally, xorg-xinit, twm, and xterm should be added as optional dependencies since the default configuration assumes they exist.


Additional info:
* version 1.6.0-1


Steps to reproduce:
Do first time configuration by running vncserver :display manually.

Follow instructions in /usr/lib/systemd/system/vncserver.service.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 09 March 2016, 19:23 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Wednesday, 09 March 2016, 19:23 GMT
type changed to simple in svn/trunk only, will appear on next build

Loading...