I am experiencing this problem too. using VNC (tigervnc-standalone-server).
I read the entire thread. I tried damn near all of the workarounds. None worked.
The symptom is that I can't start Firefox in my xfce4 session .
madbrain@u22041:~/Desktop$ firefox
/system.slice/vncserver.service is not a snap cgroup
Here is my xstartup :
madbrain@u22041:~/.vnc$ cat xstartup
#!/bin/sh
# Start up the standard system desktop
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
I am experiencing this problem too. using VNC (tigervnc- standalone- server) .
I read the entire thread. I tried damn near all of the workarounds. None worked.
The symptom is that I can't start Firefox in my xfce4 session . u22041: ~/Desktop$ firefox slice/vncserver .service is not a snap cgroup
madbrain@
/system.
Here is my xstartup :
madbrain@ u22041: ~/.vnc$ cat xstartup BUS_ADDRESS
#!/bin/sh
# Start up the standard system desktop
unset SESSION_MANAGER
unset DBUS_SESSION_
/usr/bin/startxfce4 gnome-session
#/usr/bin/
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
x-window-manager &
And my systemd unit :
[Unit]
Description=Tiger VNC server
After=syslog.target network.target
[Service] /home/madbrain/ .vnc/%H: 5902.pid -/usr/bin/ vncserver -kill :2 > /dev/null 2>&1 /usr/bin/ vncserver -geometry 3840x2160 -localhost no :2 /usr/bin/ vncserver -kill :2
Type=forking
User=madbrain
PIDFile=
ExecStartPre=
ExecStart=
ExecStop=
[Install] multi-user. target
WantedBy=
I think the issue is related to my systemd. If I start
vncserver :2
from a terminal, then Tim's workaround from comment 31 works.*
But if I start it through systemd, it fails.