Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gtk+ 2.8.16 on modular X 7.0 [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Thu Mar 23, 2006 2:07 pm    Post subject: gtk+ 2.8.16 on modular X 7.0 [solved] Reply with quote

Hi.. i have followed this how-to http://gentoo-wiki.com/HOWTO_Modular_Xorg to install Modular Xorg
Kde and every qt-aps works fine...
only gtk+ apps give this error
Code:

gtk-demo
The program 'gtk-demo' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 195 error_code 1 request_code 154 minor_code 2)
  (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.)
nautilus
Code:
The program 'nautilus' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 227 error_code 1 request_code 154 minor_code 26)
  (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.)

ecc... every gtk+ based apps... I have recompiled cairo pango and gtk+ .. but nothing.. revdep-rebuild doesn't compile anything...
i have

[ebuild R ] x11-libs/cairo-1.1.1_alpha20060216 USE="X glitz png -doc" 0 kB [3]
[ebuild R ] x11-libs/pango-1.12.0 USE="-debug -doc" 0 kB
[ebuild R ] x11-libs/gtk+-2.8.16 USE="X jpeg png -debug -doc -tiff -xinerama" 0 kB

and gnome-2.14
(It worked fine before the X update)
Thanks...[/code]
_________________
C.


Last edited by CarloJekko on Fri Mar 24, 2006 11:53 am; edited 1 time in total
Back to top
View user's profile Send private message
fr3akX
n00b
n00b


Joined: 17 Oct 2005
Posts: 31
Location: LV

PostPosted: Thu Mar 23, 2006 2:26 pm    Post subject: Reply with quote

I have the same problem! I think this is cairo+glitz+gtk+ stuff, because before I emerge -uD world, anything was great
_________________
http://chown.lv
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Thu Mar 23, 2006 2:46 pm    Post subject: Reply with quote

have you gnome 2.14 or what??
_________________
C.
Back to top
View user's profile Send private message
keikoz
n00b
n00b


Joined: 14 Feb 2006
Posts: 29

PostPosted: Thu Mar 23, 2006 2:47 pm    Post subject: Reply with quote

I did upgrade to Xorg 7.0 today, and same; a lot of application dont work :(

Epiphany working, but not FF, Mozilla, gnome-terminal; nearly nothing is working in fact ... The only way i can get a term is starting the command-line applet and launch xterm (but the applet is quite unstable, crashing every 2-3 minutes ...)

I'm running ~x86 arch, the gnome version is 2.12.3.

Here are the error messages starting the apps from xterm:

Code:
localhost keikoz # firefox
No running windows found
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 739 error_code 1 request_code 156 minor_code 2)
  (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.)
firefox-bin exited with non-zero status (1)
localhost keikoz # gnome-terminal

(gnome-terminal:5250): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
The program 'gnome-terminal' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 89 error_code 1 request_code 156 minor_code 2)
  (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.)
localhost keikoz # mozilla
No running windows found

localhost keikoz # thunderbird
No running windows found
Registering Enigmail account manager extension.
Enigmail account manager extension registered.
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 731 error_code 1 request_code 156 minor_code 2)
  (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.)
thunderbird-bin exited with non-zero status (1)


Gnome seems unable too opening a wallpaper, on the startup (hace to put it each time); and it is impossible to select objects on the desk bye drawing with the mouse ...


Last edited by keikoz on Thu Mar 23, 2006 3:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
fr3akX
n00b
n00b


Joined: 17 Oct 2005
Posts: 31
Location: LV

PostPosted: Thu Mar 23, 2006 2:58 pm    Post subject: Reply with quote

I have Fluxbox, but im using lots of gtk apps, ill try to downgrade glib and gtk, lets see what happens
_________________
http://chown.lv
Back to top
View user's profile Send private message
fr3akX
n00b
n00b


Joined: 17 Oct 2005
Posts: 31
Location: LV

PostPosted: Thu Mar 23, 2006 3:15 pm    Post subject: Reply with quote

seems i can run gtk apps from root, but still cant from user, ill try to cleanup $HOME
_________________
http://chown.lv
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Thu Mar 23, 2006 3:16 pm    Post subject: Reply with quote

