Bug 6496 - Plugging in graphic tablet ends gnome session
Summary: Plugging in graphic tablet ends gnome session
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-18 11:02 CEST by morrigan w
Modified: 2016-01-24 12:09 CET (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description morrigan w 2012-06-18 11:02:00 CEST
Description of problem:


kernel: 3.4.2-desktop-1.mga3
gnome-session-bin-3.4.2.1-2.mga3.x86_64


If I plug in my wacom tablet (a Bamboo that has been supported for years), the gnome session is killed.

I get a error panel that tells me that oh no, something has gone wrong and forces me to log out. After that, it is no longer possible to log in again - the login panel appears with the oh no message in the background, password is accepted, session is immediately killed and login panel reappears. A restart of the dm service does not help.

Unplugging the tablet and rmmod-ing the wacom driver does not help either. I managed once to fix the system again by doing telinit 1, telinit 5, but on second attempt not even that got me a working x-session again.

This can be reproduced at will.

The syslog is not very communicative about it:

n 18 10:34:05 phoenix kernel: [  134.694461] usb 2-1.2: new full-speed USB device number 3 using ehci_hcd
Jun 18 10:34:05 phoenix kernel: [  134.784396] usb 2-1.2: New USB device found, idVendor=056a, idProduct=00dd
Jun 18 10:34:05 phoenix kernel: [  134.784407] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jun 18 10:34:05 phoenix kernel: [  134.784413] usb 2-1.2: Product: CTL-470
Jun 18 10:34:05 phoenix kernel: [  134.784418] usb 2-1.2: Manufacturer: Wacom Co.,Ltd.
Jun 18 10:34:05 phoenix mtp-probe: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2"
Jun 18 10:34:05 phoenix mtp-probe: bus: 2, device: 3 was not an MTP device
Jun 18 10:34:05 phoenix kernel: [  134.812665] input: Wacom Bamboo Connect Pen as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input17
Jun 18 10:34:05 phoenix kernel: [  134.813766] input: Wacom Bamboo Connect Finger as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/input/input18
Jun 18 10:34:05 phoenix kernel: [  134.813880] usbcore: registered new interface driver wacom
Jun 18 10:34:14 phoenix acpid: client 1185[0:0] has disconnected
Jun 18 10:34:14 phoenix acpid: client connected from 1185[0:0]
Jun 18 10:34:14 phoenix acpid: 1 client rule loaded
Jun 18 10:34:16 phoenix gnome-session[2112]: WARNING: Application 'gnome-settings-daemon.desktop' killed by signal 6
Jun 18 10:34:21 phoenix gnome-session[2112]: WARNING: Application 'gnome-settings-daemon.desktop' killed by signal 6
Jun 18 10:34:21 phoenix gnome-session[2112]: WARNING: App 'gnome-settings-daemon.desktop' respawning too quickly
Jun 18 10:34:30 phoenix console-kit-daemon[1190]: missing action
Jun 18 10:34:31 phoenix acpid: client 1185[0:0] has disconnected
Jun 18 10:34:31 phoenix acpid: client connected from 5462[0:0]
Jun 18 10:34:31 phoenix acpid: 1 client rule loaded
Jun 18 10:34:32 phoenix systemd-logind[1051]: New session 3 of user gdm.


To be honest, I'm not sure how to debug this further...
Comment 1 morrigan w 2012-06-18 11:05:37 CEST
ah, forgot to add - I get this on the gnome classic session. Haven't tried the 3d one. This behaviour isn't entirely new - I have one machine on mga2 that does this occasionally, but there it is fixed with a re-login.

The machine I have on cooker does it every time and I haven't found a workaround yet.
Comment 2 morrigan w 2012-06-18 12:01:28 CEST
Might be a permission problem?

That's what the auth log has to say on the issue:


Jun 18 11:31:22 phoenix pkexec[12697]: morrigan: Error executing command as another user: Not authorized [USER=root] [TTY=unknown] [CWD=/home/morrigan] [COMMAND=/usr/lib64/gsd-wacom-led-helper --path /dev/input/event18 --group 0 --led 0]
...



I think this happens on startup:

Jun 18 11:33:38 phoenix pkexec[13237]: gdm: The value for the SHELL variable was not found the /etc/shells file [USER=root] [TTY=unknown] [CWD=/var/lib/gdm] [COMMAND=/usr/lib64/gsd-wacom-led-helper --path /dev/input/event18 --group 2 --led 0]
Comment 3 Manuel Hiebel 2012-06-20 15:11:43 CEST
more info in .xsession-errors ?
Comment 4 morrigan w 2012-06-25 23:37:16 CEST
Not that I can identify:


(gnome-settings-daemon:28233): wacom-plugin-WARNING **: Could not set the current stylus ID 0x0 for tablet 'Wacom Bamboo Connect Pen', no general pen found
**
wacom-plugin:ERROR:gsd-wacom-device.c:1491:gsd_wacom_device_set_current_stylus: assertion failed: (device->priv->styli)
[1340658602,000,xklavier.c:xkl_engine_start_listen/] 	The backend does not require manual layout management - but it is provided by the application
compiz (decor) - Warn: failed to bind pixmap to texture
compiz (decor) - Warn: failed to bind pixmap to texture
gnome-session[27008]: WARNING: Application 'gnome-settings-daemon.desktop' killed by signal 6

(nm-applet:28304): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -2 and height 24

(tracker-miner-fs:28294): Tracker-WARNING **:   Got extraction DBus error on 'file:///home/morrigan/dl/search_files/dragonsgate_small.html': GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

(gnome-settings-daemon:31269): wacom-plugin-WARNING **: Could not set the current stylus ID 0x0 for tablet 'Wacom Bamboo Connect Pen', no general pen found
**
wacom-plugin:ERROR:gsd-wacom-device.c:1491:gsd_wacom_device_set_current_stylus: assertion failed: (device->priv->styli)
gnome-session[27008]: WARNING: Application 'gnome-settings-daemon.desktop' killed by signal 6
gnome-session[27008]: WARNING: App 'gnome-settings-daemon.desktop' respawning too quickly

...
(tracker-store:28285): Tracker-WARNING **: database table is locked (strerror of errno (not necessarily related): No such file or directory)

(tracker-store:28285): Tracker-WARNING **: database table is locked (strerror of errno (not necessarily related): No such file or directory)
gnome-session[27008]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.


Received signal:15->'Terminated'
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 51548 requests (51548 known processed) with 0 events remaining.
** Message: PID 23610 (we are 28304) sent signal 15, shutting down...

Received signal:15->'Terminated'
(gtk-window-decorator:28271): GConf-WARNING **: Got Disconnected from DBus.


OK

gtk-window-decorator: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

OK


(audacious:28283): Gdk-WARNING **: audacious: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Pidgin: Fatal IO error 0 (Success) on X server :0.

-----------
Comment 5 Nic Baxter 2015-03-10 08:21:12 CET
Still valid? Needs a nudge?

CC: (none) => nic

Comment 6 Nic Baxter 2016-01-24 12:09:16 CET
No response to my previous comment so closed

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.