how to start the games on a second X server?

Need help with one of the installers?
Locked
Daisy Chainsaw

how to start the games on a second X server?

Post by Daisy Chainsaw » Mon Feb 25, 2008 11:39

Hello,
I'm trying to run Doom 3 on a second X server and found i doom3 script provided with loki something like that:

Code: Select all

# If you want to start the game on a second X server
# comment out the XSERVER* options.
# Useful if you run Xgl ;-)
#XSERVER="Xorg"

# for options run Xorg -help
#XSERVER_OPTIONS="-reset -terminate -br -quiet -nolisten tcp -to 30"

# display number
#XSERVER_DISPLAY=":1.0"
But when i unlock these options and try run Doom 3 i get something like that:

Code: Select all

----- R_InitOpenGL -----
Setup X display connection
xterm Xt error: Can't open display: :1.0
Couldn't open the X display
Setup X display connection
Couldn't open the X display
idRenderSystem::Shutdown()
Sys_Error: Unable to initialize OpenGL
After entering in console "X :1.0" it shows:

Code: Select all

X: user not authorized to run the X server, aborting.
I think that this is problem but I don't know how to add rights non-root user to launch another X server.
Beside the installer is great, it makes so simple! Thanks a lot loki team for it :)

GlaDiaC

Post by GlaDiaC » Tue Feb 26, 2008 23:49

The binary needs the setuid bit set.

chmod +s /usr/bin/Xorg

Daisy Chainsaw

Post by Daisy Chainsaw » Thu Feb 28, 2008 14:18

Thank you, now it works with a bang ;)

kratz00
liflg member
Posts: 1664
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Mon Mar 03, 2008 12:48

Geat, I will close this.

Locked