Urban Terror Forums: Game going into window and locking up input - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • This topic is locked

Game going into window and locking up input Rate Topic: -----

#11 User is offline   noskill (old) Icon

  • Joined: 28-February 08
  • Posts: 79
  • LocationHungary

Posted 28 April 2008 - 07:26 PM

as I told it is more better to start the game on a separate X.

To achieve this you need a script to start urban with. here is mine:
#!/bin/bash
#
# Urban Terror separate X starter for linux by RifleRat-NoSkill
# Tested under Ubuntu & Kubuntu 7.10 & 8.04
#
# We start another X server, pipe anything not returned by ut to /dev/null (otherwise
# something presses enter until we kill the terminal we executed it from.
#
# You can swicth between your desktop and UT with Ctr+Alt+F7 and Ctr+Alt+F8 or F9
# regarding to your system settings
#
# Please check the path to your Urban Terror installation and correct it below
# if necessarry


xinit /usr/local/games/UrbanTerror/ioUrbanTerror.i386 $* -- :1 > /dev/null


save this script as e.g. x.urt and give executable rights to it

in order to get it work you need two additional things --> 1) you should allow yourself to be able to start an X session
on display :1
2) edit /etc/X11/Xwrapper.config
let's do it
run xauth in a terminal.
it will prompt you with this:
xauth>

type
xauth>list

it lists your magic cookies for the xsessions, similar like this (it is mine):
sipiatti/unix:0  MIT-MAGIC-COOKIE-1  00cff1b540617cd449b6b4053a3dcbef
localhost.localdomain/unix:0  MIT-MAGIC-COOKIE-1  00cff1b540617cd449b6b4053a3dcbef

your is different, that is normal ;)
now you need to add your magic cookie to display :1 do as the following
xauth>add :1 MIT-MAGIC-COOKIE-1  00cff1b540617cd449b6b4053a3dcbef

run gksu gedit /etc/X11/Xwrapper.config
you should see this:
# Xwrapper.config (Debian X Window System server wrapper configuration file)
#
# This file was generated by the post-installation script of the x11-common
# package using values from the debconf database.
#
# See the Xwrapper.config(5) manual page for more information.
#
# This file is automatically updated on upgrades of the x11-common package
# *only* if it has not been modified since the last upgrade of that package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command as root:
#   dpkg-reconfigure x11-common
allowed_users=console
nice_value=0

change the allowed users to anybody like this:
allowed_users=anybody


that's all.
now you can type /home/youruser/pathtoyourscript/x.urt
and a new X will start and only urban terror will run on it
you can switch between your desktop and urt with Ctr+Alt+F7 and Ctr+Alt+F8 or F9

Good Luck! ;)

#12 User is offline   God_like (old) Icon

  • Joined: 30-March 08
  • Posts: 142
  • Locationmo

Posted 28 April 2008 - 10:39 PM

nice post

#13 User is offline   Xovan (old) Icon

  • Joined: 16-April 08
  • Posts: 5

Posted 01 May 2008 - 06:22 PM

Problem seems to have been solved with the latest updates.

#14 User is offline   Blaster the Abject (old) Icon

  • Joined: 03-October 07
  • Posts: 61

Posted 03 May 2008 - 06:31 AM

Quote

Problem seems to have been solved with the latest updates.


If you're running Hardy they probably has.

Damn you Compiz Fusion.

#15 User is offline   jelly (old) Icon

  • Joined: 29-April 08
  • Posts: 8

Posted 08 May 2008 - 03:04 PM

With Hardy & Compiz fusion on it's still a problem, for that problem i have a compiz fusion screenlet that switches it off & on.

bullet_loaderAdvertisement

#16 User is offline   Ghotler (old) Icon

  • Joined: 05-May 08
  • Posts: 2

Posted 26 June 2008 - 01:59 AM

I think i solved the problem, that was the gnome-screensaver. Yeah dude, it was. Maybe it cannot detected when you use the keyboard and the mouse under you play the game . So you just uninstall the gnome-screensaver and install xscreensaver (sudo apt-get install xscreensaver)...that's all. And the game is runing well (with compiz or not doesn't matter) without problem...
Someone from the developers or players can tell this to the gnome-screensaver creators and maybe they will fix this problem...

