A couple fair warnings before you start down this path..
1) I tested Skype 2.0... rumor is that 1.3 will give you audio because it included support for oss
2) I got the X forwarding working, but if the instructions I give below are wrong.. someone comment/correct me
3) Fedora sucks.. I unfortunately thought it would be a good base vs Ubuntu.. however which one sucks less is up to the read to decide..
4) I'm tossing this post up before I forget too much because I didn't document things properly (Will edit/correct as needed)
Some reasons why you may want to do this..
1) Your boss forwarded you some messed up pdf from HSBC that evince can't read
2) There's someone who refuses to use a sane messenger client and you must talk with them on Skype
3) You're interested in testing the current state of a OpenSolaris 2.6 brandz zone..
-------
Some prerequisite reading before you dive in..
This will tell you very clearly how to install your zone
http://opensolaris.org/os/community/brandz/install/
This will tell you very clearly the differences you need to install a 2.6 based zone
http://opensolaris.org/os/community/brandz/todo/linux_2_6/
My notes below hopefully will be a timesaver..
Instead of the CentOS tarball that's provided I used the one from..
wget http://download.openvz.org/template/precreated/contrib/fedora-9-i386-default.tar.gz
small side note.. about brandz networking.. you can dedicate an interface to your zone, but it will require a separate physical interface.. (maybe a wireless one will work.. untested) otherwise just pick an ip from the same subnet that you're currently connected to.. (I assume you have connectivity if you're reading this.. I mention this because if you think you can dhcp enable the zones interface you're wrong.. :P)
So you've logged into your zone. and have networking setup.. what's next.. Well. you'll need to install some additional things before it'll all run..
If you're like me and haven't ever had to use yum.. you can find what you're looking for in most cercumstances by doing something like..
# yum provides "*/bin/startx"
fedora | 2.4 kB 00:00
updates | 2.3 kB 00:00
xorg-x11-xinit.i386 : X.Org X11 X Window System xinit startup scripts
At some point you're going to try to install something which would break your zone, cause problems, package conflicts or eat your hamster..
Stolen from
http://www.montanalinux.org/fedora-9-preview-into-openvz-os-template.html
Original advice..
rpm -ivh --justdb --nodeps --force \
http://{URL-to-mirror}/hal-{version}.fc9.i386.rpm \
http://{URL-to-mirror}/hal-libs-{version}.fc9.i386.rpm \
http://{URL-to-mirror}/kernel-{version}.fc9.i686.rpm \
http://{URL-to-mirror}/udev-{version}.fc9.i386.rpm \
http://{URL-to-mirror}/module-init-tools-{version}.i386.rpm
IMPORTANT : What actually worked.. (Feel free to adjust the mirrors, but I doubt the facebook guys will care..)
rpm -ivh --justdb --nodeps --force \
http://fedora.mirror.facebook.com/linux/releases/9/Fedora/i386/os/Packages/hal-0.5.11-0.7.rc2.fc9.i386.rpm
\
http://fedora.mirror.facebook.com/linux/releases/9/Fedora/i386/os/Packages/hal-libs-0.5.11-0.7.rc2.fc9.i386.rpm
\
http://fedora.mirror.facebook.com/linux/releases/9/Fedora/i386/os/Packages/udev-120-5.20080421git.fc9.i386.rpm
\
http://fedora.mirror.facebook.com/linux/releases/9/Fedora/i386/os/Packages/module-init-tools-3.4-13.fc9.i386.rpm
Finally. it's maybe time to install or at least figure out what's missing in order to get Acrobat reader working.. (right?)
From inside your zone..
wget http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/8.1.2/enu/AdobeReader_enu-8.1.2_SU1-1.i486.rpm
rpm -i AdobeReader_enu-8.1.2_SU1-1.i486.rpm
(Hint: yum provides "libXss.so.1" )
yum install libXScrnSaver
make sure /etc/ssh/sshd_config
X11Forwarding yes
Start sshd inside your zone..
Creating a less privelege user so you can login..
-----------------
So now we need to get ssh + X forwarding to work in your host environment
pfexec gdmsetup
Important : on the security tab.. Untick deny TCP connections to Xserver..
You will probably have to logout for this to take affect..
Assuming everything went well.. from a terminal in the host you should now be able to do..
ssh -X foo@192.168.1.20 /usr/bin/acroread
(You'll only be able to open files inside your zone though.. Somehow I feel I've gotten this all backwards, but please feel free to correct me.)