Mandrake 10.0 Official and ET: X problems.


(T_Scheisskopf) #1

I have an Asus A7N266VM-AA, 2000+XP, 512MB, NV FX5200. Running Mandrake 10.0 Official, X 4.3.

With this, even when I was running 10.0 Community, once this X version came out in updates, ET will not run. Before that, it was running superbly.

I get this message in .xsessionerrors:

ypassing CD checks
----- Client Initialization -----
----- Initializing Renderer ----

----- Client Initialization Complete -----
----- R_Init -----
…loading libGL.so.1: Initializing OpenGL display
…setting mode 4: 800 600
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 800x600
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
_X11TransSocketOpen: socket() failed for local
_X11TransSocketOpenCOTSClient: Unable to open socket for local
_X11TransOpen: transport open failed for local/yog-sothoth.sprintlink.net:0
Received signal 11, exiting…

Anyone know why this might be happening and what I might do to fix it?


(chr0nicles) #2

Hate to say it, but this can be because alot of reasons…, try the following first run ET as root, if it runs perfectly under root, then its a permission problem. Which you need to fix ofcourse since you should never use the su account to run programs :wink:

Waiting for your feedback :wink:

Good luck


(T_Scheisskopf) #3

Yep, Runs as root just fine. Any idea where I should look for the permission probs, and what the perms should be set as?

I did install as root, which is the way it is supposed to be installed. This tells me that there may be a problem with one of the permissions in X. Is this a valid hypothesis?


(chr0nicles) #4

[quote]This tells me that there may be a problem with one of the permissions in X. Is this a valid hypothesis?[quote]

Yes, if it gave a directory too, it might be very useful, since like i said this error msg can be because alot of reasons ;(

check if you have read/write access to /tmp
make sure you’ve pointed “yog-sothoth.sprintlink.net” to 127.0.0.1 in your /etc/hosts file
Try starting X with the following command startx -nolisten tcp


(T_Scheisskopf) #5

OK. One thing: How do I check read/write access to /tmp? Should the perms be root/root or something else?


(T_Scheisskopf) #6

Checked perms. All seem ok. root/root and all get to read/write/execute.


(chr0nicles) #7

Just a summary: Normally you don’t need to change any of these files, since they are being created on startup.

/tmp : drwxrwxrwt root root
/tmp/.ICE-unix : drwxrwxrwt root root
/tmp/.X11-unix : drwxrwxrwt root root
/tmp/.X11-unix/X0 : srwxrwxrwx root users
/tmp/.X0-lock : -r–r--r-- root users

However if there are some differences i just suggest you do a
(*note simplified just to make sure no other files get deleted)

cd /tmp
rm -rf *
rm -rf .*

Did you try the other tips? startx -nolisten tcp and editing /etc/hosts? checked the error when installing?

Good luck


(T_Scheisskopf) #8

I edited the hosts file as you said. I have yet to try the startx thing, but I will(requires a non-standard, to Mandrake, way of doing things). I will be trying your suggestions.

I have also dropped a report into the Mandrake Anthill bug reporting system. The bug was initially assigned to Fred Lepied. He’s good and on the case, too.

This started with the latest sub-version release of XFree for Mandrake, so I suspect that there might be a problem in there somewhere.


(Deprave) #9

install a real distro maybe? you are wasting a nice machine


(T_Scheisskopf) #10

Go away, moron.


(T_Scheisskopf) #11

“However if there are some differences i just suggest you do a
(*note simplified just to make sure no other files get deleted)”

Nope. No differences in perms that I can find. All match the ones quoted above. I will be trying the other suggestions you offered.

Many thanks for the help you have given me to this point.


(Rain) #12

For some absolutely bizarre reason, Xlib will fail if socket() returns an fd (file descriptor) above 255 if compiled with the default configuration. Since ET has an fd open for every pk3 in etmain and fs_game at the time it tries to connect to the X server, it’s quite possible for this to happen if you have loads of pk3s.

Try removing some campaign pk3s–this will usually be sufficient to get things working again.

This is what I recently did to delete all campaign-only pk3s:

cd ~/.etwolf/etmain
rm `for x in *.pk3; do unzip -l $x '*' -x '*.campaign' '*/' | (grep -E '^Archive:|       [0-9]* files?' | awk '{print $2}' | tr '
' ' '; echo) | awk '{print $2" "$1}'; done | grep '^0 ' | cut -d' ' -f2`

If you want to double-check that things are working, change the ‘rm’ at the beginning to ‘echo’ or ‘ls -l’ to list the pk3s that would be deleted.

Example:

(rain@portal:~/.etwolf/etmain) echo `for x in *.pk3; do unzip -l $x '*' -x '*.campaign' '*/' | (grep -E '^Archive:|       [0-9]* files?' | awk '{print $2}' | tr '
' ' '; echo) | awk '{print $2" "$1}'; done | grep '^0 ' | cut -d' ' -f2`
8map.f425e0c6.pk3 8map.pk3 bc-camp-20040406.pk3 chineesex10.pk3 chineesex7.pk3 complete.pk3 ecgn.pk3 etmapcycle.6c5efa50.pk3 etmapcycle.a9678993.pk3 etmapcycle.b149b4fa.pk3 etmapcycle.pk3 kaospro.pk3 mast1.pk3 mbox10.pk3 mbox11.pk3 mbox12.pk3 mobs5.pk3 Mobstamay.pk3 mummies_cycle_version7.1.pk3 mummies_cycle_version7.3.pk3 mummies_cycle_version7.4.pk3 optuscampaigns.pk3 pak5994.pk3 pakgw2c.pk3 pakgw3f.7b3c8376.pk3 pakgw3f.pk3 pros.pk3 res10map_mixv2.pk3 res10map_mixv4.pk3 undertaker.pk3

I should probably reformat that mess into a shell script. I’d just done it all on the command line at the time. Oh well. :banana:


(chr0nicles) #13

Thank you, Rain :slight_smile:


(T_Scheisskopf) #14

Wow, Rain! Good Stuff! Considering that etmain, here, has more files in it than your average AX400 corporate datamining server, this looks like a good one.

I will get after this RSN and get back to you.

If you do write a script, I would love to give it a try.


(T_Scheisskopf) #15

One more thing: Would you mind if I passed your info onto Fred Lepied at Mandrake? This may be a little thing he could use down the road.


(T_Scheisskopf) #16

w00t! Rain, you are godlike in aspect! You are handsome, witty, smart and well-endowed! All your children will be beautiful and geniuses! Great gouts of money will fight to get into your bank account! Virgins will prepare a path for you, with rose petals, all your days!

Uhhh…I suppose that you are beginning to get the impression that cleaning out those pk3s(Especially, I suspect, those HUGE ChiGC campaign packs…) worked? :wink:

Now, can ANYONE point me to a/the definitive tutorial on config tweaking?

Boy, Rain. Do I ever owe YOU a beer or 17! You too chr0n! Belly up to the bar!

/me dances around room, with warm and fuzzy thoughts of death, destruction, air strikes, arty strikes, heavy machine guns, mortars and blood splashes performing a passion play in his mind…:smiley:


(Rain) #17

You’re welcome! :wink:

Go for it–what he needs to change is TRANS_OPEN_MAX in lib/xtrans/Xtransint.h (in the xfree86 source tree.)