I've unfortunately managed to lock myself out of my own playground (Raspberry Pi 4B, Raspbian Buster) after attempting what was originally going to be a solution to autostarting a network-kvm (synergy) script at bootup for more convenient use.
I had not been able to get the client application of Synergy to connect to my server, so I read that the X11 "Xsession" script may likely be the culprit. Within /etc/X11/Xsession
I foolishly placed a one-liner to run my client application once screen control was inherently established:
/usr/bin/killall synergyc sleep 1 /usr/bin/synergyc synergy-server
Unfortunately, I am now prompted with a login screen for my one single user "pi" which would normally automatically boot up. This was my super-user account where I'd just sudo whatever I needed root credentials for. It accepts the password, but boots me right back out to the login screen again, presumably when killall
is executed again.
Is there a way to revert back to a particular time from today to boot the system back into? I have Shift keyed into Recovery Mode but Raspbian, as far as I can tell, only allows me to reload the OS. Is there a way to modify this Xsession script otherwise, or am I pretty much S.O.L. here?
Thanks