ishtvan222
August 6th, 2005, 01:40 AM
Hi, I would like to write a bash script that i could run that would kill X (and GDM) and then start Unreal Tournament via xinit. I want to do this because I have xcomposite in GNOME and games dont work well with that. The thing is I have no idea how to do this. I know that i will have to kill GDM with
sudo killall gdm
But then I will have to run the script as root, and I do not want to run the game as root. I do not know how to kill X without doing CTRL ALT BS. To start Unreal Tournament I would do
xinit /usr/local/bin/ut2004
Any help would be appreciated. Thanks.
sudo killall gdm
But then I will have to run the script as root, and I do not want to run the game as root. I do not know how to kill X without doing CTRL ALT BS. To start Unreal Tournament I would do
xinit /usr/local/bin/ut2004
Any help would be appreciated. Thanks.