Page 1 of 1

To remove LibVlc Xlib error on Porteus console

Posted: 05 Feb 2020, 19:06
by mudit.s
I am trying to run a GTK application using LibVlc libraries and VLC player on porteus.
I am able to run the application but on the console, I am getting 'xlib' error as mentioned below.

Code: Select all

vlc_xlib_init error: Xlib not initialized for threads 
I want to remove this error from the console. Please help.

To remove LibVlc Xlib error on Porteus console

Posted: 05 Feb 2020, 20:49
by Ed_P
How are you executing VLC player? Adding something like this to the end of your command may work.

Code: Select all

 > /dev/null 2>&1 &

To remove LibVlc Xlib error on Porteus console

Posted: 06 Feb 2020, 06:12
by mudit.s
Thank you :)
It is working and removing all the errors , but, Is it also disabling all the console commands along with the plugins?
As after typing this command to the end of my command , I get just the following info on the console

Code: Select all

[1] 2505
Also I am unable to stop my running gtk application or close that window, which I was able to do earlier using

Code: Select all

ctrl+c
command.

To remove LibVlc Xlib error on Porteus console

Posted: 09 Feb 2020, 19:59
by Ed_P
mudit.s try replacing this

Code: Select all

 > /dev/null 2>&1 &
with just this.

Code: Select all

2>/dev/null