InfoDoc ID | Synopsis | Date | ||
27903 | Sun Ray[TM]: How to find the mac address of the Sun Ray[TM] machine corresponding to particular Xsun display | 3 Jan 2003 |
Status | Issued |
Description |
On Sun Ray[TM] server, this information is stored in directory /var/opt/SUNWut/displays. In this directory, there are files with numbers. Those numbers correspond to the Xsun display number.
SOLUTION SUMMARY:On Sun Ray[TM] server , do as below :
# ps -ef | grep -i Xsun
root 2541 1024 0 14:50:42 ? 0:01 /usr/openwin/bin/Xsun :0 -nobanner -auth /var/dt/A:0-X9aaac
root 1359 1024 0 Jul 27 ? 0:02 /usr/openwin/bin/Xsun :2 -nobanner -auth /var/dt/A:2-Z9aaac -dpms
skasad 1350 1024 0 Jul 27 ? 0:07 /usr/openwin/bin/Xsun :3 -nobanner -auth /var/dt/A:3-Y9aaac -dpmsroot 2665 2664 0 16:11:41 pts/13 0:00 grep -i Xsun
In each line you see Xsun:<number>. That number is the Xsun display number. To determine which Sun Ray[TM] machine has this display, do as below :
For Xsun:3,
# cat /var/opt/SUNWut/displays/3
SESSION=winux:7007:9010614780832734609
TOKEN=pseudo.080020d15b0b
SESSION_TYPE=default
TOKEN_SET=pseudo.080020d15b0b
CALLBACK_COOKIE=1701351291037972584
DISPLAY=3
INSERT_TOKEN=pseudo.080020d15b0b
From the TOKEN field, you can see the corresponding mac address of the Sun Ray[TM] machine. In this case it is 080020d15b0b.
INTERNAL SUMMARY:Submitter : Shirin Kasad
Email : shirin.kasad@sun.com