Snap Plex-HTPC won't launch

Server Version#: plexmediaserver 1.26.2.5797-5bd057d2b
Player Version#: Plex-HTPC 1.17.0
Snap of Plex HTPC fails to launch on desktop Ubuntu 22.04;

➜  ~ plex-htpc 
Aborted (core dumped)

With sudo

➜  ~ sudo plex-htpc
mkdir: cannot create directory '/run/user/0': Permission denied
mkdir: cannot create directory ‘/run/user/0’: Permission denied
cp: cannot stat '/snap/plex-htpc/8/usr/share/mime': No such file or directory
Directory '/root/snap/plex-htpc/8/.local/share/mime/packages' does not exist!
ERROR: update-mime-database /root/snap/plex-htpc/8/.local/share/mime exited abnormally with status 1
Authorization required, but no authorization protocol specified

from logs;

root@hp-laptop:~/snap/plex-htpc/common/Logs# ls
'Plex HTPC.1.log'  'Plex HTPC.2.log'  'Plex HTPC.3.log'  'Plex HTPC.4.log'  'Plex HTPC.5.log'  'Plex HTPC.log'
root@hp-laptop:~/snap/plex-htpc/common/Logs# cat Plex\ HTPC.log 
May 31, 2022 11:11:31.670 [0x7f283fd8a700] INFO - Starting Plex HTPC version: 1.17.0.3017-e5c724f3
May 31, 2022 11:11:31.671 [0x7f283fd8a700] INFO - Running on: Ubuntu Core 20 [5.15.0-33-generic] x86_64
May 31, 2022 11:11:31.671 [0x7f283fd8a700] INFO - Happy Plexing!
May 31, 2022 11:11:31.670 [0x7f283fd8dfc0] INFO - [OpenGL] Selected desktop renderer.
May 31, 2022 11:11:31.670 [0x7f283fd8dfc0] INFO - [OpenGL] Default surface format version: 2.0
May 31, 2022 11:11:31.670 [0x7f283fd8dfc0] INFO - [OpenGL] Selecting surface format version: 2.0; profile: 1
May 31, 2022 11:11:31.684 [0x7f283fd8dfc0] WARN - could not connect to display :0
May 31, 2022 11:11:31.684 [0x7f283fd8dfc0] INFO - Could not load the Qt platform plugin "xcb" in "/snap/plex-htpc/8/plugins/platforms:" even though it was found.
May 31, 2022 11:11:31.684 [0x7f283fd8dfc0] ERROR - This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.

All other snaps work just fine

Launching from the icon, nothing happens, hence the CLI try above

This is likely the same as Linux Desktop (snap) won't start

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.