• 1 Post
  • 4 Comments
Joined 2 years ago
cake
Cake day: December 4th, 2023

help-circle
  • Gordon_F@lemmy.mlOPtoLinux@lemmy.mlRun `tor-browser` as another user ??
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    3 days ago

    I create also a “regular user” TorUser2
    To see if it generate the same problems
    This user have the .Xauthority file.\

    # as root user
    runuser -u TorUser2 -- /opt/tor-browser/start-tor-browser.desktop
    

    return Launching ‘./Browser/start-tor-browser --detach…’
    and ps -u TorUser2 return nothing…


    I’ve tried also

    runuser -l TorUser2 -c '/opt/tor-browser/start-tor-browser.desktop'
    

    /usr/bin/env: ‘./Browser/execdesktop’: No such file or directory



  • Thank you @mina86@lemmy.wtf I’ve look where point the $XAUTHORITY but it point to another user /home/<aUser>/.Xauthority and to give access to the file I have to change also the permission on the parent folders… not to hot to do so…

    I see also the TorUser do not have a file .Xauthority ! I’ve look how generate one for it, but I found no good documentation ! They show how do it once logged with TorUser ! but mine is not meant to be used to login on the system…