<?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>sp2hari@weblog... &#187; recording</title>
	<atom:link href="http://sp2hari.com/tag/recording/feed/" rel="self" type="application/rss+xml" />
	<link>http://sp2hari.com</link>
	<description>I see, learn and rediscover... everyday!</description>
	<lastBuildDate>Thu, 24 Nov 2011 22:06:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Recording your screen in solaris :)</title>
		<link>http://sp2hari.com/2007/08/25/recording-your-screen-in-solaris/</link>
		<comments>http://sp2hari.com/2007/08/25/recording-your-screen-in-solaris/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 20:30:00 +0000</pubDate>
		<dc:creator>sp2hari</dc:creator>
				<category><![CDATA[recording]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://sp2hari.com/?p=71</guid>
		<description><![CDATA[Recording your screen in Solaris works right out of the box. All you need to install is vncserver and vnc2swf. A simple HOW TO about recording your screen in Solaris. :) First you need to install Vncserver. Solaris by default &#8230; <a href="http://sp2hari.com/2007/08/25/recording-your-screen-in-solaris/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recording your screen in Solaris works right out of the box. All you need to install is vncserver and vnc2swf.</p>
<p>A simple HOW TO about recording your screen in Solaris. :)</p>
<p>First you need to install Vncserver. Solaris by default doesn&#8217;t come with a VNC. The easiest way to install VNC is through pkg-get</p>
<p><span style="font-family:courier new;">root@home# pkg-get -i vncserver</p>
<p></span>
<div style="text-align: justify;"><span style="font-family:courier new;"><span style="font-family:georgia;">Before running that command, configure your pkg-get to get the packages from blastwave.org. Check </span><a style="font-family: georgia;" href="http://www.blastwave.org/howto.html">http://www.blastwave.org/howto.html</a><span style="font-family:georgia;"> to get more details about setting up the repo.</span></span></div>
<p><span style="font-family:courier new;"><span style="font-family:georgia;"> </span><span style="font-family:georgia;">That should install vncserver. :)</p>
<p></span><span style="font-family:georgia;">Next step it to install vnc2swf.<br /></span> <span style="font-family:georgia;">Download the C version of vnc2swf from </span><a style="font-family: georgia;" href="http://www.unixuser.org/%7Eeuske/vnc2swf/index.html">http://www.unixuser.org/%7Eeuske/vnc2swf/index.html</a><span style="font-family:georgia;">.<br /></span> <span style="font-family:georgia;">Extract the tar ball</p>
<p></span>hari@home:~$cd vnc2swf<br />hari@home:~$./configure<br />hari@home:~$make<br />root@home#make install</p>
<p><span style="font-family:georgia;">The  commands mentioned above will install vnc2swf . :)</p>
<p></span></span>
<div style="text-align: justify;"><span style="font-family:courier new;"><span style="font-family:georgia;">All you need to do to use vnc2swf is to start a vncserver.  vnc2swf just needs the output file name to be passed as command line argument when started. Pressing F8 gives the options to start, stop, pause and clear the reocrding. </span></span></div>
<p><span style="font-family:courier new;"><span style="font-family:georgia;"><br />Some of the issues i faced are :)</p>
<p></span></span>
<div style="text-align: justify;"><span style="font-family:courier new;"><span style="font-family:georgia;">1. When the same user tries to start a gnome-session in the vnc, an error message saying gnome-session is already running is given. So the best bet is to create a new user and start the vncserver of that user.</span></span></div>
<p><span style="font-family:courier new;"><span style="font-family:georgia;"><br /></span></span>
<div style="text-align: justify;"><span style="font-family:courier new;"><span style="font-family:georgia;">2. The icons are not displayed properly if you login into the new user&#8217;s account using GNOME. Use Common Desktop Environment (CDE) to login and start a vncserver. </span></span></div>
<p><span style="font-family:courier new;"><span style="font-family:georgia;"><br />3. By default, the new user won&#8217;t have a .vnc folder. So start a vnc and kill that. Now you will have .vnc folder with a xstartup file. Modify the file so that gnome-session runs in the vnc instead of the default twm. The xstartup file should look like</p>
<p><span style="font-family:courier new;">#!/bin/sh</span></p>
<p><span style="font-family:courier new;">/usr/openwin/bin/xrdb $HOME/.Xresources<br /></span><span style="font-family:courier new;">/usr/openwin/bin/xsetroot -solid grey<br /></span><span style="font-family:courier new;">/usr/openwin/bin/xterm -geometry 80&#215;24+10+10 -ls -title &#8220;$VNCDESKTOP Desktop&#8221; &#038;<br /></span><span style="font-family:courier new;">#/usr/openwin/bin/twm &amp;<br /></span><span style="font-family:courier new;">gnome-session &#038;</span></p>
<p>And yeah, what i recorded can be viewed at <a href="http://download.freedesktop.org/ldtp/movies/screen2.html">http://download.freedesktop.org/ldtp/movies/screen2.html</a>. Nice right ;-)</p>
<p></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://sp2hari.com/2007/08/25/recording-your-screen-in-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

