Sign in to follow this  
geoffwea

Change user - GUI stops

Recommended Posts

hi

I'm trying to change the user resilio-sync runs under from rslsync to osmc.

I've followed the instructions here https://help.getsync.com/hc/en-us/articles/206178924-Installing-Sync-package-on-Linux., and I can successfully change the user, however once changed I can no longer access the http GUI - page doesn't load....

Before rslsync user change

resilio-sync running as rslsync.JPG

After I edit file /usr/lib/systemd/user/resilio-sync.service and change "WantedBy=multi-user.target" to "WantedBy=default.target". Save. Then enable the service: systemctl --user enable resilio-sync

resilio-sync running as osmc.JPG

Reboot, and sudo service resilio-sync status indicates sync running well as osmc user- But no GUI ......coincided with change of user.

Do I need to make something executable to allow another part of sync to run, such as the tiny webserver which serves the GUI? If I look at service status mostly looks OK, except for 'failed to read PID from file'. Perhaps I need to make osmc user 777 on sync.pid?

resilio-sync service status.JPG

any suggestions, cheers, Geoff.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this