I'm trying to run Firefox via xvfb on a remote VPS. However I'm running into some permission issues, and it sounds like when using xvfb it's running as root (as it's referencing user with id 0
).
How can I get firefox to successfully run?
While logged into a non root user, I'm using xvfb-run firefox
as the command which is resulting in the following error being constantly displayed in terminal:
(firefox:14843): dconf-CRITICAL **: 12:15:56.021: unable to create directory '/run/user/0/dconf': Permission denied. dconf will not work properly.
I'm using Ubuntu 20.04.4 LTS