I've been testing the trick to run games, but got the same lock as arabis. Card is also a ATI x700 (Acer notebook).
I'm gonna test those links you gave to see if they work...
Condex


Code: Select all
DISPLAY=:93 programCode: Select all
LD_PRELOAD=/usr/lib/libGL.so.1.2 program
Code: Select all
root 10622 4.0 5.8 69748 60384 ? SL 00:46 0:03 /usr/bin/Xgl -br -ac -accel glx:pbuffer -accel xv:fbo -xorgAc -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-QJQMWg
root 10623 2.1 0.8 16416 9032 tty7 SLs+ 00:46 0:02 /usr/bin/Xorg -br -ac vt7 -auth /tmp/.Xgl-auth-GKgB8a -nolisten tcp :93 -terminate
But looking at your process(es?), I can see two xservers, one of them is Xgl, while the other is xorgjakster wrote:this DOES NOT start a new X server so it works on ati cards
Code: Select all
root 10622 4.0 5.8 69748 60384 ? SL 00:46 0:03 /usr/bin/Xgl -br -ac -accel glx:pbuffer -accel xv:fbo -xorgAc -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-QJQMWg
root 10623 2.1 0.8 16416 9032 tty7 SLs+ 00:46 0:02 /usr/bin/Xorg -br -ac vt7 -auth /tmp/.Xgl-auth-GKgB8a -nolisten tcp :93 -terminatebut I just want to be sure I understand:man xserver wrote:-terminate
causes the server to terminate at server reset, instead of continuing to run
Second my pstree:But.. Remember that at this time Xgl runs on another Xorg server (that usually is :93, but can be another too...) So you can safetly start applications on :93, when they're not supported by Xgl. Just remember three things:
1. Start Xgl with the -xorgAc parameter. This will allow network access (but also remember that this can be unsafe in a non-local network)
Code: Select all
eric@ferrari ~ $ pstree
init─┬─acpid
├─6*[agetty]
├─cgwd
├─compiz
├─cpufreqd
├─cron
├─cupsd
├─6*[dbus-daemon]
├─dbus-launch
├─dcopserver
├─dhcpcd
├─events/0
├─gconfd-2
├─gdm───gdm─┬─Xgl───Xorg
│ └─startkde─┬─kwrapper
│ └─ssh-agent
├─hald───hald-runner─┬─hald-addon-acpi
│ ├─hald-addon-keyb
│ └─hald-addon-stor
├─ifplugd
├─ivman
├─kaccess
├─kded
├─kdeinit─┬─artsd
│ ├─kio_file
│ ├─klauncher
│ ├─konsole───bash───pstree
│ ├─mozilla-launche───firefox-bin───3*[{firefox-bin}]
│ ├─superkaramba
│ └─xmms───2*[{xmms}]
├─kdesktop
├─khelper
├─khpsbpkt
├─kicker
├─kmix
├─knodemgrd_0
├─knotify
├─ksmserver
├─ksoftirqd/0
├─kswapd0
├─kthread─┬─aio/0
│ ├─kacpid
│ ├─kblockd/0
│ ├─kcryptd/0
│ ├─khubd
│ ├─kpsmoused
│ ├─kseriod
│ ├─ondemand
│ ├─2*[pdflush]
│ └─reiserfs/0
├─oooqs2─┬─ksysguardd
│ └─soffice───soffice.bin───3*[{soffice.bin}]
├─slmodemd
├─syndock───syndaemon
├─syslog-ng
└─udevd
Code: Select all
DISPLAY=:94 googleearth Code: Select all
echo $DISPLAYCode: Select all
DISPLAY=:94 xtermIt gives ":1.0"truc wrote:So inside XGL, in a term,will give you 0Code: Select all
echo $DISPLAY
Yes: ":94.0"while if you runand then inside this term you run the same command it would give you 94 right?Code: Select all
DISPLAY=:94 xterm
Googleearth appears in a window over the desktop. If, previously, by starting Googleearth in Xgl, I set my window size to something smaller than my screen, I will see some part of my Xgl desktop underneat. But I can not bring a window started with xgl in front of the window started with DISPLAY:94.When you're 'inside' googleearth, is it fullscreen? Can you go back to your desktop without 'quitting' googleearth ? If so how?
Hi again:)BlackTiger wrote:Also like this idea because xut2004-bin-linux-amd64 is still much text to writeDieter@be wrote:just an idea: let the user choose his own name for the link? so that you can xlaunch ut, if "ut" is the name that the user chooses for the link to /home/blacktiger/games/ut2004/System/ut2004-bin-linux-amd64To choose an own command would be great so f.e just xut and game starts *yipie*
Code: Select all
xlaunch --addlink ~/scripts /usr/bin/xterm
We are now going to create 2 links for /usr/bin/xterm, the first will be :
/home/truc/scripts/xterm --> /usr/bin/xterm
And the second will be:
/home/truc/scripts/xxterm --> /home/scripts/xlaunch
But you can change 'xterm' to be whatever you want, just enter the name
you would like to use to launch your program (/usr/bin/xterm ).
Leave blank to use default one
blahblah
Created link /home/truc/scripts/blahblah --> /usr/bin/xterm
Created link /home/truc/scripts/xblahblah --> /home/scripts/xlaunch
Code: Select all
xlaunch --addlink /home/blacktiger/games/ut2004/System/ut2004-bin-linux-amd64
Code: Select all
xplayer@frankie$ ./xlaunch stepmania
xauth: timeout in locking authority file /root/.xauthlsm8Kq

