Strange behaviour under Linux(Bug?)

I compiled a simple app (it uses OpenGL) with SDL.
A strange thing happens.
If I execute it as a normal user, the logou, login as rott, execute it, the
loggout, login as the previous user, and execute the app again, everithing
crashes (I can’t even use the reset button…)
I use X-free 3.3.6 and Utah-GLX (the last version), on a Matrox G400 32Mb

Marco Iannaccone @Marco_Iannaccone
ICQ: 18748121 Tolkien

“I’ve… seen things you people wouldn’t believe. Attack ships on fire off
the shoulder of Orion.
I watched C-beams… glitter in the dark near the Tanhauser Gate. All
those… moments will be lost… in time…, like… tears… in… rain.”

FAQ it.comp.lang.c++:
FAQ it.comp.lang.c:> ----- Original Message -----

From: (Sam Lantinga)
Sent: Friday, September 29, 2000 4:51 PM
Subject: Re: [SDL] Building SDL apps under Linux

I was using the rmp (develop package).

Where are the X11 headers found in your distribution?

Anyway, I downloaded the source version, compiled the way you told me,

it works!!!

-Sam Lantinga, Lead Programmer, Loki Entertainment Software