[SUMMARY] X session on netra w/Solaris9

From: Erin D. Hughes <erin-hughes_at_gmo.jp>
Date: Fri Feb 16 2007 - 03:09:58 EST
Thanks to Dave Markham, Dwight Brewer, Dana Hudes Prasanth

Suggestions were
1. Simplify and test. Tried that and couldn't get xlogo or xclock to work.
2. Check if the xserver was running, no it was not
3. Check the  local and remote hosts sshd_conf to make sure X session 
forwarding was enabled it was. (Although I did not believe the local 
machines ssh config would have a effect for the sake of arguments I 
checked it anyways)
4. Set the display manually; set DISPLAY= it also did not 

Finally what I had to set the MIT magic cookie. I have personally never 
had to do this before on Solaris or Linux using -X but it worked this time.
On my desktop fedora core 5:
xauth > list
localhost.localdomain/unix:0  MIT-MAGIC-COOKIE-1  

NEXT on the remote box I did the same commands with the full path

add localhost.localdomain/unix:0  MIT-MAGIC-COOKIE-1  

Then the display worked.

Also with this some other people suggested that if you sudo'ed to root 
(or another user) your x display would not follow you.
I found this NOT to be the case and was able to verify by checking the 
environment before and after sudoing to root.


I was able to export my X session both times. I also tried this with 
other servers that I did not need to set the magic cookie on and found 
that sudoing in all cases was not a problem. Like most I usually choose 
CLI but sometimes with  vendor app's  X is the only way to go.

Thanks again for everyones help.


> -----Original Message-----
> From: sunmanagers-bounces@sunmanagers.org
> [mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Erin D. Hughes
> Sent: Thursday, February 08, 2007 3:48 AM
> To: sunmanagers@sunmanagers.org
> Subject: X session on netra w/Solaris9
> Hey all,
> I am trying to export a X session of a giu for my backup softwares HP
> The  software is by bakbone and called *NetVault6.5.
> *I log in with  ssh  -X  (have also tried  -Y)
> # env  shows that I get a display.
> <snip>
> DISPLAY=netra03.FQDN.net:11.0
> </snip> **
> But when I run the software that should be exported to my session I get
> nvguidisplay: can't open display, exiting
> I have checked all the normal culprits;
> /etc/ssh/sshd_config
> shows X forwarding is enabled.
> There is no other nvgui clients running but also there is no X session.
> I check that with ps and also if I try to run say xlogo or xclock I get 
> the same error.
> I have tried to run X to get it started with
> bash-2.05# /usr/openwin/bin/X
> /dev/fb: No such file or directory
> /dev/fb: No such file or directory
> Graphics Adapter device /dev/fb is of unknown type
> Fatal server error:
> InitOutput: Error loading module for /dev/fb
> Can some one please show me what I am missing .....
> Regards,
> Erin
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
sunmanagers mailing list
Received on Fri Feb 16 03:10:35 2007

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:04 EST