gtk+1.x works well... is still a gtk+2.6 problem :-(
_________________
C.


Last edited by CarloJekko on Thu Mar 23, 2006 4:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
straks
n00b
n00b


Joined: 09 May 2004
Posts: 50

PostPosted: Thu Mar 23, 2006 3:36 pm    Post subject: Reply with quote

There are other people having exactly the same problem, like me:
https://forums.gentoo.org/viewtopic-t-439969-postdays-0-postorder-asc-start-50.html

i'm running gtk+-2.8.13 btw...
Back to top
View user's profile Send private message
Netolish
n00b
n00b


Joined: 23 Mar 2006
Posts: 6
Location: Czech Republic

PostPosted: Thu Mar 23, 2006 4:53 pm    Post subject: TWM helps Reply with quote

I have the same problem. I am using FVWM and every GTK2 apps stops work.
Reemerge of GTK2 or apps does not help. But when I switch to TWM
GTK2 apps starts work fine. May be it help to somebody find where is
the problem.

Netolish
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Thu Mar 23, 2006 6:04 pm    Post subject: Reply with quote

Totem 1.4.0 works fine... it can help ?
_________________
C.
Back to top
View user's profile Send private message
joelwright
n00b
n00b


Joined: 08 Mar 2006
Posts: 15

PostPosted: Thu Mar 23, 2006 7:02 pm    Post subject: Reply with quote

Same problem here :( Anyone had any luck sorting it out yet?

I've recompiled glib gtk pango and cairo with no luck. I fail to see what more I can do :(
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Thu Mar 23, 2006 7:27 pm    Post subject: Reply with quote

It can be a bad package or ebuild on our xorg-x11-7-r1 ... ?
firefox and thunderbird just works fine under twm
_________________
C.
Back to top
View user's profile Send private message
rojanu
Guru
Guru


Joined: 02 Feb 2004
Posts: 361
Location: London

PostPosted: Thu Mar 23, 2006 8:02 pm    Post subject: Reply with quote

I am having the smae problems here using KDE-3.5.1 firefox, mozilla and epiphany crashes but not Konqueror.
Here is the output
Code:
/usr/libexec/mozilla-launcher: line 339: xdpyinfo: command not found
No running windows found
which: no gwget in (/usr/bin:/bin:/usr/X11R6/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.0:/usr/i386-pc-linux-gnu/gcc-bin/3.3.5-20050130
:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/opt/vmware/workstation/bin)
which: no d4x in (/usr/bin:/bin:/usr/X11R6/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.0:/usr/i386-pc-linux-gnu/gcc-bin/3.3.5-20050130
:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/opt/vmware/workstation/bin)
which: no nt in (/usr/bin:/bin:/usr/X11R6/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.0:/usr/i386-pc-linux-gnu/gcc-bin/3.3.5-20050130
:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/opt/vmware/workstation/bin)
which: no aria in (/usr/bin:/bin:/usr/X11R6/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.0:/usr/i386-pc-linux-gnu/gcc-bin/3.3.5-20050130
:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/opt/vmware/workstation/bin)
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 6235 error_code 1 request_code 153 minor_code 2)
  (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.)
firefox-bin exited with non-zero status (1)
ali@deskuzun ~ $ firefox --sync
/usr/libexec/mozilla-launcher: line 339: xdpyinfo: command not found
which: no gwget in (/usr/bin:/bin:/usr/X11R6/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.0:/usr/i386-pc-linux-gnu/gcc-bin/3.3.5-20050130
:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/opt/vmware/workstation/bin)
which: no d4x in (/usr/bin:/bin:/usr/X11R6/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.0:/usr/i386-pc-linux-gnu/gcc-bin/3.3.5-20050130
:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/opt/vmware/workstation/bin)
which: no nt in (/usr/bin:/bin:/usr/X11R6/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.0:/usr/i386-pc-linux-gnu/gcc-bin/3.3.5-20050130
:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/opt/vmware/workstation/bin)
which: no aria in (/usr/bin:/bin:/usr/X11R6/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.0:/usr/i386-pc-linux-gnu/gcc-bin/3.3.5-20050130
:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/opt/vmware/workstation/bin)
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 10752 error_code 1 request_code 153 minor_code 2)
  (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.)
firefox-bin exited with non-zero status (1)
ali@deskuzun ~ $ mozilla
/usr/libexec/mozilla-launcher: line 339: xdpyinfo: command not found
No running windows found
Error launching mozilla:

There are files in your profile that are owned by a user other than
ali.  mozilla can't execute in this condition.  Here are some of
the files that I found:
    /home/ali/.mozilla/default/f9ewwstz.slt/bookmarks.html
    /home/ali/.mozilla/default/f9ewwstz.slt/Cache/82D29BF8d01
    /home/ali/.mozilla/default/f9ewwstz.slt/Cache/3D1E5590d01
    /home/ali/.mozilla/default/f9ewwstz.slt/prefs.js

You can fix this problem by running the following:
    su -c 'chown -R ali:users /home/ali/.mozilla'

ali@deskuzun ~ $  su -c 'chown -R ali:users /home/ali/.mozilla'
Password:
ali@deskuzun ~ $ mozilla
/usr/libexec/mozilla-launcher: line 339: xdpyinfo: command not found
No running windows found
plugin_get_value 1
plugin_get_value 2
LoadPlugin: failed to initialize shared library /usr/lib/nsbrowser/plugins/kaffeineplugin.so [libXaw.so.8: cannot open shared object file: No such file or directory]
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 794 error_code 1 request_code 153 minor_code 2)
  (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.)
