Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vlc wont run?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Bia
n00b
n00b


Joined: 27 May 2011
Posts: 65

PostPosted: Fri Nov 11, 2011 11:36 pm    Post subject: vlc wont run? Reply with quote

hi i got all use flags set in /etc/portage.use

and it still wont run it just shows jumping icon and then stops
Back to top
View user's profile Send private message
bas89
Apprentice
Apprentice


Joined: 02 Mar 2010
Posts: 241
Location: Germany ;)

PostPosted: Fri Nov 11, 2011 11:46 pm    Post subject: Reply with quote

Try starting vlc in a terminal and report what it says.
Back to top
View user's profile Send private message
Bia
n00b
n00b


Joined: 27 May 2011
Posts: 65

PostPosted: Sat Nov 12, 2011 12:06 am    Post subject: Reply with quote

Code:
Bia ~ # vlc
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).
Bia ~ # login bia
Password:
Last login: Fri Nov 11 16:08:02 GMT 2011 on pts/1
bia@Bia ~ $ vlc
VLC media player 1.1.12 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x6ccac0] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11                             
[0x6ccac0] main interface error: no suitable interface module
[0x6cd380] main interface error: no suitable interface module
[0x604150] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x604150] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x6cd9b0] qt4 interface error: Could not connect to X server
[0x6cd9b0] [rc] lua interface: Listening on host "*console".
VLC media player 1.1.12 The Luggage
Remote control interface initialized. Type `help' for help.
Back to top
View user's profile Send private message
bas89
Apprentice
Apprentice


Joined: 02 Mar 2010
Posts: 241
Location: Germany ;)

PostPosted: Sat Nov 12, 2011 12:20 am    Post subject: Reply with quote

Do you have dbus installed properly? Do you run your X session as root?
Back to top
View user's profile Send private message
Bia
n00b
n00b


Joined: 27 May 2011
Posts: 65

PostPosted: Sat Nov 12, 2011 12:26 am    Post subject: Reply with quote

bas89 wrote:
Do you have dbus installed properly? Do you run your X session as root?


how can i check if dbus is instaled properly?

yes i do run as root
Back to top
View user's profile Send private message
bas89
Apprentice
Apprentice


Joined: 02 Mar 2010
Posts: 241
Location: Germany ;)

PostPosted: Sat Nov 12, 2011 12:46 am    Post subject: Reply with quote

/etc/init.d/dbus status should say:
Code:
bas89@bas89-pc-gentoo64 ~ $ /etc/init.d/dbus status
 * status: started

You shouldn’t run your X session as root. Never. Please configure a display manager like KDM oder GDM properly and login as an usual user.
Back to top
View user's profile Send private message
Bia
n00b
n00b


Joined: 27 May 2011
Posts: 65

PostPosted: Sat Nov 12, 2011 1:22 am    Post subject: Reply with quote

bas89 wrote:
/etc/init.d/dbus status should say:
Code:
bas89@bas89-pc-gentoo64 ~ $ /etc/init.d/dbus status
 * status: started

You shouldn’t run your X session as root. Never. Please configure a display manager like KDM oder GDM properly and login as an usual user.


hmmm what now
Code:
Bia ~ # /etc/init.d/dbus status
 * status: stopped
Bia ~ # /etc/init.d/dbus restart
 * Caching service dependencies ...                                                                                                                                           [ ok ]
 * Starting D-BUS system messagebus ...                                                                                                                                       [ ok ]
Bia ~ # /etc/init.d/dbus status
 * status: started
Bia ~ # login bia
Password:
Last login: Sat Nov 12 01:05:40 GMT 2011 on pts/3
bia@Bia ~ $ vlc
VLC media player 1.1.12 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x6ccac0] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0x6ccac0] main interface error: no suitable interface module
[0x6cd380] main interface error: no suitable interface module
[0x604150] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x604150] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x6cd9c0] qt4 interface error: Could not connect to X server
[0x6cd9c0] [rc] lua interface: Listening on host "*console".
VLC media player 1.1.12 The Luggage
Remote control interface initialized. Type `help' for help
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4055
Location: india

PostPosted: Sat Nov 12, 2011 1:00 pm    Post subject: Reply with quote

i remember there is an option in either its config file or useflag run as root
check it . normally it will not run as root
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Bia
n00b
n00b


Joined: 27 May 2011
Posts: 65

PostPosted: Sat Nov 12, 2011 3:26 pm    Post subject: Reply with quote

padoor wrote:
i remember there is an option in either its config file or useflag run as root
check it . normally it will not run as root


i dont its matter about running as root or not.. since i logged as regular user.. and still same error
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4055
Location: india

PostPosted: Sat Nov 12, 2011 3:55 pm    Post subject: Reply with quote

post eix vlc output
i can run vlc without any trouble.

Quote:
[0x6ccac0] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0x6ccac0] main interface error: no suitable interface module
[0x6cd380] main interface error: no suitable interface module
[0x604150] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x604150] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x6cd9c0] qt4 interface error: Could not connect to X server
[0x6cd9c0] [rc] lua interface: Listening on host "*console".


check if you have X useflag enabled for dbus and vlc.
vlc gui is not installed properly it seems.
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8969

PostPosted: Sat Nov 12, 2011 5:57 pm    Post subject: Reply with quote

You need to run vlc as the same user that runs the X server.[1] You must not run the graphical login session as root.

[1] You can get around this, but it would be far safer to do things properly than to bypass yet another safety check.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum