Syncthing – Easy setup for root user to sync without running syncthing as root.

How to su as another user and then use GTK / Xwindows programs.

https://www.thegeekdiary.com/how-to-set-x11-forwarding-export-remote-display-for-users-who-switch-accounts-using-sudo/

Steps referenced from the above link:

GET MAGIC COOKIE

Run the following command and save the result somewhere.

GET DISPLAY

Run the following command and save the result somewhere.

SU to the user you wish the run the GTK / Xwindows application as.

Run your GTK / X-Windows app

Add Your Heading Text Here

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.