Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 08-08-2007, 07:36 PM   #1
Registered: Jul 2007
Distribution: Slackware 13
Posts: 178

Rep: Reputation: 29
How can I fix "Error: BadWindow (invalid window parameter)"

These "BadWindow" errors tend show in terminal when exiting KDE. There are multiples of them, and I'm not bothering to copy over the exact "opcodes" because it seems like everybody gets these, and I'm sure most users have seen them before.

I have been unable to find a cause or solution, though. I looked all over the Internet and here. People who have virtual terminals open on their desktops also see them when they close various applications. But I even see this if I just "startx" and then log out of KDE after it's done loading. It seems this even happens under GNOME and other desktops! Someone mentioned they wondered about the possibity of a "race condition".

Has anyone ever definitively figured this out? If so, how do I get rid of these?
Old 08-17-2007, 09:42 AM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
In most cases, that is simply the result of the X server shutting down while applications where still drawing their windows. Everyone gets these "errors", and are nothing that you need to worry about or try and resolve.

There is really no practical way to fix the problem in the first place, it is just the way things are done in the Unix world. As the GUI is a separate entity from the rest of the OS (unlike Windows, for example) no assumptions are made as to whether or not a particular application needs the GUI when the X server is shut down. So some programs might not exit cleanly and give an X error, while others may continue operating without even being aware that X has gone down.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error: Error for wireless request "Set Mode" (8B06) : invalid argument "roaming" penguin chick Linux - Wireless Networking 5 08-22-2008 01:16 PM
getting "X Error: BadWindow (invalid Window parameter)" dipk_23 Programming 1 05-01-2007 11:43 AM
Nvidia problems with Xorg: X Error of failed request: BadWindow (invalid Window para s1l3ntbob Debian 2 11-05-2005 05:36 PM
X Error: BadWindow invalid Window parameter 1702fp Slackware 7 10-27-2005 09:51 PM
How to fix the "login" window in the beginning, in mangrake 9.2 ? freaker2k5 Linux - General 0 09-22-2004 05:47 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration