You are not logged in.

#1 2013-04-09 01:26:17

xcabal
Member
Registered: 2012-07-26
Posts: 48

systemd synergys

i have got a strange issue with systemd starting synergys, i have set it using synergy itself and can access the computers when i run the command with any problems but when i try and get systemd to start it nothing happens and when i check the status under systemctl i get

 synergys.service - Synergy Server Daemon
	  Loaded: loaded (/usr/lib/systemd/system/synergys.service; disabled)
	  Active: failed (Result: core-dump) since Mon 2013-04-08 21:16:49 EDT; 7min ago
	 Process: 5800 ExecStart=/usr/bin/synergys (code=exited, status=0/SUCCESS)
	Main PID: 5801 (code=dumped, signal=SEGV)
	  CGroup: name=systemd:/system/synergys.service

 

and when i check journalctl -xn i get this

Apr 08 21:25:11 z synergys[12884]: Synergy 1.4.10: 2013-04-08T21:25:11 DEBUG: XOpenDisplay(":0.0")
Apr 08 21:25:11 z synergys[12884]: Synergy 1.4.10: 2013-04-08T21:25:11 WARNING: primary screen unavailable: unable to open scr
Apr 08 21:25:11 z synergys[12884]: Synergy 1.4.10: 2013-04-08T21:25:11 DEBUG: retry in 60 seconds
Apr 08 21:25:11 z kernel: synergys[12884]: segfault at 0 ip 0000000000449fa9 sp 00007fffa49b8410 error 4 in synergys[400000+cb
Apr 08 21:25:11 z sudo[12880]: pam_unix(sudo:session): session closed for user root
Apr 08 21:25:11 z systemd[1]: synergys.service: main process exited, code=dumped, status=11/SEGV
Apr 08 21:25:11 z systemd[1]: Unit synergys.service entered failed state

anybody have an idea what to do to get systemd to start it

Offline

#2 2013-04-09 08:55:59

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: systemd synergys

It needs X to be running.

Obviously this may depend on your DE etc., but I start it as a user service. See the wiki on systemd for User services - it's pretty much an all or nothing thing.

If you don't use systemd --user to start your X environment, you can put a call to start it in .xinitrc (or DE equivalent).


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#3 2013-04-09 13:36:29

xcabal
Member
Registered: 2012-07-26
Posts: 48

Re: systemd synergys

skanky wrote:

It needs X to be running.

Obviously this may depend on your DE etc., but I start it as a user service. See the wiki on systemd for User services - it's pretty much an all or nothing thing.

If you don't use systemd --user to start your X environment, you can put a call to start it in .xinitrc (or DE equivalent).

I am trying to run it within my DE which is xfce but i will look into it what you suggested

im unable get it to run with systemd but running it from the terminal works and from the gui works fine

Last edited by xcabal (2013-04-09 21:22:33)

Offline

Board footer

Powered by FluxBB