For security reasons, I would like to run Firefox under a different (underprivileged) account. I thought it would be as easy as setting up a user and then run with gksudo
, but it appears that there is more to it. What am I doing wrong?
tkn@tkn-desktop-ubuntu $ sudo useradd tkn-firefox
tkn@tkn-desktop-ubuntu $ gksudo -u tkn-firefox firefox
No protocol specifiedError: cannot open display: :0.0
I'm guessing that the user doesn't get access to X11 for some reason, but shouldn't gksudo
do that?