#uncomment if launching from console session
#sudo /etc/init.d/gdm stop
#KDE use this instead
#sudo /etc/init.d/kdm stop
# Launches a new X session on display 3. If you don't have an Nvidia card
# take out the "& nvidia-settings --load-config-only" part
X :3 -ac & nvidia-settings --load-config-only
# Goto game dir (modify as needed)
cd "/home/neil/Warcraft III"
# Forces the system to have a break for 2 seconds, X doesn't launch instantly
# Launches game (modify as needed)
DISPLAY=:3 env WINEPREFIX="/home/neil/.wine" WINEDEBUG=-all wine "/home/neil/Warcraft III/Frozen Throne.exe" -opengl
X: user not authorized to run the X server, aborting.
war3.sh: 9: nvidia-settings: not found
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
最后由 neilshao 编辑于 2008-06-01 10:58，总共编辑了 1 次