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 rudy
rudy:~$ id
uid=101(rudy) gid=10(staff) groups=10(staff)
rudy:~$ echo $DISPLAY
:0.0
rudy:~$ uname -a
SunOS XXX 5.11 snv_101b i86pc i386 i86pc Solaris
OpenSolaris
GZ : 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# hostname
europortal
-bash-3.00# uname -a
SunOS europortal 5.10 Generic_137138-09 i86pc i386 i86pc
-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-
Blog Archive
-
▼
2009
(18)
-
▼
March
(13)
- swap space on Solaris 10(in Virtual Box)
- Moving Virtual Box Machines
- Virtual Box on OpenSolaris 2008.11
- cacao - the basics
- Sun Java Web Console - the basics
- X11 and DISPLAY and ssh
- Flash on OpenSolaris 2008.11
- Installing the java es 5u1 shared components in a ...
- X11 in Solaris zones - OpenSolaris 2008.11
- The Open Solaris Bible has just arrived and get mo...
- Zones, ZFS and snapshots (making your life easier)
- Sparse Zones, Cloning and ZFS - OpenSolaris 2008.11
- Disabling the irritating system beep !
-
▼
March
(13)
I'll try to help you to use OpenSolaris without the headache ! I am an ex Sun Microsystems and please don't hesitate to contact me for any matter having a link with OpenSolaris... No stupid questions... It is a very nice OS ! Don't miss it !
Wednesday, March 18, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment