VLC AppImage can't start. (solved)

Moderator: fredx181

Post Reply
User avatar
soniabu
Posts: 266
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 32 times

VLC AppImage can't start. (solved)

Post 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:

Last edited by soniabu on Sat Jan 30, 2021 8:49 pm, edited 4 times in total.
dancytron
Posts: 698
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 489 times
Been thanked: 204 times

Re: VLC AppImage can't start.

Post 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

User avatar
rockedge
Site Admin
Posts: 6382
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2588 times
Been thanked: 2539 times
Contact:

Re: VLC AppImage can't start.

Post 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
User avatar
soniabu
Posts: 266
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 32 times

Re: VLC AppImage can't start.

Post 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

Last edited by soniabu on Sat Apr 10, 2021 7:43 pm, edited 1 time in total.
User avatar
fredx181
Posts: 2888
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 339 times
Been thanked: 1212 times
Contact:

Re: VLC AppImage can't start.

Post 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

User avatar
soniabu
Posts: 266
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 32 times

Re: VLC AppImage can't start.

Post by soniabu »

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

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

Last edited by soniabu on Sat Apr 10, 2021 7:43 pm, edited 2 times in total.
User avatar
fredx181
Posts: 2888
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 339 times
Been thanked: 1212 times
Contact:

Re: VLC AppImage can't start.

Post 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

User avatar
soniabu
Posts: 266
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 32 times

Re: VLC AppImage can't start.

Post 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

User avatar
soniabu
Posts: 266
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 32 times

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

Post 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?

Last edited by soniabu on Sat Apr 10, 2021 7:43 pm, edited 1 time in total.
dancytron
Posts: 698
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 489 times
Been thanked: 204 times

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

Post 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).

Post Reply

Return to “UbuntuDogs”