Google it ....

Wednesday, November 13, 2013

Xlib: No protocol specified

It can be frustrating when you try to start xwindow application using Xming XServer on Windows XP/7/Vista but encountering connection refused error. Here is an example of the error:
[oracle@oel5 /]$ dbca
Xlib: connection to "192.168.0.100:0.0" refused by server
Xlib: No protocol specified

Here is a quick tip to fix this issue:
In Windows, look for the shortcut to start Xming. Right click your mouse to go to properties.
add -ac to your XMing shortcut:
"C:\Program Files (x86)\Xming\Xming.exe" :0 -clipboard -multiwindow -ac

The -ac parameter allows everyone to connect.
restart Xming and try again.

2 comments:

  1. nstachniak@gmail.comMay 15, 2015 at 4:21 AM

    such a small change but it assists so greatly! Thanks

    ReplyDelete
  2. Good one it really helped me.

    ReplyDelete