Error in Connecting to VNC Server Using SSH #25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
(Migrated from https://bugzilla.redhat.com/show_bug.cgi?id=1412493)
Description of problem:
The current Fedora 25 systemd will error if you start a unit with the line
"ExecStart=/sbin/runuser -l user -c "/usr/bin/vncserver -localhost %i"" when you have edited the user details.
Version-Release number of selected component (if applicable):
Draft Fedora 25 Administrators Guide Edition 1
How reproducible:
Every time
Steps to Reproduce:
Actual results:
/sbin/runuser can only be run by root
Expected results:
vnc server starts
Additional info:
I think the problem is created as the vncserver@.service file set the process owner as defined in the line "User=". When I have set that to a non-root user name the file errors.
The standard file line "ExecStart=/usr/bin/vncserver %i" works fine. The errata seems to be a hangover from the old file structure.
mentioned in merge request !53