Bug 819865
| Summary: | vncserver is not starting automatically on server boot | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Avi Alkalay <avibrazil> | ||||||
| Component: | tigervnc | Assignee: | Adam Tkac <atkac> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 16 | CC: | atkac, ovasik | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-05-08 12:40:55 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Avi Alkalay
2012-05-08 12:26:17 UTC
Created attachment 582975 [details]
The output of 'systemctl show vncserver@:5.service'
Simply opening bugs leads to further investigation that leads to solving the "bug". I found that a simple 'systemctl enable vncserver@:5.service' will setup proper links which makes the service startable on boot. I think this could be documented on the service file so I'll attach a patch. Thank you and closing the bug. Created attachment 582981 [details] Simple documentation patch on how to enable the service on boot The patch is so simple I'll paste it here too so people can see it without dettaching the file: # diff /lib/systemd/system/vncserver@.service.old /lib/systemd/system/vncserver@.service 7a8 > # 4. Run `systemctl enable vncserver@:<display>.service` fortal:~# diff -Naur /lib/systemd/system/vncserver@.service.old /lib/systemd/system/vncserver@.service --- /lib/systemd/system/vncserver@.service.old 2012-05-08 09:41:51.145989789 -0300 +++ /lib/systemd/system/vncserver@.service 2012-05-08 09:42:47.473698069 -0300 @@ -5,6 +5,7 @@ # 2. Edit <USER> and vncserver parameters appropriately # ("runuser -l <USER> -c /usr/bin/vncserver %i -arg1 -arg2") # 3. Run `systemctl daemon-reload` +# 4. Run `systemctl enable vncserver@:<display>.service` # # DO NOT RUN THIS SERVICE if your local area network is # untrusted! For a secure way of using VNC, you should |