t-paul / fritzing-dev-build

Docker based dev build setup for fritzing
Other
0 stars 0 forks source link

Run.sh messes up .Xauthority. Changes owner to root:root, prevents Xorg logins. #2

Open NormanDunbar opened 4 months ago

NormanDunbar commented 4 months ago

Hi, it's me again!

System: Linux Mint 21.3 Virginia 64 bit. Cinnamon desktop.

I have successfully built and executed Fritzing 1.03 using your Docker system, thanks. Unfortunately, whenever I run the run.sh script, it changes ownership of the ~/.Xauthority file from norman:norman to root:root. This prevents subsequent logins using an Xorg greeter. Wayland is fine though, so I was able to get logged in and investigate.

What happens is I get the greeter, enter my username and password, and the screen goes blank before returning back to the greeter screen. Repeat forever. It looks like the call to xauth in bash -c 'export HOME="/home/${USER}" && xauth add $COOKIE && /fritzing/Fritzing' is the culprit. Unfortunately, it won't run if I remove that call.

:(

Cheers, Norm.