Homepage of Them is: http://live.gnome.org/GnomeScreensaver

Yea, i am almost forgot it, i have Ubuntu Hardy Heron 8.04

(Sorry for my bad English) Keep playing, Have a good gaming... :)

#17 User is offline   Woekele Icon

  •   former FS member   
    Public Relations
  • Account: woekele
  • Country:
  • Joined: 26-January 10
  • Posts: 11,575

Posted 26 June 2008 - 02:02 AM

Why don't you do the report :-D You use their software, you will be better able to provide the details to them.

#18 User is offline   Ghotler (old) Icon

  • Joined: 05-May 08
  • Posts: 2

Posted 26 June 2008 - 02:10 AM

Quote

Why don't you do the report :-D You use their software, you will be better able to provide the details to them.


I think we have to wait until, someone or more people report here that they solved the problem at this way (one person solved the problem for his own, doesn't mean it has solved for everyone)...that we will know sure the problem was the gnome-screensaver and this is 100%. After that we can report them... or you can report to developers of the gnome-screensaver becouse your words has much power than a user or a player i think...just if you are a developer of urban terror...i think you are... :)

#19 User is offline   xer0kill (old) Icon

  • Joined: 12-August 07
  • Posts: 1,742
  • LocationCorvallis, Oregon

Posted 29 June 2008 - 10:21 PM

I had this issue with compiz (which also munged the smoothness of my video). Also, getting IM's on Pidgeon did the same thing. Now, after upgrading to Ubuntu HH, whenever the screensaver comes on it resets my gamma to the "dark as fuck" setting. Fun stuff!

#20 User is offline   EXetoC (old) Icon

  • Joined: 19-May 07
  • Posts: 40
  • LocationSweden

Posted 04 July 2008 - 11:21 PM

Quote

as I told it is more better to start the game on a separate X.

To achieve this you need a script to start urban with. here is mine:
#!/bin/bash
#
# Urban Terror separate X starter for linux by RifleRat-NoSkill
# Tested under Ubuntu & Kubuntu 7.10 & 8.04
#
# We start another X server, pipe anything not returned by ut to /dev/null (otherwise
# something presses enter until we kill the terminal we executed it from.
#
# You can swicth between your desktop and UT with Ctr+Alt+F7 and Ctr+Alt+F8 or F9
# regarding to your system settings
#
# Please check the path to your Urban Terror installation and correct it below
# if necessarry


xinit /usr/local/games/UrbanTerror/ioUrbanTerror.i386 $* -- :1 > /dev/null


save this script as e.g. x.urt and give executable rights to it

in order to get it work you need two additional things --> 1) you should allow yourself to be able to start an X session
on display :1
2) edit /etc/X11/Xwrapper.config
let's do it
run xauth in a terminal.
it will prompt you with this:
xauth>

type
xauth>list

it lists your magic cookies for the xsessions, similar like this (it is mine):
sipiatti/unix:0  MIT-MAGIC-COOKIE-1  00cff1b540617cd449b6b4053a3dcbef
localhost.localdomain/unix:0  MIT-MAGIC-COOKIE-1  00cff1b540617cd449b6b4053a3dcbef

your is different, that is normal ;)
now you need to add your magic cookie to display :1 do as the following
xauth>add :1 MIT-MAGIC-COOKIE-1  00cff1b540617cd449b6b4053a3dcbef

run gksu gedit /etc/X11/Xwrapper.config
you should see this:
# Xwrapper.config (Debian X Window System server wrapper configuration file)
#
# This file was generated by the post-installation script of the x11-common
# package using values from the debconf database.
#
# See the Xwrapper.config(5) manual page for more information.
#
# This file is automatically updated on upgrades of the x11-common package
# *only* if it has not been modified since the last upgrade of that package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command as root:
#   dpkg-reconfigure x11-common
allowed_users=console
nice_value=0

change the allowed users to anybody like this:
allowed_users=anybody


that's all.
now you can type /home/youruser/pathtoyourscript/x.urt
and a new X will start and only urban terror will run on it
you can switch between your desktop and urt with Ctr+Alt+F7 and Ctr+Alt+F8 or F9

Good Luck! ;)

This solved my framerate problems. Yay. BTW, how do i transfer sensitivity, keyboard layout etc. to this X instance?

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942