broken X connection [5]

broken X connection

Wednesday, July 30, 2003 3:29 PM - Hrh

I am trying to use my Dell notebook running XP home and McAfee Personal Firewall to access my SUN Solaris machine at school. I set Xmanager to Passive mode, and use telnet to connect to Solaris machine, but when I type xterm I get the following message:

Warning: X11 connection requests different authentication protocol: 'MIT-MAGIC-COOKIE-1'vs.".
X connection to MACHINE: 10.0 broken (explicit kill or server shutdown).

Some please help!

Tnx.


Re: broken X connection

Wednesday, July 30, 2003 3:55 PM - Support

According to the error messages, you have tried to connect to the Solaris with SSH protocol, not TELNET.

Did you connect using Xstart with SSH? Or else another SSH client program?

Also the detailed steps and commands you entered would be helpful to assist you better.

----
Technical Support


Re: Re: broken X connection

Thursday, July 31, 2003 1:32 AM - Hrh

I am sure I am using TELNET, I used Xstart with TELNET because otherwise I cannot even connect to Solaris machine. Telnet is the only way that I could connect and get a initial screen where I type xterm.

The sequence of commands I follow is below:

1) Run Xconfig and pick passive mode for XDCPM.
2) Run Xmanager
3) Run Xstart and connect to the school gateway through TELNET
4) As I am not allowed to run any application on school gateway, I should use rlogin to connect to my specific Solaris machine. rlogin MACHINE
5) Once on MACHINE, I type xterm and the error message appears.

Any idea?



Re: Re: Re: broken X connection

Thursday, July 31, 2003 11:15 AM - Support

If you logs on mutiple times, you should configure the DISPLAY variable explicitly as following:

In csh:
$ setenv DISPLAY ip_of_your_PC:0

In sh or ksh:
$ DISPLAY=ip_of_your_PC:0 ; export DISPLAY

Hope to solve the problem.

----
Technical Support


Re: Re: Re: Re: broken X connection

Thursday, July 31, 2003 11:30 AM - Hrh

Tnx, it is working now. How can I get a X window environment exacly like I am sitting a my solaris machine? I mean what is the command I should type?

Thanks again,


Re: Re: Re: Re: Re: broken X connection

Thursday, July 31, 2003 11:35 AM - Support

Run /usr/dt/bin/Xsession at the prompt of xterm.

----
Technical Support


Previous views: 161