Change user - GUI stops


geoffwea

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.