mozilla-bin exited with non-zero status (1)
ali@deskuzun ~ $ epiphany
The program 'epiphany' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 14947 error_code 1 request_code 153 minor_code 2)
  (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.)

_________________
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler,
Linux User: #416714
Back to top
View user's profile Send private message
None9
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2005
Posts: 101

PostPosted: Thu Mar 23, 2006 8:15 pm    Post subject: Reply with quote

Same problem here. All KDE programs works but GTKs such as firefox doesn't. I'm running KDE 3.5.1 like rojanu :)
Back to top
View user's profile Send private message
fr3akX
n00b
n00b


Joined: 17 Oct 2005
Posts: 31
Location: LV

PostPosted: Thu Mar 23, 2006 8:30 pm    Post subject: Reply with quote

starnge, some of gtk+-2 apps still working - Gftp, mplayer, emelfm2, Gkrellm2
_________________
http://chown.lv
Back to top
View user's profile Send private message
ntoythi
n00b
n00b


Joined: 14 Oct 2003
Posts: 20

PostPosted: Thu Mar 23, 2006 8:32 pm    Post subject: Reply with quote

Same Problem here! Is there already a bug filed for this?
Back to top
View user's profile Send private message
jlward4th
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 83

PostPosted: Thu Mar 23, 2006 8:33 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=127333
Back to top
View user's profile Send private message
jlward4th
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 83

PostPosted: Thu Mar 23, 2006 8:57 pm    Post subject: Reply with quote

From Donnie in the bug comments:
Quote:
Copy compositeproto and fixesproto into your overlay. Move the compositeproto
ebuild to 0.2.2 and fixesproto to 3.0.2. Remerge both of them, and remerge
libXcomposite, libXfixes, and xorg-server.


gnome-screensaver still doesn't work for me. But other than that it's fixed!
Back to top
View user's profile Send private message
ntoythi
n00b
n00b


Joined: 14 Oct 2003
Posts: 20

PostPosted: Thu Mar 23, 2006 9:11 pm    Post subject: Reply with quote

These Versions are not in portage... where do I get compositeproto 0.2.2 and fixesproto-3.0.2?
Back to top
View user's profile Send private message
rojanu
Guru
Guru


Joined: 02 Feb 2004
Posts: 361
Location: London

PostPosted: Thu Mar 23, 2006 9:23 pm    Post subject: Reply with quote

you have to move the ones in the portage to overlay and rename them to fit the versions
For example
Code:
cat /etc/make.conf|grep OVERLAY
PORTDIR_OVERLAY=/usr/local/portage
cp /usr/portage/x11-proto/compositeproto/compositeproto-0.3.ebuild /usr/local/portage/x11-proto/compositeproto/compositeproto-0.2.2.ebuild
ebuild /usr/local/portage/x11-proto/compositeproto/compositeproto-0.2.2.ebuild digest
emerge =compositeproto-0.2.2

_________________
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler,
Linux User: #416714
Back to top
View user's profile Send private message
None9
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2005
Posts: 101

PostPosted: Thu Mar 23, 2006 9:49 pm    Post subject: Reply with quote

Works great for me :D
Reemerging xorg-server wasn't needed for me :)
Back to top
View user's profile Send private message
rojanu
Guru
Guru


Joined: 02 Feb 2004
Posts: 361
Location: London

PostPosted: Thu Mar 23, 2006 10:50 pm    Post subject: Reply with quote

mozilla launcher is updated now and firefox and mozilla works fine
_________________
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler,
Linux User: #416714
Back to top
View user's profile Send private message
None9
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2005
Posts: 101

PostPosted: Fri Mar 24, 2006 12:11 am    Post subject: Reply with quote

Even without doing those things?
Back to top
View user's profile Send private message
rojanu
Guru
Guru


Joined: 02 Feb 2004
Posts: 361
Location: London

PostPosted: Fri Mar 24, 2006 12:24 am    Post subject: Reply with quote

Yes it should work EVEN without those things :wink:
_________________
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler,
Linux User: #416714
Back to top
View user's profile Send private message
mutlu_inek
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2004
Posts: 141

PostPosted: Fri Mar 24, 2006 2:24 pm    Post subject: Reply with quote

There is a new solution to the problem. Instead of a workaround there is a new patched version of the xorg-server. See the bug report: https://bugs.gentoo.org/show_bug.cgi?id=127333
Download xorg-server-1.0.2-r1.ebuild and 1.0.2-overlay-windows.patch from there, add it to your portage overlay (or create one) together with the old files from /usr/portage/x11-base/xorg-server and do
Code:
emerge -v --digest xorg-server
emerge -v compositeproto fixesproto libXcomposite libXfixes

Works fine.

Thanks, Donnie!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum