Ever wonder what is the way to run
xclock from a zone in Solaris 10 running in Virtual Box on
OpenSolaris 2008.11 ?
Very easy !
I am logged in
OpenSolaris 2008.11 as
rudyrudy:~$ id
uid=101(
rudy)
gid=10(staff) groups=10(staff)
rudy:~$ echo $DISPLAY
:0.0rudy:~$
uname -a
SunOS XXX
5.11 snv_101b i86
pc i386 i86
pc Solaris
OpenSolarisGZ : 192.168.1.100
VB : Solaris 10
GZ : 192.168.1.102 sol10.vegworld.org
LZ : 192.168.1.104 europortal.vegworld.org
Enter the
LZ on Solaris 10(VB) as ANY server. There is no difference !
rudy@dhcp-ebru03-133-226:~$ ssh -l root -X europortal.vegworld.org
Password: XXX
Last
login: Wed Mar 18 11:58:26 2009 from 192.168.1.100
Sun
Microsystems Inc.
SunOS 5.10 Generic January 2005
-bash-3.00#
hostnameeuroportal-bash-3.00#
uname -a
SunOS europortal 5.10 Generic_137138-09 i86
pc i386 i86
pc-bash-3.00# echo $DISPLAY
localhost:10.0-bash-3.00# /usr/openwin/bin/xclock Don't try to assign DISPLAY yourself... It should work but it is a lot better through
ssl -X ! I was "
rudy" on
OpenSolaris and I do a "ssh" as the user I want on Solaris... I mean don't enter Solaris as
rudy(ssh -l rudy) and the
su - and assign DISPLAY... You enter the host from a terminal where X11 is working and ssh will initialize your DISPLAY... The fact that it is a
LZ does not have any influence here, it is the same logic...
-Rudy-