Monday, 9 October 2017

"No more handles" seen trying to run X11 over SSH

A brief moment of "panic" this AM, whilst trying to tunnel X11 over SSH: -

ssh -X wasadmin@bpm86

wasadmin@bpm86's password: 
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Last login: Mon Oct  9 09:38:11 2017 from

/opt/ibm/InstallationManager/eclipse/IBMIM -record installJava8.rsp

00:00.29 ERROR [main] org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory safeLogged
  Application error
  org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
    at org.eclipse.swt.SWT.error(
    at org.eclipse.swt.widgets.Display.createDisplay(
    at org.eclipse.swt.widgets.Display.create(
An error has occurred. See the log file

Before getting too worried about ulimit and missing X11 RPMs, I tested using my good old friend xeyes : -


which immediately returned: -

Error: Can't open display: 

Looking back at the original SSH command: -

ssh -X wasadmin@bpm86

I realised where I was going wrong, and really should've visited this old blog post: -

which directed me to do this: -

ssh -Y wasadmin@bpm86

wasadmin@bpm86's password: 
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Mon Oct  9 09:39:05 2017 from

and now things just work


/opt/ibm/InstallationManager/eclipse/IBMIM -record installJava8.rsp

Noice :-)

No comments:

Setting Authorization Headers in IBM API Connect Test and Monitor

I've recently started exploring the IBM API Connect Test and Monitor  tool on IBM Cloud here: -