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!
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!
FS#47664 - [synergy] systemd service fails when Xorg display is not :0.0
Attached to Project:
Community Packages
Opened by Russell Johnston (rpjohnst) - Friday, 08 January 2016, 06:10 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 23 April 2016, 23:36 GMT
Opened by Russell Johnston (rpjohnst) - Friday, 08 January 2016, 06:10 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 23 April 2016, 23:36 GMT
|
DetailsDescription:
The provided systemd service runs synergyc as a user, but systemd (rightly) does not provide it with that user's environment. This means that when the user's X server runs on a display other than synergy's default of :0.0 (as is the default with Gnome, for example), synergy fails with the message: DEBUG: XOpenDisplay(":0.0") WARNING: primary screen unavailable: unable to open screen I believe the ideal solution would be to install the package's unit files in /usr/lib/systemd/user instead of /usr/lib/systemd/system, so that it can be enabled as a systemd user service, thus inheriting DISPLAY and XAUTHORITY as detailed here: https://wiki.archlinux.org/index.php/Systemd/User#DISPLAY_and_XAUTHORITY Additional info: This is with the stock synergy package, version 1.7.5-2. |
This task depends upon
Closed by Levente Polyak (anthraxx)
Saturday, 23 April 2016, 23:36 GMT
Reason for closing: Fixed
Additional comments about closing: 1.7.6-2
Saturday, 23 April 2016, 23:36 GMT
Reason for closing: Fixed
Additional comments about closing: 1.7.6-2
Comment by Levente Polyak (anthraxx) -
Saturday, 23 April 2016, 23:35 GMT
after update, use systemctl --user start synergys