Ok so I have managed to change the error TYPE we now have
chromium-browser
Fontconfig warning: "/etc/fonts/fonts.conf", line 82: unknown element "blank"
[3374:3394:0718/073213.296627:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/user/1001/: Connection refused
[3374:3394:0718/073213.296889:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/user/1001/: Connection refused
Opening in existing browser session
ls -al /run/user/1001
total 0
drwx------ 2 tc staff 40 Jul 18 07:26 ./
drwxr-xr-x 3 root root 60 Jul 18 07:26 ../
browser is working. Changes to get a little messy as I have unpacked the install script and got confused with who I was.
Lets try to get this right?
as root...which may be install script
USER=`cat /etc/sysconfig/tcuser`
if [ ! -d /run/user/$(id -u "$USER") ]; then
mkdir -p /run/user/$(id -u "$USER")
chown "$USER":staff /run/user/$(id -u "$USER")
chmod 700 /run/user/$(id -u "$USER")
fi
su -c "XDG_RUNTIME_DIR=/run/user/$(id -u "$USER") &&
export XDG_RUNTIME_DIR" $USER
right test as a local user
env | grep XDG
XDG_RUNTIME_DIR=/run/user/1001
Check....looks good
Now I try to setup a session dbus like this as a local user
tc@box:~$ export DBUS_STARTER_BUS_TYPE="session"
tc@box:~$ export DBUS_STARTER_ADDRESS="unix:path=/run/user/1001"
tc@box:~$ export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/"
Maybe I am too fussy? The browser was working without setting XDG or dbus session but without dbus running I had a stack of warnings/errors