Run opera as a different user

  • I have installed Opera 12.16 Build 1860 on Linux Mint and I need to run it as a different user in order to use iptables -m owner module on it.

    The commands i have tried:

    sux user1 opera;

    sudo user1; xhost localhost; opera;

    gksudo -u user1 opera;

    sudo -u user1 opera;

    But all those commands just return to the shell and do nothing, no errors or warnings show, opera doesn't open and "ps aux | grep opera" shows nothing. I tried adding -display 0:0 and it does the same. If I replace "opera" with "firefox" or any other command it runs fine.

    How can I run opera as a different user? Or add some verbosity to make it show why is not opening?

  • Just found that if i create the user using the linux mint "User Accounts" GUI, then it works fine. What could be different from using adduser command?

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.