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#41050 - [synergy] Allow service to be run as a non-root user

Attached to Project: Community Packages
Opened by Trygve Aaberge (trygveaa) - Tuesday, 01 July 2014, 18:22 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 03 July 2014, 13:12 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I run a single user system and would like to run synergys as my own user, instead of as root. Please add a synergys@.service (and synergys@.socket) with the option "User=%i" so that this would be possible.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 03 July 2014, 13:12 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 02 July 2014, 00:58 GMT
Please create a working patch for this and I shall add it.
Comment by Trygve Aaberge (trygveaa) - Wednesday, 02 July 2014, 01:32 GMT
Here you go (this is with the change requested in  FS#41049  applied as well).
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 02 July 2014, 11:53 GMT
Do you reckon these should be additional or exclusive? Does it even make sense to run synergy as a system daemon I wonder? Probably not.
Comment by Trygve Aaberge (trygveaa) - Wednesday, 02 July 2014, 12:47 GMT
Well, root always has access to the X server, while if you run it as another user, it has to be the user that runs the X server. So maybe it would be useful if it's not always the same user that runs the X server. Though you could always specify root as the user to the @-services.

At least on a single user system that always runs X, it makes sense to run synergys as a system daemon IMO.
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 03 July 2014, 13:11 GMT
I chose to replace them with the @ ones as not even the wiki mentioned the non-@ ones and in fact suggests users to make their own @ services. This is obviously the wrong way. Now they are provided in the package.

Loading...