Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1001872.1
Update Date:2011-03-17
Keywords:

Solution Type  Technical Instruction Sure

Solution  1001872.1 :   Setting remote display back to your session while using a Sun Ray[TM]  


Related Items
  • Sun Ray Hardware
  •  
  • Sun Ray Hardware
  •  
  • Sun Ray Software
  •  
  • Sun Ray Hardware
  •  
  • Sun Ray Hardware
  •  
  • Sun Ray Hardware
  •  
Related Categories
  • GCS>Sun Microsystems>Desktops>Desktop Virtualization>Sun Ray Hardware
  •  
  • GCS>Sun Microsystems>Desktops>Desktop Virtualization>Sun Ray Software
  •  

PreviouslyPublishedAs
202563


Description
Setting remote display back to your session while using a Sun Ray[TM].

Steps to Follow
Here is the procedure for setting a remote display back to your local session while on a Sun Ray[TM].
First, open a terminal window to determine what the name of your Sun Ray server is, and what display you are using.
% /usr/bin/uname -n
ray-10
% echo $DISPLAY
:18.0

In this example, the Sun Ray server's hostname is  ray-10 , and the display is  18.0 .

However, the remote host may not see the sunray serveur with its hostname but with its IP address.

Exemple, typing 'who' on the remote host, we might get:

user1234 pts/5 Feb 4 15:29 (129.157.178.234)

In that case, use its IP address when setting the new DISPLAY.

Here's what you do when you get this information:

[5] user1234@ray-10: xhost + other_system.domain
other_system.domain being added to access control list
[6] user1234@ray-10: telnet other_system.domain
Trying 171.44.110.33...
Connected to other_system.domain
Escape character is '^]'.
SunOS 5.9
login: user1234
Password:
Last login: Sat Nov 27 20:32:35 from  ray-10
Sun Microsystems Inc.   SunOS 5.9       Generic May 2002
$ export DISPLAY=ray-10.<domain>:18.0
Note: The above example is for Korn shell (ksh).                        See breakdown note #3 for other shells.

Here's the breakdown -

  1. Use the 'xhost + < other_system.domain >' command. This grants the remote system unlimited X access to your session. See Infodoc 70920  a more secure alternative to xhost +  and the XAUTH(1) manual page for a more secure way to authenticate.

  2. Telnet/rlogin/ssh to the host you want to work with.

  3. Setting the DISPLAY environment variable.

  • ksh: $ export DISPLAY=ray-10.<domain>:18.0

  • sh: $ DISPLAY=ray-10.[domain]:18.0; export DISPLAY

  • csh: $ setenv DISPLAY ray-10.[domain]:18.0

Make sure to add the domain (if your enterprise uses them) into the Sun Ray server name, and also add the display number from your session on the Sun Ray.

Now you can run the application you want and it will display to your Sun Ray session.

When you are finished, remove the access from the remote system:

$ xhost - < other_system.domain >



Product
Sun Ray Server Software 1.2
Sun Ray 1 Ultra-Thin Client
Sun Ray 170 Ultra-Thin Client
Sun Ray 100 Ultra-Thin Client
Sun Ray 1g Ultra-Thin Client
Sun Ray 150 Ultra-Thin Client

Internal Comments
For internal Sun use only.

This document is now maintained by Thomas Dehn
(thomas.dehn@sun.com)


SunRay, sunray, remote, display
Previously Published As
52380

Change History
Date: 2006-01-23
User Name: 18392
Action: Update Canceled
Comment: *** Restored Published Content *** SSH Audit
Version: 0
Date: 2006-01-22
User Name: 18392
Action: Update Started
Comment: SSH Audit
Version: 0
Date: 2005-02-10
User Name: 71396
Action: Approved
Comment: Performed final review of article.
No changes required.
Publishing.
Version: 6

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback