I too get an error when I attempt to launch firefox in freshly installed Ubuntu Studio 22.04. It is very similar to the one this Jira was opened with.
When I attempt to launch firefox remotely by SSH I get this error:
/system.slice/ssh.service is not a snap cgroup
When I attempt to launch firefox locally I get this warning, and error:
WARNING: cannot start document portal: Expected portal at "/run/user/1000/doc", got "/home/stephen/.cache/doc"
/system.slice/sddm.service is not a snap cgroup
In my case it appears this bug manifests itself not just remotely, but locally as well. Without the ability launch snap packaged applications my newly acquired, and very expensive, computer is useless. I hope this bug's fixing gets a high priority.
In an effort to work around it I edited the three files as recommended by Michael Woods (woodsy) in c44. The result was the computer booted a blank, and black, monitor screen. Fortunately the OS was nevertheless accessible by SSH, and so I was able to remotely restore the three files, and after doing so, I rebooted and got the expected screen displays.
I am not sure I edited those three files correctly, so I attached the edited version of those files to this posting for inspection. I also included in the attachment the output I get from the locally entered command:
SNAPD_DEBUG=1 snap run firefox
I would deeply appreciate any recommendations regarding how to effectively work around this bug.
I too get an error when I attempt to launch firefox in freshly installed Ubuntu Studio 22.04. It is very similar to the one this Jira was opened with.
When I attempt to launch firefox remotely by SSH I get this error:
/system. slice/ssh. service is not a snap cgroup
When I attempt to launch firefox locally I get this warning, and error:
WARNING: cannot start document portal: Expected portal at "/run/user/ 1000/doc" , got "/home/ stephen/ .cache/ doc" slice/sddm. service is not a snap cgroup
/system.
In my case it appears this bug manifests itself not just remotely, but locally as well. Without the ability launch snap packaged applications my newly acquired, and very expensive, computer is useless. I hope this bug's fixing gets a high priority.
In an effort to work around it I edited the three files as recommended by Michael Woods (woodsy) in c44. The result was the computer booted a blank, and black, monitor screen. Fortunately the OS was nevertheless accessible by SSH, and so I was able to remotely restore the three files, and after doing so, I rebooted and got the expected screen displays.
I am not sure I edited those three files correctly, so I attached the edited version of those files to this posting for inspection. I also included in the attachment the output I get from the locally entered command:
SNAPD_DEBUG=1 snap run firefox
I would deeply appreciate any recommendations regarding how to effectively work around this bug.