<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Combat Pretzel &#187; opensolaris</title>
	<atom:link href="http://www.combatpretzel.com/tag/opensolaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.combatpretzel.com</link>
	<description>Tom Servo's Online Craphole!</description>
	<lastBuildDate>Sun, 10 Jan 2010 04:57:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Access your global zone X11 server from a local zone, without TCP/IP!</title>
		<link>http://www.combatpretzel.com/2008/12/access-your-global-zone-x11-server-from-a-local-zone-without-tcpip/</link>
		<comments>http://www.combatpretzel.com/2008/12/access-your-global-zone-x11-server-from-a-local-zone-without-tcpip/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 12:56:10 +0000</pubDate>
		<dc:creator>tomservo</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[brandz]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false">http://www.combatpretzel.com/?p=50</guid>
		<description><![CDATA[I&#8217;ve stumbled over some ARC case enabling labelled zones in OpenSolaris (from Trusted Extensions) to access the X11 server in the global zone &#8220;natively&#8221; using Unix domain sockets instead of TCP/IP or other jokes. It seems that mounting the X11 socket with the loopback filesystem driver into your zone does the job quite well and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve stumbled over some ARC case enabling labelled zones in OpenSolaris (from Trusted Extensions) to access the X11 server in the global zone &#8220;natively&#8221; using Unix domain sockets instead of TCP/IP or other jokes. It seems that mounting the X11 socket with the loopback filesystem driver into your zone does the job quite well and simple.</p>
<p>Obviously it helps when you&#8217;re messing with multiple native zones for some reason (I don&#8217;t know, like a seperate zone to develop and test software), but I was more thinking about BrandZ. Things like Google Earth or maybe Unreal Tournament for Linux. I&#8217;d figure the overhead of TCP would screw up framerates a lot. Right now I&#8217;ve only tried Google Earth, I&#8217;ve yet to look for a demo of a Linux port of some commercial game (at least one that&#8217;s not worth a whole CD-R).</p>
<p>Anyway, that&#8217;s how it goes during runtime. Might want to tweak your vfstab accordingly if you want it to be permanent:</p>
<p style="padding-left: 30px;">pfexec mkdir /pathtoyourzone/root/tmp/.X11-unix<br />
pfexec mount -F lofs /tmp/.X11-unix /pathtoyourzone/root/tmp/.X11-unix<br />
xhost +</p>
<p>Sadly, you need to disable access restrictions on X11 to make it work. Since listening on TCP/IP is disabled by default, it&#8217;s no biggie. If you do have your X server listen on it tho, you may want to tighten up your firewall rules accordingly to why you&#8217;re doing it.</p>
<p><strong>Update:</strong> Games fly right out of the window. I&#8217;ve tried to get Enemy Territory: Quake Wars to run. The game fails to start properly because quite a few OpenGL features are missing. The reason they&#8217;re missing is that the GL client library, both Mesa and NVidia ones, can&#8217;t do Direct Rendering.</p>
<p>In the case of the Mesa client library, I can still somewhat understand. But in the case of the NVidia one (the Linux version matching the version number of the Solaris one, expecting ioctls to be the same), I&#8217;m not sure. I&#8217;ve ended up forwarding the /dev/nv* device nodes to the zone, did nothing. Then I&#8217;ve installed a native zone for a change, to ensure it&#8217;s the expected client library (i.e. the Solaris one), forwarded the NVidia nodes plus things like /dev/fb*, /dev/fbs/*, /dev/mem and god knows what, practically putting everything I&#8217;d expect it to consume on a platter, still it doesn&#8217;t want to enable Direct Rendering.</p>
<p>So commercial games in BrandZ is currently a no-go. I guess the only way to make this work is a megashim running in the global zone. What I mean by that is a ld-linux.so.2 mapping calls in the way BrandZ does, but without the zones and tweaked to run standalone.</p>
<p>Google Earth still works fine, tho. <img src='http://www.combatpretzel.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.combatpretzel.com/2008/12/access-your-global-zone-x11-server-from-a-local-zone-without-tcpip/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OpenSolaris 2008.11 is out!</title>
		<link>http://www.combatpretzel.com/2008/12/opensolaris-200811-is-out/</link>
		<comments>http://www.combatpretzel.com/2008/12/opensolaris-200811-is-out/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 15:20:51 +0000</pubDate>
		<dc:creator>tomservo</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[opensolaris]]></category>

		<guid isPermaLink="false">http://www.combatpretzel.com/2008/12/opensolaris-200811-is-out/</guid>
		<description><![CDATA[The new bi-yearly release is out. Go download at http://www.opensolaris.com/
A 700MB Live CD with installer, based on build snv_101, more stable, more hardware support, with more applications on the repository.
]]></description>
			<content:encoded><![CDATA[<p>The new bi-yearly release is out. Go download at <a title="OpenSolaris main site" href="http://www.opensolaris.com/" target="_blank">http://www.opensolaris.com/</a></p>
<p>A 700MB Live CD with installer, based on build snv_101, more stable, more hardware support, with more applications on the repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.combatpretzel.com/2008/12/opensolaris-200811-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
