-   Linux - Software (
-   -   Krandrinithack crashes after kde login (

hotel-lima 06-07-2004 10:27 AM

Krandrinithack crashes after kde login

I'm using Kde 3.2 (Suse 9.1) with Xinerama (2 Monitors with different resolutions) mode activated. My graphics card is a Matrox G550.
When I log in I get the message that RANDR (Krandrinithack) has crashed. This happens immediately after I type in the password and hit the login button.
A google search showed that this is supposed to be an commen occuring problem. But I found no solution to fix this problem at my computer. Somebody said he fixed the problem by editing the ~/.kde/share/config/kcmrndrrc because the values for width and height were incorrect. This is not the case with my kcmrndrrc file. The values for the 1600x1200 and 1280x1024 match with my current setting in SAX2.
The problem does not occur if I log in as root.

Can anyone tell me what to do?

Thanks in advance,

hotel-lima 06-09-2004 07:00 AM

Nobody else here who discoverd this problem?
On this problem is reported, but no workaround is given...

Anyone of you who knows what I can do to avoid these crashes?

I discoverd that krandr has something to do with "on-the-fly-resizing of screen" or something (hope I'm right ...). I don't need this feature at all. Can I disable it so that I don't have to use this krandrinithack program after login and so to avoid crashes?

Any hints, comments or links will be greatly appreciated!


jacktheripperis 07-15-2004 04:56 AM

I sorted mine out - dunno if it can help you
I'VE GOT the same config (I'm using Kde 3.2 (Suse 9.1) with Xinerama (2 Monitors with different resolutions) mode activated. ) only that my video card is an ATI radeon 9000.
I had the same problem -Krandrinithack has crashed on starting X.

i fiddled around with the file: ~/.kde/share/config/kcmrndrrc -> as someone has suggested in this same forum and at the end
i set :
and it does not crash anymore.

I gues this is NOT called resolving the problem but i dunno what this application does and so far i haven't noticed any change so i guess for now it will do.

Good luck!

hotel-lima 07-15-2004 07:42 AM


thanks for writing. Now krandinithack doesn't crash any more. :cool:
I don't know either what this program does. But as it crashed every time I logged in I couldn't see for what it's for, so I don't miss it if I disable it . ;)
For me the problem is fixed now. It was a little bit embarrassing when my windows-using fellows saw the crash on every login, so thank you for enabling me to avoid this.


jacktheripperis 07-15-2004 01:42 PM

I have noticed another thing - if you set up your monitors as to be independent, ie. not one single desktop where you can pass windows from a monitor to another but 2 independent screens - and you enable again [ApplyOnStartup=true] in ~/.kde/share/config/kcmrandrrc - it will NOT crash!!!
I'm quite sure that this problem is caused by the fact that we are trying to use one single desktop put on two monitors with different resolution. Try it if u've got time to set up your monitors with the same resolution and let me know.

PS: Today I am 2 days old on linux ... and i'm very proud of it.

hotel-lima 07-15-2004 02:57 PM


when I installed Suse 9.1 the "independet screen mode" was activated by default. Then after login krnadrinithack didn't crash, like you told it too. Then I wanted to switch to xinerama mode with 1600x1200 on my one screen and 1280x1024 on the second. First it didn't work at all. After finishing configuration with sax2, the resolutions were different from what I configured in sax2 after restarting X. Then, I couldn't set up different resolutions on the two screens with xinerama enabled. I got an error message. I've forgotten what the error message was, but it seemed not to work with different resolutions. After some trying it worked finally. I don't know what I did different, so I don't dare to touch the resolution settings again.
I think krandrinithack also crashed with same resolutions on both screens, but I'm not sure any more because it's some weeks ago I dealed with.
I discoverd that RANDR means "Resize and Rotate". If you click right on the workspace and select workspace preferences (or similar, I use the german version of KDE, so I don't know how it's named in your language) then you can select something with "size and orientation". There appears an error message. It means (logical) :"Your x-server is not capable of changing size and orientation. Please use XFree Ver 4.3 or later. In addition to this you need the enhancement "X Resize And Rotate" (RANDR) Ver 1.1 or later. error code: 0, base 1048592". I think this is due to the fact krandrinithack crashes, or is disabled (applyonstartup=false).

Does the crash-problem happen, when you use Xinerama with the same resolution on both screens?


All times are GMT -5. The time now is 12:39 PM.