Hi, thanks for the suggestion:) , I didn't even think about xinerama users.katanagari wrote:thanks for the script truc, it works great for me!![]()
I have a suggestion: Running a fullscreen app (ie. stepmania) in a dual monitor machine, the image appears between the two screens. I think it'd be great if xlaunch disables xinerama when it's enabled or, even better, place the window on the correct position.
I tried adding "-xinerama" to the X server's parameters but it appears the following message after a time:
Code: Select all
xplayer@frankie$ ./xlaunch stepmania xauth: timeout in locking authority file /root/.xauthlsm8Kq
It should be /home/your_name/ shouldn't it be?code wrote: xplayer@frankie$ ./xlaunch stepmania
xauth: timeout in locking authority file /root/.xauthlsm8Kq
Code: Select all
echo "$HOME --- $XAUTHORITY"Code: Select all
ps aux | grep -i xCode: Select all
ps aux | grep -i dmcould you also give me the results of:katanagari wrote:However, after pressing Ctrl+C, it works.Is there a better way to do what I want?
Code: Select all
ls -l $HOME/.Xauthority
# and
xauth list
I use gdm (as a good gnome user)Are you using xdm (or one of its friend) or do you issue startx
Yea.... this happened because I logged to xplayer from root.It should be /home/your_name/ shouldn't it be?
OK. Nothing strange here:In both case, once you're katanagari, can you post the result of :Code: Select all
echo "$HOME --- $XAUTHORITY"
Code: Select all
katanagari@frankie ~ $ echo "$HOME --- $XAUTHORITY"
/home/katanagari --- /home/katanagari/.Xauthority
I'll only show the interesting processes:andCode: Select all
ps aux | grep -i x
Code: Select all
katanagari@frankie ~ $ ps axu | grep -i x
root 9351 2.1 8.4 95348 87392 ? SL 01:41 0:01 /usr/bin/Xgl :1 -br -ac -accel glx:pbuffer -accel xv -auth /var/gdm/:1.Xauth -nolisten tcp vt7
root 9352 1.8 1.3 17764 13996 tty7 SLs+ 01:41 0:00 /usr/bin/Xorg -br vt7 -auth /tmp/.Xgl-auth-cisLiu -nolisten tcp :94 -terminate
andCode: Select all
ps aux | grep -i dm
Code: Select all
katanagari@frankie ~ $ ps axu | grep -i dm
root 9346 0.0 0.1 9900 1708 ? Ss 01:41 0:00 /usr/bin/gdm
root 9347 0.0 0.2 10436 2404 ? S 01:41 0:00 /usr/bin/gdm
root 9351 1.7 9.3 104988 96840 ? SL 01:41 0:01 /usr/bin/Xgl :1 -br -ac -accel glx:pbuffer -accel xv -auth /var/gdm/:1.Xauth -nolisten tcp vt7I disabled it just adding "-xinerama" to the new X server's params.How do you disable xinerama?
It seems that X doesn't work this way. I tried launching "DISPLAY=:1.0 xterm" and opens a xterm window, but when I launch "DISPLAY=:1.1 xterm" appears the following message:if we don't disable xinerama, I think it's possible to chose to display weither on screen 0 (eg: DISPLAY:1.0) or on the second screen 1 with DISPLAY=:1.1 ) (or the third screen and so on..)
Code: Select all
xterm Xt error: Can't open display: :1.1The results:could you also give me the results of:Code: Select all
ls -l $HOME/.Xauthority # and xauth list
Code: Select all
katanagari@frankie ~ $ ls -l /home/katanagari/.Xauthority
-rw------- 1 katanagari katanagari 170 Aug 20 01:42 /home/katanagari/.Xauthority
katanagari@frankie ~ $ xauth list
frankie/unix:0 MIT-MAGIC-COOKIE-1 12a23568ccf6d34d3e35481a64724a94
frankie/unix:1 MIT-MAGIC-COOKIE-1 f2548fb5c5f9f34eeadfa863c3404c7c
localhost.localdomain/unix:1 MIT-MAGIC-COOKIE-1 f2548fb5c5f9f34eeadfa863c3404c7c

