I've seen this post that describes the same problem I am facing, but the use case was somewhat different and the OP never updated the post with their solution.
I am attempting to run Synergy at boot, so that I can physically detach the keyboard and mouse all together from my Pi (3b+) and control it with my PC peripherals. I am fully aware of SSH, but this is how I wish to use it.
I've followed this tutorial to configure it, but it isn't working as expected. This is my autostart
file located in /home/pi/.config/lxsession/LXDE-pi/
:
@sh /home/pi/.startsynergy.sh
This is the contents of startsynergy.sh
as per the tutorial:
#!/bin/bash
killall synergyc
sleep 1
synergyc --name pi 192.168.0.16
exit 0
After creating the autostart
file and rebooting, I am presented with a black scree with only the cursor showing. I am able to do Ctrl + Alt + F1
to bring up the command prompt, and from there I can see that Synergy is in fact running from running ps -ef
, and it successfully connects to my server (my PC). The issue is the fact that the GUI is completely absent, and therefore renders Synergy useless.
Any help is greatly appreciated, I've been trying to fix this for a couple of weeks now, and have read through lots of different forums and articles to no avail. Thanks!