Bug #55441 Workbench does not start when using X11 forwarding.
Submitted: 21 Jul 2010 13:03 Modified: 24 May 2013 17:38
Reporter: Adam Kowalewski Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.25 OS:Linux (Ubuntu 10.4)
Assigned to: Assigned Account CPU Architecture:Any
Tags: BadLength, ssh, X Window System, x11, Xlib

[21 Jul 2010 13:03] Adam Kowalewski
Description:
Server: Ubuntu 10.4
Client: Ubuntu 9.10

I connect to my developer computer over SSH with X11 forwarding. Other applications like eclipse, nautilus, firefox run well. 'mysql-workbench' returns following error: 
---------------------------------------
adam@rhode:/tmp$ mysql-workbench
** Message: Gnome keyring daemon seems to not be available. Stored passwords will be lost once quit
The program 'mysql-workbench-bin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
  (Details: serial 262 error_code 16 request_code 136 minor_code 17)
  (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.)
adam@rhode:/tmp$ 
---------------------------------------

How to repeat:
$ ssh -X myServer 
$ mysql-workbench
[21 Jul 2010 13:50] Johannes Taxacher
Hi Adam,
does workbench run correctly when you launch it locally on the server? running workbench works fine here (though my setup differs from yours as i am using OSX as client but like you i'm running it via X-fwd from an ubuntu 10.4 system)
[21 Jul 2010 13:58] Adam Kowalewski
Hi Johannes, 

> does workbench run correctly when you launch it locally on the server?
yes it does
[21 Jul 2010 14:07] MySQL Verification Team
I got the below messages but Workbench starts on Fedora 13:

[miguel@tikal ~]$ ssh -Y 192.168.0.60
miguel@192.168.0.60's password: 
Last login: Tue Jul 20 10:54:19 2010 from 192.168.0.99
[miguel@hegel ~]$ mysql-workbench
** Message: Gnome keyring daemon seems to not be available. Stored passwords will be lost once quit
/usr/lib64/python2.6/site-packages/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases.  See http://www.pycrypto.org/randpool-broken
  RandomPool_DeprecationWarning)

** (mysql-workbench-bin:20052): WARNING **: Plugin 'wb.tools.quickTables' from module WbTools has invalid type ''

I will test on Ubuntu.
[21 Jul 2010 14:27] MySQL Verification Team
Verified on Ubuntu 10.04:

[miguel@tikal ~]$ ssh -Y 192.168.0.18
miguel@192.168.0.18's password: 
Linux atonal 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
Ubuntu 10.04 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/

Last login: Wed Jul 21 11:24:06 2010 from 192.168.0.56
miguel@atonal:~$ mysql-workbench
** Message: Gnome keyring daemon seems to not be available. Stored passwords will be lost once quit
Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open shared object file: No such file or directory
Segmentation fault
*** Segmentation fault
Register dump:
[24 May 2013 17:38] Alfredo Kojima
Workbench requires local X server because of graphics needs. VNC or similar is recommended for remote usage.