Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to set up Xorg to run on user and not root ?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
West201
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2011
Posts: 115

PostPosted: Sun Jul 29, 2012 12:57 am    Post subject: How to set up Xorg to run on user and not root ? Reply with quote

I'm leaving a very similar problem to this thread forums.gentoo.org/viewtopic-p-6870140.html

I'm unable can't launch VLC, and have wxwindows, X, qt4 USE flags enabled.

The poster in thread mentioned

"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."



But how do I go about doing this ?


ADD: These are the messages I get when running VLC on terminal.

Code:
VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)
[0x6c88a8] inhibit interface error: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified
Autolaunch error: X11 initialization failed.

[0x6c88a8] main interface error: no suitable interface module
No protocol specified
[0x6c88a8] main interface error: no suitable interface module
[0x604138] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x604138] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
No protocol specified
[0x6c88a8] qt4 interface error: Could not connect to X server
Remote control interface initialized. Type `help' for help.
No protocol specified
xcb_connection_has_error() returned true
No protocol specified
[0xd099d8] xcb_xv vout display error: parent window not available
No protocol specified
[0xd099d8] xcb_glx vout display error: parent window not available
No protocol specified
[0xd099d8] xcb_x11 vout display error: parent window not available
No protocol specified
[0xd099d8] vout_sdl vout display error: cannot initialize SDL (No available video device)
[0xd099d8] fb vout display error: cannot get terminal mode (Invalid argument)
[0xcc4528] main video output error: video output creation failed
[0x7feb84000948] main decoder error: failed to create video output
^Cstatus change: ( stop state: 0 )
status change: ( quit )
jesse@jc-gentoo ~ $ ^C
jesse@jc-gentoo ~ $ /etc/init.d/dbus status
 * status: started
jesse@jc-gentoo ~ $

Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Sun Jul 29, 2012 1:15 am    Post subject: Reply with quote

What is your DISPLAY set to, on that terminal?

Code:
echo $DISPLAY


How did you open that terminal?

How did you start X11? Are you using GNOME? Using Consolekit?

Normally when you start the X server eventually the user that started it gets handed back control, something like this shouldn't happen...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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