Page 1 of 1

VLC AppImage can't start. (solved)

Posted: Sun Jan 24, 2021 8:13 pm
by soniabu

Hi everyone. My system is FocalFossa 20.04.
I can't start VLC AppImage taken from here: https://github.com/cmatomic/VLCplayer-AppImage/releases
and that has been tested by the upstream maintainer to work on Ubuntu 20.04; I also compared MD5 checksum - with ours GtHash application - and everything is fine.
any suggestions?
thx,sonia :cry:


Re: VLC AppImage can't start.

Posted: Sun Jan 24, 2021 9:04 pm
by dancytron

VLC doesn't like to run as root.

Try in terminal

Code: Select all

"run-as-user /path/to/appimage"

There is also a hack to make it run as root that everyone uses, although I'm not sure how to do it to an appimage.

https://unix.stackexchange.com/question ... er-in-root


Re: VLC AppImage can't start.

Posted: Sun Jan 24, 2021 9:45 pm
by rockedge

this command will modify the VLC binary to allow it to run directly as root and only needs to be done once (unless you upgrade VLC, then run it again):
Open a terminal and type /paste:

Code: Select all

sed -i 's/geteuid/getppid/' /usr/bin/vlc

or in a terminal (or small script) to run VLC as user 'spot' :

Code: Select all

run-as-spot vlc

Re: VLC AppImage can't start.

Posted: Sun Jan 24, 2021 9:59 pm
by soniabu

thx dancytron.
rock,
I don't have it in usr / bin / vlc but in an AppImage folder;
in fact the command gives me an error


Re: VLC AppImage can't start.

Posted: Sun Jan 24, 2021 10:17 pm
by fredx181

Try the command that dancytron suggested above, without the quotes (replace /path/to/appimage with the real path of your vlc appimage).
EDIT: The "sed -i 's/geteuid/getppid/' /usr/bin/vlc" *hack* command is for a regular install of vlc in /usr/bin/, not for appimage.

Fred


Re: VLC AppImage can't start.

Posted: Sun Jan 24, 2021 10:29 pm
by soniabu

Hi Fred, I hope you are well, I am fine.

Solved with this command: sudo chmod -R 775 directory name


Re: VLC AppImage can't start.

Posted: Sun Jan 24, 2021 10:37 pm
by fredx181
soniabu wrote: Sun Jan 24, 2021 10:29 pm

Hi Fred, I hope you are well, I am fine.

Image

Hello, Sonia. Could be that the VLC.AppImage is not executable yet (goes for every appimage found on the web, need to make it executable before running), try to do first:

Code: Select all

chmod +x /yourpath/to/VLC.AppImage   # make executable

EDIT: Ah, see now that you solved it (overlooked first), great!

Fred


Re: VLC AppImage can't start.

Posted: Sun Jan 24, 2021 10:41 pm
by soniabu

solved Fred
sudo chmod -R 775 directory name
after
root@live:~# run-as-user /media/mmcblk0p1/AppImage/VLC.AppImage
VLC start
:thumbup2:
thx rock, dancy, Fred


Re: VLC AppImage can't start. (SOLVED NO, not completely solved)

Posted: Sat Jan 30, 2021 8:24 pm
by soniabu

I solved it by launching Bleachbit which cleaned up a few things and thus created space to start VLC.
Do you know which drive is looking for space to start VLC?

sorry if I still disturb you on a problem that I thought I had solved.
I launch VLC with the same commands described in previous posts, but this time the result is this:

I don't understand as I still have space both on the disk and on the micro sd(mmcblk01p use 70% only) where my AppImage have been stored.

Any suggestions?
I solved it by launching Bleachbit which cleaned up a few things and thus created space to start VLC.
Do you know which drive is looking for space to start VLC?


Re: VLC AppImage can't start. (solved)

Posted: Sat Feb 06, 2021 3:49 pm
by dancytron

You are using "save only on exit"?

Maybe you filled up the tmpfs layer?

Did you do an upgrade or install something right before?

Running "save2flash" will flush a lot of the stuff from the tmpfs layer (unlike Puppy where you have to reboot).