{"id":71,"date":"2007-08-25T13:30:00","date_gmt":"2007-08-25T20:30:00","guid":{"rendered":"http:\/\/sp2hari.com\/?p=71"},"modified":"2020-06-20T08:56:42","modified_gmt":"2020-06-20T08:56:42","slug":"recording-your-screen-in-solaris","status":"publish","type":"post","link":"https:\/\/sp2hari.com\/index.php\/2007\/08\/25\/recording-your-screen-in-solaris\/","title":{"rendered":"Recording your screen in solaris :)"},"content":{"rendered":"<p>Recording your screen in Solaris works right out of the box. All you need to install is vncserver and vnc2swf.<\/p>\n<p>A simple HOW TO about recording your screen in Solaris. \ud83d\ude42<\/p>\n<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>\n<p><span style=\"font-family:courier new;\">root@home# pkg-get -i vncserver<\/span><\/p>\n<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>\n<p><span style=\"font-family:courier new;\"><span style=\"font-family:georgia;\"> <\/span><span style=\"font-family:georgia;\">That should install vncserver. \ud83d\ude42<\/span><\/span><\/p>\n<p><span style=\"font-family:georgia;\">Next step it to install vnc2swf.<br \/>\n<\/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 \/>\n<\/span> <span style=\"font-family:georgia;\">Extract the tar ball<\/span><\/p>\n<p>hari@home:~$cd vnc2swf<br \/>\nhari@home:~$.\/configure<br \/>\nhari@home:~$make<br \/>\nroot@home#make install<\/p>\n<p><span style=\"font-family:georgia;\">The  commands mentioned above will install vnc2swf . \ud83d\ude42<\/span><\/p>\n<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>\n<p><span style=\"font-family:courier new;\"><span style=\"font-family:georgia;\"><br \/>\nSome of the issues i faced are \ud83d\ude42<\/span><\/span><\/p>\n<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>\n<p><span style=\"font-family:courier new;\"><span style=\"font-family:georgia;\"><br \/>\n<\/span><\/span><\/p>\n<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>\n<p><span style=\"font-family:courier new;\"><span style=\"font-family:georgia;\"><br \/>\n3. 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<\/span><\/span><\/p>\n<p><span style=\"font-family:courier new;\">#!\/bin\/sh<\/span><\/p>\n<p><span style=\"font-family:courier new;\">\/usr\/openwin\/bin\/xrdb $HOME\/.Xresources<br \/>\n<\/span><span style=\"font-family:courier new;\">\/usr\/openwin\/bin\/xsetroot -solid grey<br \/>\n<\/span><span style=\"font-family:courier new;\">\/usr\/openwin\/bin\/xterm -geometry 80&#215;24+10+10 -ls -title &#8220;$VNCDESKTOP Desktop&#8221; &amp;<br \/>\n<\/span><span style=\"font-family:courier new;\">#\/usr\/openwin\/bin\/twm &amp;<br \/>\n<\/span><span style=\"font-family:courier new;\">gnome-session &amp;<\/span><\/p>\n<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 \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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. \ud83d\ude42 First you need to install Vncserver. Solaris by default doesn&#8217;t come with a VNC. The easiest way to install &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-71","post","type-post","status-publish","format-standard","hentry","category-code"],"_links":{"self":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":2,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"predecessor-version":[{"id":1441,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/posts\/71\/revisions\/1441"}],"wp:attachment":[{"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sp2hari.com\/index.php\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}