AS
Global Moderator
Hero Member
   
Offline
Posts: 4118
Have a nice ... night!
|
 |
« Reply #585 on: January 19, 2012, 08:07:04 AM » |
|
The program 'gksu' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 841 error_code 3 request_code 2 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)
Timeline is critical here, the error is telling that the program gksu tried to access a "window" who's ID is actually unknown, in turn this could be the result of a delayed mapping of the window, which is something that depend from the window manager. http://www.rahul.net/kenton/40errs.html#Error3Because of multiple DE install, I suspect JohnW is using a different window manager or a different window manager set up, that trigger the error, while the error itself probably is in gksu. Not easy to track it down. JohnW, Just for confirmation you could try something like that, from a non root user account: gksu -l synaptic this should trigger the same error as shown from lomanager...
|
|
|
|
|
Logged
|
|
|
|
|
Just18
|
 |
« Reply #586 on: January 19, 2012, 08:13:30 AM » |
|
I wonder why KDESU is not being used ....... a path problem? This, run from a terminal should show if KDESU is being found or not ..... if [ -r /usr/lib/kde4/libexec/kdesu ]; then echo "KDESU found"; else echo "KDESU does not found"; fi I get .... [user@XPS ~]$ if [ -r /usr/lib/kde4/libexec/kdesu ]; then echo "KDESU found"; else echo "KDESU does not found"; fi KDESU found
|
|
|
|
|
Logged
|
MLUs rule the roost!
Linux XPS 3.2.17-pclos1.pae.bfs 32 bit Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz 4 GB RAM MCP51 High Def Audio GeForce GTX 550 Ti PHILIPS DVD+-RW DVD8701 Logitech BT Mini-Receiver Afatech DVB-T 2 USB DTT
|
|
|
|
pinoc
|
 |
« Reply #587 on: January 19, 2012, 09:01:04 AM » |
|
I wonder why KDESU is not being used ....... a path problem? This, run from a terminal should show if KDESU is being found or not ..... if [ -r /usr/lib/kde4/libexec/kdesu ]; then echo "KDESU found"; else echo "KDESU does not found"; fi I get .... [user@XPS ~]$ if [ -r /usr/lib/kde4/libexec/kdesu ]; then echo "KDESU found"; else echo "KDESU does not found"; fi KDESU found kdesu is found but then replaced by gksu. You can try to exchange the lines 123 and 125 and then run lomanager, it will then use kdesu instead. Maybe that helps. -p.
|
|
|
|
|
Logged
|
|
|
|
|
Just18
|
 |
« Reply #588 on: January 19, 2012, 10:16:00 AM » |
|
I wonder why KDESU is not being used ....... a path problem? This, run from a terminal should show if KDESU is being found or not ..... if [ -r /usr/lib/kde4/libexec/kdesu ]; then echo "KDESU found"; else echo "KDESU does not found"; fi I get .... [user@XPS ~]$ if [ -r /usr/lib/kde4/libexec/kdesu ]; then echo "KDESU found"; else echo "KDESU does not found"; fi KDESU found kdesu is found but then replaced by gksu. You can try to exchange the lines 123 and 125 and then run lomanager, it will then use kdesu instead. Maybe that helps. -p. Oops! Yes see that now ...... even if KDESU is found it will not be used if GKSU is found. Might be worth considering not checking for GKSU if KDESU is found ......
|
|
|
|
|
Logged
|
MLUs rule the roost!
Linux XPS 3.2.17-pclos1.pae.bfs 32 bit Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz 4 GB RAM MCP51 High Def Audio GeForce GTX 550 Ti PHILIPS DVD+-RW DVD8701 Logitech BT Mini-Receiver Afatech DVB-T 2 USB DTT
|
|
|
|
pinoc
|
 |
« Reply #589 on: January 19, 2012, 10:19:10 AM » |
|
can you please exchange the two lines as explained and see if lomanager works for you when using kdesu instead? thanks, -p.
|
|
|
|
|
Logged
|
|
|
|
|
melodie
|
 |
« Reply #590 on: January 19, 2012, 10:40:59 AM » |
|
Hi, suggesting an idea, maybe for some time in the future ? ktsuss is desktop agnostic, and the latest available stable version (ktsuss-2) has been out for several weeks now... http://code.google.com/p/ktsuss
|
|
|
|
|
Logged
|
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode
|
|
|
|
JohnW_57
|
 |
