← Back to team overview

freenx-team team mailing list archive

[Bug 409621] Re: The program 'gnome-settings-daemon' received an X Window System error. During on a FreeNX server suring a session.

 

As pointed out a few comments ago, the actual code in libxklavier where
this error occurs is this:

#ifdef HAVE_XINPUT
 if (xkl_engine_priv(engine, features) | XKLF_DEVICE_DISCOVERY) {
  DevicePresence(display, xitype, xiclass);
  XSelectExtensionEvent(display,
          xkl_engine_priv(engine, root_window),
          &xiclass, 1);

There is an error with that function in it's current form (the if
statement always evaluates true, even if the X server has no XIE).
However, that isn't your issue here. The log from g-s-d clearly shows
that your X server has XIE loaded:

[1250597338,150,xklavier_xkb.c:xkl_xkb_init/]   XInputExtension found
(131, 66, 129)

...and your output of xdpyinfo supports this too. With that in mind, I
can't think of any reason why this code section would cause this error,
other than an issue with NX itself. I've spoken with the maintainer of
libxklavier too, and we agreed that this should be assigned to FreeNX
now (at least until we see a similar issue with Xorg)

** Changed in: gnome-settings-daemon (Ubuntu)
       Status: Incomplete => Invalid

** Also affects: freenx-server
   Importance: Undecided
       Status: New

-- 
The program 'gnome-settings-daemon' received an X Window System error. During on a FreeNX server suring a session.
https://bugs.launchpad.net/bugs/409621
You received this bug notification because you are a member of FreeNX
Team, which is the registrant for FreeNX Server.

Status in FreeNX open source NX Server: New
Status in Gnome Settings Daemon: New
Status in “gnome-settings-daemon” package in Ubuntu: Invalid

Bug description:
Binary package hint: gnome-settings-daemon

The only side effect is that theming and icons display incorrectly. It has only recently started to happen so there may be a regression somewhere.
After logging into freenx and Typing gnome-settings-daemon returns the following:

** (gnome-settings-daemon:21810): WARNING **: Unable to start xrandr manager: unhandled X error while getting the range of screen sizes
The program 'gnome-settings-daemon' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadClass, invalid event class'.
  (Details: serial 155 error_code 133 request_code 131 minor_code 6)
  (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.)

Disabling the keyboard plugin stops the error and the themes load correctly.
$ lsb_release -rd
Description:	Ubuntu 9.04
Release:	9.04

$ apt-cache policy gnome-settings-daemon
gnome-settings-daemon:
  Installed: 2.26.1-0ubuntu2
  Candidate: 2.26.1-0ubuntu2
  Version table:
 *** 2.26.1-0ubuntu2 0
        500 http://ubuntu-ashisuto.ubuntulinux.jp jaunty-updates/main Packages
        100 /var/lib/dpkg/status
     2.26.0-0ubuntu4 0
        500 http://ubuntu-ashisuto.ubuntulinux.jp jaunty/main Packages

$ apt-cache policy freenx
freenx:
  Installed: 0.7.3+teambzr104-0freenxteam1
  Candidate: 0.7.3+teambzr104-0freenxteam1
  Version table:
 *** 0.7.3+teambzr104-0freenxteam1 0
        500 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status

Expect to happen: Themes to render correctly.
Instead: gnome-settings daemon crashes