righttruc wrote: now, when launching xlaunch as katanagari, you no longer have the "timout in locking authority" right?
Yea, all of that was righttruc wrote: And if you add -xinerama the serverargs, then it kinda works, but you can't choose on which screen you want stepamania to run on, right?
assming you've just started stepania with xlaunch, and with the -xineram option, the game now runs on only one screen? (no longer in the middle of nowhere, :/ )
On the other monitor. the screen turns black.. moreover, the "No signal" dialog appears, so the monitor gets disconnected.truc wrote: question: what do you have on the others screen? your desktop? a black screen? ;.
I don't know if this option affects single screen users in some way. If not, I suppose that it'd be OK.truc wrote:I think I can add the -xinerama option as a default server option, what do you think?
Code: Select all
$xlaunch --addlink /home/nnd/ut2004/System/ut2004-bin-linux-amd64
$xutCode: Select all
Starting /home/nnd/scripts/ut on DISPLAY 1
xrdb: Connection refused
xrdb: Can't open display ':1'
xmodmap: unable to open display ':1'
Code: Select all
Starting /home/nnd/scripts/ut on DISPLAY 1
xrdb: Connection refused
xrdb: Can't open display ':1'
xmodmap: unable to open display ':1' Code: Select all
ls -l /home/nnd/scripts | grep utCode: Select all
Starting /home/nnd/ut2004/System/ut2004-bin-linux-amd64 on DISPLAY 1
xrdb: Connection refused
xrdb: Can't open display ':1'
xmodmap: unable to open display ':1'
Code: Select all
> ls -l /home/nnd/scripts | grep ut
lrwxrwxrwx 1 nnd users 51 2006-08-21 18:24 ut -> /home/nnd/ut2004/System/ut2004-bin-linux-amd64
lrwxrwxrwx 1 nnd users 30 2006-08-21 18:24 xut -> /home/nnd/scripts/xlaunchMy point, with this script, was also to have my multimedia keys working inside a fullscreen game. If you remember, in III) c) Making your multimedia keys working , I said since you don't start any window manager on this new DISPLAY, you can put set your game not to be fullscreen (window mode) and it'll look like it's fullscreen.katanagari wrote:On the other monitor. the screen turns black.. moreover, the "No signal" dialog appears, so the monitor gets disconnected.truc wrote:question: what do you have on the others screen? your desktop? a black screen? ;.
Edit: I noticed that the second screen disconnects only if the app is running in fullscreen mode. However, running a non fullscreen app (ie. xterm), both screens works as usual.![]()
I tried adding -xinerama to my default server arguments, and I didn't notice any differences. So I think I will keep it inside for the next release (unless someone tells me why I shouldn't )katanagari wrote:I don't know if this option affects single screen users in some way. If not, I suppose that it'd be OK.truc wrote:I think I can add the -xinerama option as a default server option, what do you think?
That would be great! But I have no good doc in mind right nowkatanagari wrote:Edit (again): Now It would be cool if we can choose which screen to use... I have to investigate about that (any recommended doc but xorg's manpages?)
Code: Select all
xinit /home/nnd/ut2004/System/ut2004-bin-linux-amd64 -- :1Code: Select all
xauth listCode: Select all
xinit /home/nnd/ut2004/System/ut2004-bin-linux-amd64 -- :1Code: Select all
/home/nnd/ut2004/System/ut2004-bin-linux-amd64: error while loading shared libraries: ./libSDL-1.2.so.0: cannot open shared object file: No such file or directoryCode: Select all
>xauth list
nnd.progtech.ru:0 MIT-MAGIC-COOKIE-1 b2960394f22ac4f568d0cc98753b059f
[fe80::204:61ff:fea1:70d]:0 MIT-MAGIC-COOKIE-1 b2960394f22ac4f568d0cc98753b059f
nnd/unix:0 MIT-MAGIC-COOKIE-1 1a9117aa7650d2119eb1e70c5a25d487
linux/unix:0 MIT-MAGIC-COOKIE-1 b2960394f22ac4f568d0cc98753b059f
linux/unix:1 MIT-MAGIC-COOKIE-1 286b215351239c996efc436d83de1d2fDoesnnd wrote:Code: Select all
/home/nnd/ut2004/System/ut2004-bin-linux-amd64: error while loading shared libraries: ./libSDL-1.2.so.0: cannot open shared object file: No such file or directory
Code: Select all
/home/nnd/ut2004/System/ut2004-bin-linux-amd64Code: Select all
Starting /home/nderkach/ut2004/System/ut2004-bin-linux-amd64 on DISPLAY 3
xrdb: Connection refused
xrdb: Can't open display ':{1,2,3, etc}'

Certainly. A PM would be fine, either on this forum or http://forums.xgl-coffee.org/truc wrote: @CoffeBuzz
Thanks, but for latter versions I suppose I can just pm you?
Code: Select all
/home/nnd/ut2004/System/ut2004-bin-linux-amd64Code: Select all
xinit /home/nnd/ut2004/System/ut2004-bin-linux-amd64 -- :1Code: Select all
xinit -- :1thank youtruc wrote:How do you 'startx' , with the good'ol startx command, or with a Display manager like xdm, gdm, kdm (...) ?
nnd wrote:truc.
You really do not understand me?
I said I can run all these commands but from root(sudo) because my user do not have permissions to run X and I don't want give them
Thank YOU
Code: Select all
groups your_user