This is pretty straight forward.

The Sun Ray Server software and sshd both assign the DISPLAY variable independently.  The easiest fix is to change the starting X11DisplayOffset in the /etc/ssh/sshd_config to a number greater than your number of Sun Ray clients (I set ours to 100) and restart the sshd process.  Then the first DISPLAY set by sshd will be :100.0 .

David Cocking, Senior Business Consultant
TECHNOLOGENT
INTEGRATING THE ENTERPRISE

office: (972) 726-7200 x103 office: (800) 752-9812 x103 fax: (972) 726-7201 cell: (469) 387-5082
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail.  Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



Neal A. Lucier wrote:
I have similar but different problem.

I log into the SunRay server both from a SunRay and remotely via SSH
with X11 forwarding enabled.

Sometimes I find that both the SRSS and sshd will assign different
logins the same DISPLAY variable, i.e. :10.0.

I haven't been able to figure out how to reproduce this (though it
happens so regularly I now use a different host to ssh into), but the
symptoms are:

1. When i put in my smartcard, instead of being greeted by xscreensaver,
I'm at my GNOME desktop without putting in a password, it appears that
xscreensaver crashed

2. The GNOME session still "works" however i can't launch any new X
apps, I get the same:
Xlib: connection to ":xx.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE...

This is on Solaris 5.9 with SRSS 2.0 patch level -05, in a failover
group (the second server has an unpatched SRSS 2.0).

I don't know where to even start looking for answers to this problem so
any information at all would be useful.

Thanks,
Neal Lucier
[EMAIL PROTECTED]


On Wed, 2004-12-01 at 17:29 +0100, Gerard Henry wrote:
  
Hi all

just now, my users can't login with gnome but it's always possible with CDE
in .dt/startlog, i saw:

--- execing /usr/dt/config/Xsession2.Sun-gnome-2.0-s9u4s-2_0_2-08 with a 
/bin/tc
sh login shell ...
--- starting desktop on /dev/pts/76
/usr/dt/bin/Xsession[765]: 6053 Hangup
X connection to :7.0 broken (explicit kill or server shutdown).^M
Xlib: connection to "localhost:7.0" refused by server^M
Xlib: Invalid MIT-MAGIC-COOKIE-1 key^M

what can i do?

thanks for help,

    

_______________________________________________
SunRay-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/sunray-users
  
_______________________________________________
SunRay-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to