Plexamp 3.0 for Linux Launch Issues

I’m having issues getting the new Plexamp 3.0 appimage to launch on my headless music server that runs debian stretch with xfce 4.12.

Background
I was previously using the 1.1.0 version of Plexamp. To get it to launch properly I had to run the following:
nohup env XDG_CURRENT_DESKTOP=Unity /home/user/Downloads/plexamp-1.1.0-x86_64.AppImage --force-device-scale-factor=1.5

Anyway after a recent update of the Plex app on my android mobile it no longer lets me change the volume when casting to my music server so I figured now was a good time to try the new 3.0 version and see if it fixed the issue. If only it were that simple…

Current Issue
So I have made the new Plexamp-3.0.0.AppImage executable but when I click on it nothing happens. So I tried opening it using the command line and get the following output:

./Plexamp-3.0.0.AppImage 
[1310:0417/202304.102311:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_PlexamWCairN/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap

Tried googling solutions for ages but didn’t get anywhere.

When I add --no-sandbox I get further in that Plexamp actually launches, but it just shows as a grey box that I can scale but nothing else.

Here is the terminal output:

./Plexamp-3.0.0.AppImage --no-sandbox
xdg-settings: default-url-scheme-handler not implemented for xfce
Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank"
Couldn't install shortcut for CommandOrControl+Option+Up.
Couldn't install shortcut for CommandOrControl+Option+Down.
Started Media Service: false
ATTENTION: default value of option force_s3tc_enable overridden by environment.
Linux: Registering MPRIS service.
Checking for update
Update for version 3.0.0 is not available (latest version: 3.0.0, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null

Again I have tried googling solutions but got nowhere. Anyone got any ideas?

Ultimately I’m just trying to get my volume control back but it would obviously be nice to use the newest version.

So, the first problem is somewhat Debian related. I’m going through the same issues.

If you do a little more Googling, you might come across a few threads that explain exactly what the problem is, but it’s related to the kernel shipped with Debian (in the name of security, it doesn’t allow Electron to run properly within the AppImage).

You can try this:

$ ./Plexamp-3.0.0.AppImage --appimage-extract
$ cd squashfs-root/
$ sudo chown root chrome-sandbox
$ sudo chmod 4755 chrome-sandbox

Then just run plexamp from there and see if it will work. That gets around the --no-sandbox.

If you want to get around the actual kernel issue, you should be able to fix it by running:

sysctl -w kernel.unprivileged_userns_clone=1

Of course, I would read up on the actual issue before you decide to make the kernel changes.

See if any of that will get you running. If you’re still having the second issue, let me know.

2 Likes

Hi and thanks for your response. So I tried your first solution and was able to get it to open by navigating to the new squashfs-root folder and executing ‘AppRun’ but it still just opens a grey box with no tray icon. Terminal spits out:

xdg-settings: default-url-scheme-handler not implemented for xfce
Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank"
Couldn't install shortcut for CommandOrControl+Option+Up.
Couldn't install shortcut for CommandOrControl+Option+Down.
Started Media Service: false
Linux: Registering MPRIS service.
ATTENTION: default value of option force_s3tc_enable overridden by environment.
APPIMAGE env is not defined, current application is not an AppImage

I’m not at home anymore, so I cannot test any ideas I find, but I’ll still try to help!

I’m not sure what kind of machine you’re running, but I’ve come across a few things while searching that suggest it might be an issue rendering the actual GUI.

I don’t know if it will work, but can you try running it with a --disable-gpu flag?

Thanks a lot Noash0504 I appreciate your help! Unfortunately running it with --disable-gpu gives me the same result as before, minus ATTENTION: default value of option force_s3tc_enable overridden by environment.

Here are some more system details if that helps.

 Operating System: Debian GNU/Linux 9 (stretch)
            Kernel: Linux 4.9.0-8-amd64
      Architecture: x86-64

Edit: Also tried adding the --disable-seccomp-filter-sandbox flag as suggested by @motoaxe here Plexamp Linux crash on launch and same outcome.

So, I found this: https://github.com/electron/electron/issues/16892

It mentions having an issue of having nothing displayed in the application window and no error message in the console.

There is no solution there, but it lead me to this: https://github.com/electron/electron/issues/13415

There someone is using Debian Stretch and they mention getting their issue corrected by upgrading their version of libgl1-mesa-dri. I don’t know if you want to go that far to see if it works, but you could upgrade to whatever version is in stretch-backports.

I’ll keep looking. It’s a slow morning here.

Yeah, this was about as far as I got once beyond the sandbox permission thing.
Debian 9.

I’m going back to plexamp-1.0 on the debian, since it works on ubuntu I’m happy to wait for the real fix.

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