justin whitaker
April 5th, 2007, 04:13 PM
Ok, now I need some real guru help.
When I get down to a gaming session, I really don't need a desktop at all. I would like to be able to logout (or reboot), login to console, and be able to run a dedicated X server for the games that I play.
I saw this script here on the help wiki for World of Warcraft which looks like a step in the right direction:
#!/bin/sh
X :3 -ac & # Launches a new X session on display 3
cd "~/.wine/drive_c/Program Files/World of Warcraft" # Goto WoW dir
sleep 2 # Forces the system to have a break for 2 seconds
DISPLAY=:3 /usr/X11R6/bin/wine WoW.exe -opengl # Launches WoW
So here comes the questions!
X :3 -ac & # Launches a new X session on display 3
This launches a new X session for any game. Not sure what the -ac flag means, but that looks to be the gist of it. Can you change the X: 3 to any display? Say X: 1?
cd "~/.wine/drive_c/Program Files/World of Warcraft" # Goto WoW dir
Whichever game you are loading with this script, you point this like to the install directory. So you could do this with Crossover or Cedega?
sleep 2 # Forces the system to have a break for 2 seconds
This is self explanatory, but why do you need to force a system sleep?
DISPLAY=:3 /usr/X11R6/bin/wine WoW.exe -opengl # Launches WoW
I don't get why the line above points to the install directory, but the last like points to /usr.
Shouldn't the line read: Display=:(1-6) ~/.wine/drive_c/Program Files/World of Warcraft?
And how do I allow a login to terminal/console?
Thanks for the assist!
When I get down to a gaming session, I really don't need a desktop at all. I would like to be able to logout (or reboot), login to console, and be able to run a dedicated X server for the games that I play.
I saw this script here on the help wiki for World of Warcraft which looks like a step in the right direction:
#!/bin/sh
X :3 -ac & # Launches a new X session on display 3
cd "~/.wine/drive_c/Program Files/World of Warcraft" # Goto WoW dir
sleep 2 # Forces the system to have a break for 2 seconds
DISPLAY=:3 /usr/X11R6/bin/wine WoW.exe -opengl # Launches WoW
So here comes the questions!
X :3 -ac & # Launches a new X session on display 3
This launches a new X session for any game. Not sure what the -ac flag means, but that looks to be the gist of it. Can you change the X: 3 to any display? Say X: 1?
cd "~/.wine/drive_c/Program Files/World of Warcraft" # Goto WoW dir
Whichever game you are loading with this script, you point this like to the install directory. So you could do this with Crossover or Cedega?
sleep 2 # Forces the system to have a break for 2 seconds
This is self explanatory, but why do you need to force a system sleep?
DISPLAY=:3 /usr/X11R6/bin/wine WoW.exe -opengl # Launches WoW
I don't get why the line above points to the install directory, but the last like points to /usr.
Shouldn't the line read: Display=:(1-6) ~/.wine/drive_c/Program Files/World of Warcraft?
And how do I allow a login to terminal/console?
Thanks for the assist!