Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1800
  • Last Modified:

can't run mysql workbench

Hi

I am connecting to a linux virtual machine from a windows xp machine via cygwin/x

mysql workbench wont start and i dont know what to do as I know nothing about x11 or xwin

:~# /usr/bin/mysql-workbench
** Message: Gnome keyring daemon seems to not be available. Stored passwords will be lost once quit
X11 connection rejected because of wrong authentication.

(mysql-workbench-bin:4438): Gtk-WARNING **: cannot open display: localhost:17.0


thanks
0
andieje
Asked:
andieje
  • 5
  • 3
1 Solution
 
AriMcCommented:
Are you connecting from cygwin/x to the virtual Linux via SSH?

If so, have you enabled X-forwarding with the command line option -X?

0
 
andiejeAuthor Commented:
yes i connect with ssh -X
0
 
andiejeAuthor Commented:
i tried almost everything in this link

http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/

the ssh_config file did not have ForwardX11 yes. I added this line but it made no difference

I didnt do this line as i didnt know what it meant
ssh -X user@remote.box.example.com xeyes
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
andiejeAuthor Commented:
this solved the problem

i) adding ""ForwardX11Trusted yes" to your .ssh/config and/or invoking ssh as
ssh -Y

0
 
AriMcCommented:
Ok good, checking the X-forwarding permissions in the SSH-daemon configuration would've probably come next to my mind. :)

0
 
andiejeAuthor Commented:
i don't know what any of these things mean. I'm a linux beginner. i dont know what x11 is or x forwarding of the difference between ssh -X and ssh -Y
0
 
AriMcCommented:
When you start an application on a remote X-window server (like in your case), the server attempts to open a connection back to your local workstation. This connection is needed to open the application window on your workstation.

Normally in a local network this works fine. When you are connecting to a remote server with SSH things get tricky because there usually are several firewalls between you and the server preventing the connection. The SSH options -X and -Y are ways to overcome this. The basic option -X forwards calls from your remote X-server to your local workstation through the encrypted SSH-tunnel, but because of historical reasons, newer versions require more configuration to secure both ends of the communication from attackers. For this reason a more relaxed option -Y has been introduced to override those restrictions.

It's a bit complicated in all but that's because we live in a constant combat between users and illicit hackers.

0
 
andiejeAuthor Commented:
i solved the problem myself
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now