LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2014, 03:49 AM   #1
Sean1988
LQ Newbie
 
Registered: Jan 2014
Location: India
Distribution: RHEL, CentOS, Fedora
Posts: 19

Rep: Reputation: Disabled
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 when trying x11 forwarding


Hi all,

I'm new to linux and am trying to work out a concept in my virtual machine. i'm unable to launch application in a remote server as a user using ssh x11 forwarding. With Root credentials i could.

Below is the message i get whn i try as a regular user.

*****************************************
[sean@localhost2 ~]$ ssh -Y root@server
root@server's password:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Mon May 12 13:13:04 2014 from 192.168.159.134
[root@localhost ~]# firefox
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyError: cannot open display: localhost:0.0

******************************************

When i try as root, I'm able to launch.

[root@localhost2 ~]# ssh -Y server
Last login: Mon May 12 14:16:52 2014 from 192.168.159.134
[root@localhost ~]# firefox
[root@localhost ~]#

Please advise guyz
 
Old 05-12-2014, 05:19 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
http://ubuntuforums.org/showthread.php?t=1525060
 
Old 05-12-2014, 06:35 AM   #3
Sean1988
LQ Newbie
 
Registered: Jan 2014
Location: India
Distribution: RHEL, CentOS, Fedora
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thank you for your reply EDDY1. My apologies as i totally forgot to mention in the thread that i referred this site (http://ubuntuforums.org/showthread.php?t=1525060) before posting.

X11 forwarding option is enabled in /etc/ssh/ssh_config

[root@localhost2 ~]# yum list | grep vnc
This system is not registered with RHN.
RHN support will be disabled.
gtk-vnc.x86_64 0.3.10-3.el6 @abc
gtk-vnc-python.x86_64 0.3.10-3.el6 @abc
libvncserver.x86_64 0.9.7-4.el6 @abc
tigervnc.x86_64 1.0.90-0.10.20100115svn3945.el6 @abc
tigervnc-server.x86_64 1.0.90-0.10.20100115svn3945.el6 @abc
gtk-vnc.i686 0.3.10-3.el6 abc

It works with root user credential and not with regular user meaning there is some configuration i need to check in user level.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mit-magic-cookie-1 sysbox Linux - General 6 03-05-2010 12:02 PM
firefox 3.0.5 on 64 bit: MIT-MAGIC-COOKIE-1 keyError business_kid Linux - Software 2 06-09-2009 04:50 AM
Using Partition Magic and Boot Magic to install Linux zathrus MEPIS 4 01-14-2006 09:24 PM
Xlib: Invalid MIT-MAGIC-COOKIE-1 key bobbens Debian 2 01-17-2005 10:11 AM
Mit-magic-cookie ??? overlord73 Fedora 1 12-17-2004 05:38 AM


All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration