Well it doesnt, at least on my ati card.Hobo Joe wrote: This works with or without Compiz.
HOWTO: Set up a seperate X-server (New)
Moderator: Moderators
Re: HOWTO: Set up a seperate X-server (New)
Re: HOWTO: Set up a seperate X-server (New)
I've never tried it with ATI, only nVidia.bashar wrote:Well it doesnt, at least on my ati card.Hobo Joe wrote: This works with or without Compiz.
Re: HOWTO: Set up a seperate X-server (New)
I got the separate x server running using det's script, but I'm having trouble launching from SpringLobby. When I tell SpringLobby to use the script it launches the separate x server, then immediately exits back to SpringLobby.
Re: HOWTO: Set up a seperate X-server (New)
I'm getting the following output when I try to start a game with SpringLobby executing spring.sh:
Again, the script I'm using is:
Code: Select all
/home/tim/.springlobby/script.txt: 1: [GAME]: not found
/home/tim/.springlobby/script.txt: 58: Syntax error: "}" unexpected
waiting for X server to shut down 06:38:49 PM: CLIENTSTATUS zerox_a 20
06:38:49 PM: OnUserStatus ( )
06:38:49 PM: calling m_serv.GetUser( nick )
06:38:49 PM: calling user.SetStatus( status )
06:38:49 PM: calling m_ui.OnUserStatusChanged( user )
06:38:49 PM: updating battles
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
Couldnt get a file descriptor referring to the console
06:38:50 PM: Spring closed.
Again, the script I'm using is:
Code: Select all
#!/bin/sh
if [ "$1" = "/V" ]; then
echo "Spring 0.76b1"
else
startx /usr/games/spring $* -- :1
fi
Re: HOWTO: Set up a seperate X-server (New)
Try the fix I posted.
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
Re: HOWTO: Set up a seperate X-server (New)
While this will give you alt-tab functionaility it will not help a single thing if spring crashes, and many like me lose their mouse when spring crashes.Hobo Joe wrote:To make it so you can alt-tab/switch workspaces with Spring WITHOUT a separate X server, all you have to do is put the game in windowed mode, then as soon as it starts, use your window manager hotkey to put the game into fullscreen(if it's not set, in Ubuntu, go to 'System > Preferences > Keyboard Shortcuts'). Everything works as it should, but now you can alt-tab. :)
I originally did this because Linux with dual monitors and full screen apps tends to freak out, but if you put apps into fullscreen with the window manager hotkey it'll only fullscreen them on ONE of your screens, instead of trying to stretch it across both.
This works with or without Compiz.
Has anyone got an idea of how i can launch rhythmbox with spring in this seperate x-server and have it play automatically, that would rock.
Also ctrl + F7 or F9 did nothing at all, so much for switching

Re: HOWTO: Set up a seperate X-server (New)
ctrl+alt+f7 or f9clericvash wrote: Also ctrl + F7 or F9 did nothing at all, so much for switching
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
Re: HOWTO: Set up a seperate X-server (New)
That would be why, relatives post needs to be updated to reflect that.bashar wrote:ctrl+alt+f7 or f9clericvash wrote: Also ctrl + F7 or F9 did nothing at all, so much for switching
Re: HOWTO: Set up a seperate X-server (New)
rhythmbox-client --playclericvash wrote: Has anyone got an idea of how i can launch rhythmbox with spring in this seperate x-server and have it play automatically, that would rock.
Re: HOWTO: Set up a seperate X-server (New)
Yes, that's true. I usually just alt-ctrl-backspace in that situation, though. It's rare enough that it's not a huge deal.clericvash wrote:While this will give you alt-tab functionaility it will not help a single thing if spring crashes, and many like me lose their mouse when spring crashes.Hobo Joe wrote:To make it so you can alt-tab/switch workspaces with Spring WITHOUT a separate X server, all you have to do is put the game in windowed mode, then as soon as it starts, use your window manager hotkey to put the game into fullscreen(if it's not set, in Ubuntu, go to 'System > Preferences > Keyboard Shortcuts'). Everything works as it should, but now you can alt-tab. :)
I originally did this because Linux with dual monitors and full screen apps tends to freak out, but if you put apps into fullscreen with the window manager hotkey it'll only fullscreen them on ONE of your screens, instead of trying to stretch it across both.
This works with or without Compiz.
Has anyone got an idea of how i can launch rhythmbox with spring in this seperate x-server and have it play automatically, that would rock.
Also ctrl + F7 or F9 did nothing at all, so much for switching
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
Re: HOWTO: Set up a seperate X-server (New)
Thanks but right now if i exit spring it will take my to my normal x-server, would this close as well? Or would it keep an open x-server simply for rhythmbox?LordMatt wrote:rhythmbox-client --playclericvash wrote: Has anyone got an idea of how i can launch rhythmbox with spring in this seperate x-server and have it play automatically, that would rock.
Re: HOWTO: Set up a seperate X-server (New)
That is the commandline interface for controling rythmbox, so it will simply start it. If you put the command in your wrapper script before the xinit, it will start in your desktop's xserver.
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
Re: HOWTO: Set up a seperate X-server (New)
What i mean is if i close spring and it goes back to my normal desktop, will another x-server still be playing rhythmbox and stealing some resources?
Re: HOWTO: Set up a seperate X-server (New)
No.LordMatt wrote:it will start in your desktop's xserver.
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
Re: HOWTO: Set up a seperate X-server (New)
Now i'm confused.
Re: HOWTO: Set up a seperate X-server (New)
When you start a separate x-server only spring starts with it. Your rhythmbox will start in the same x-server as your desktop and everything else.
Re: HOWTO: Set up a seperate X-server (New)
Is there a way to get it to play a certain url?
Re: HOWTO: Set up a seperate X-server (New)
Code: Select all
rhythmbox-client --help
Re: HOWTO: Set up a seperate X-server (New)
About using a second X server, I still have a problem :
When Im in game and switch back to the 1st server (ctrl alt f7), it seems that my connection on the spring server drop (ie people see 'bashar lost connection" and when I get back using ctrl-alt-f9 the X server is dead).
Any clue?
When Im in game and switch back to the 1st server (ctrl alt f7), it seems that my connection on the spring server drop (ie people see 'bashar lost connection" and when I get back using ctrl-alt-f9 the X server is dead).
Any clue?
Re: HOWTO: Set up a seperate X-server (New)
Are you sure it isn't F8 that you want? I try to minimize switching between x-servers as sometimes I can't get back into mine (and always it takes a while to switch).