« Reply #591 on: January 19, 2012, 12:36:41 PM » |
|
JohnW, Just for confirmation you could try something like that, from a non root user account: Code:
gksu -l synaptic
this should trigger the same error as shown from lomanager...
It gives indeed the same error. JohnW
|
|
|
|
|
Logged
|
PCLinuxOS 2010 KDE4 full on: home build system: Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, 2x Samsung 500 gig HDD (sata).
|
|
|
|
JohnW_57
|
 |
« Reply #592 on: January 19, 2012, 02:22:52 PM » |
|
Solved!The gksu problem happens when the QTCurve GTK2 theme is used! Did change to an another GTK2 theme (for GTK2 apps) and that solved the issue. So don't use QTCurve GTK2 theme for your GTK2 apps. (a bit buggy). Gonna testing other GTK2 themes so get sure.  [wimwillemsen@localhost ~]$ gksu -l synaptic launches gksu and synaptic without the X Window System error and lomamanager does working. JohnW
|
|
|
|
|
Logged
|
PCLinuxOS 2010 KDE4 full on: home build system: Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, 2x Samsung 500 gig HDD (sata).
|
|
|
|
pinoc
|
 |
« Reply #593 on: January 19, 2012, 04:36:03 PM » |
|
and how about kdesu synaptic in your KDE session ?
|
|
|
|
|
Logged
|
|
|
|
|
JohnW_57
|
 |
« Reply #594 on: January 19, 2012, 05:11:59 PM » |
|
[wimwillemsen@localhost ~]$ kdesu synaptic kdesu(19283)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/process.cpp : 293 ] Running "/usr/bin/su" kdesu(19283)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/su.cpp : 259 ] Read line "Password: "
It launches the password manager to use synaptic (had no issue with kdesu). The gksu issue was caused by the Qtcurve GTK2 theme and crashed lomanager (in the KDE session). Changing another GTK2 theme solved it. The kdesu question was from Just18. http://www.pclinuxos.com/forum/index.php/topic,59009.msg866661.html#msg866661JohnW
|
|
|
|
|
Logged
|
PCLinuxOS 2010 KDE4 full on: home build system: Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, 2x Samsung 500 gig HDD (sata).
|
|
|
|
pinoc
|
 |
« Reply #595 on: January 20, 2012, 04:54:54 AM » |
|
Hi JohnW, The gksu problem happens when the QTCurve GTK2 theme is used! now that we know what caused the problem, what I wanted to understand is this: when using the QTCurve GTK2 theme in a KDE session: gksu -l synaptic will crash but will kdesu synaptic work with the QTCurve GTK2 theme enabled? If so, then I can simply default to using kdesu when a KDE-session is detected, so lomanager will work independent of the "QTCurve GTK2 bug".
|
|
|
|
|
Logged
|
|
|
|
|
JohnW_57
|
 |
« Reply #596 on: January 20, 2012, 06:35:24 AM » |
|
kdesu synaptic had no problem with the qtcurve-gtk2 theme: [wimwillemsen@localhost ~]$ kdesu synaptic kdesu(10571)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/process.cpp : 293 ] Running "/usr/bin/su" kdesu(10571)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/su.cpp : 259 ] Read line "Password: "
(with the qtcurve-gtk2 theme) JohnW
|
|
|
|
|
Logged
|
PCLinuxOS 2010 KDE4 full on: home build system: Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, 2x Samsung 500 gig HDD (sata).
|
|
|
|
pinoc
|
 |
« Reply #597 on: January 20, 2012, 07:16:05 AM » |
|
kdesu synaptic had no problem with the qtcurve-gtk2 theme: [wimwillemsen@localhost ~]$ kdesu synaptic kdesu(10571)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/process.cpp : 293 ] Running "/usr/bin/su" kdesu(10571)/kdesu (kdelibs) KDESu::SuProcess::ConverseSU: [ /root/rpmbuild/BUILD/kdelibs-4.6.5/kdesu/su.cpp : 259 ] Read line "Password: "
(with the qtcurve-gtk2 theme) JohnW ok, thanks for testing. That is what I expected and just confirms that KDE is the best DE  -p.
|
|
|
|
|
Logged
|
|
|
|
|
menotu
|
 |
« Reply #598 on: January 20, 2012, 07:18:27 AM » |
|
That is what I expected and just confirms that KDE is the best DE +1 
|
|
|
|
|
Logged
|
If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.
PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
|
|
|
Archie
Global Moderator
Hero Member
   
Offline
Posts: 6869
I will never forget you, uhhh...
|
 |
« Reply #599 on: January 20, 2012, 08:05:22 AM » |
|
That is what I expected and just confirms that KDE is the best DE +1  We're opening another heated debate but what the heck ... +1
|
|
|
|
|
Logged
|
|
|
|
|