I'm trying to configure synergy to autostart. I'm wondering if someone can point me as to where I can find the equivalent to xdm/Xsetup xdm/Xstartup xdm/Xsession in xfce4.
I don't know if this replies to your question but I just go to configuration > Applications for autostart. There you can choose the commands to execute in autostart.
I have a related problem. I have added synergy to the autostart control panel, but sometimes synergy crashes so some kind of check and restart would be helpful, and I'd really like to have it start before I log in so I can login via my other PC (acting as server). I've seen how to do this for Gnome, but not for XFCE.
P.S. I'm running Linux Mint Debian XFCE (4.8)
I've got it added to the autostart, but I'd really like to have it start with xdg so i can use my keyboard and mouse to login, right now synergy only starts once I authenticate and xfce4 session starts. Anyone get this working? It seems that KDE and Gnome can do it.
Fedora core 17, xdg/xfce4
You mean xdm?
Try placing a script in /etc/X11/xinit/xinitrc.d (remove the auto-start from the Xfce session so it won't start twice).
I know this will be the third revival of this thread but I've got mine up and running before login
you need two scripts, one to load synergy for use in the login screen and another for use after logging in.
the greeter setup script is the one that will run before a user logs in so Synergy client will connect to the Synergy server and use its mouse and keyboard to login.
I named my scripts lightdmgreeter.sh and lightdmsession.sh
They can each have the same contents. Having seperate scripts allows you to add more services to either one later if you need to.
my script is as follows:
#!/bin/sh # # use this script to start services before user login. # # Kill any running Synergy client wait and start a new client /usr/bin/killall -9 synergyc sleep 1 /usr/bin/synergyc <ip-address-of-server> exit 0
you have the following lines in /etc/lightdm/lightdm.conf:
greeter-setup-script=<location of your script>
session-setup-script=<location of your script>
My install of Synergy had a lightdm.conf file with all option lines present but commented out. If you have this just look for the above lines, uncomment them and add the location of your script.
I placed my scripts in my '/home/<usr-name>/' directory, so my lines read as follows:
On a side note I've had issues starting the Synergy server on my Debian XFCE box. It started before login fine when I was running SolusOS but I've not been able to get it to start properly since I've changed to Debian XFCE. Synergy works just fine after login but using the greeter and session scripts in LightDM to start Synergy server has given me issues with startup before login and after login.
Below is a link to the thread where I've been discussing my issue: