<?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>jaredrobinson.com &#187; Fedora</title>
	<atom:link href="http://jaredrobinson.com/blog/category/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://jaredrobinson.com/blog</link>
	<description></description>
	<lastBuildDate>Tue, 07 Sep 2010 04:21:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Miscellaneous Linux tips and tricks</title>
		<link>http://jaredrobinson.com/blog/miscellaneous-linux-tips-and-tricks/</link>
		<comments>http://jaredrobinson.com/blog/miscellaneous-linux-tips-and-tricks/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 04:51:03 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=602</guid>
		<description><![CDATA[Gnome Key Bindings and IntelliJ IDEA IntelliJ IDEA key bindings conflict with Gnome&#8217;s window manager. In IDEA, I can type CTRL-B to jump to a symbol definition. Normally, I&#8217;d type CTRL-ALT-LEFTARROW to navigate back to where I had come from. Gnome&#8217;s MetaCity intercepts that key mapping before IDEA sees it, and tries to move my [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Gnome Key Bindings and IntelliJ IDEA</strong></p>

<p>IntelliJ IDEA key bindings conflict with Gnome&#8217;s window manager. In IDEA, I can type CTRL-B to jump to a symbol definition. Normally, I&#8217;d type CTRL-ALT-LEFTARROW to navigate back to where I had come from. Gnome&#8217;s MetaCity intercepts that key mapping before IDEA sees it, and tries to move my desktop to the left. There are several other Gnome/Metacity key bindings that conflict with IntelliJ IDEA. Rather than remap the keys in Gnome, I found that on Fedora, I could add the Windows key to the mix, and Gnome would ignore it, and pass it along to IDEA. This means that I can type CTRL-ALT-WINDOWS-LEFTARROW to navigate backward, and so forth.</p>

<p>Unfortunately, this doesn&#8217;t work in RHEL 5 and CentOS 5. The solution is to Go to the Gnome menu bar and select System > Preferences > Keyboard (not Keyboard Shortcuts). Then select the &#8220;Layout Options&#8221; tab, and expand the &#8220;Alt/Win key behavior&#8221;. Then I select &#8220;Super is mapped to the Win-keys&#8221;.</p>

<p>Every time I log in after that, Gnome tells me that my X keyboard settings conflict with my Gnome Keyboard settings, and it asks which I want to use. Selecting the Gnome settings is what I want.</p>

<p><strong>Bandwidth limiting downloads with &#8216;curl&#8217; or &#8216;wget&#8217;</strong></p>

<p>When downloading a large file, it&#8217;s nice to be polite to others on the network, so I use the <code>--limit-rate</code> option for curl and wget:</p>

<ul>
<li><code>curl -O --limit-rate 20k http://server.com/linux.iso</code></li>
<li><code>wget --limit-rate=20k http://server.com/linux.iso</code></li>
</ul>

<p><strong>GDB TUI (text user interface)</strong></p>

<p>After starting gdb, it&#8217;s possible to switch to its text user interface with CTRL-X, CTRL-A. Typing it a second time exits TUI mode.</p>

<p><strong>Vim C++ Auto completion with ctags</strong></p>

<p>I appreciate full blown IDEs in Linux, but I like the quick start up time of vim. Until recently though, I didn&#8217;t have C++ auto completion (also known as vim omni completion). </p>

<p>This got me up and running, and was a great resource:
<a href="http://vim.wikia.com/wiki/C%2B%2B_code_completion">http://vim.wikia.com/wiki/C%2B%2B<em>code</em>completion</a></p>

<p>This would have been useful if I was a new comer to vim and ctags:
<a href="http://www.justlinux.com/nhf/Programming/Introduction_to_C_Programming.html">http://www.justlinux.com/nhf/Programming/Introduction<em>to</em>C_Programming.html</a></p>

<p><strong>xdg-open, gnome-open, start, cygstart</strong></p>

<p>How to easily open files and URLs from the command line
<a href="http://www.dwheeler.com/essays/open-files-urls.html">http://www.dwheeler.com/essays/open-files-urls.html</a></p>

<ul>
    <li>Linux: <code>xdg-open filename_or_URL</code></li>

    <li>Linux:<code> gnome-open filename_or_URL</code></li>

    <li>Mac:  <code>open filename_or_URL</code></li>
    <li>
Windows:  <code>cmd /c start filename_or_URL</code></li>

    <li>Cygwin: <code>cygstart filename_or_URL</code></li>

</ul>

<p><strong>Nomachine NX and ALT-TAB</strong></p>

<p>I use the Nomachine NX client from time to time to get a remote-desktop like connection to a remote Linux machine. It&#8217;s faster than VNC, but it suffers from not forwarding all of my keyboard shortcuts to the remote end of the connection.</p>

<p>Usually, I start the nxlcient from within a Gnome login session. Gnome happily grabs ALT-TAB before the NX client gets to see it. That&#8217;s not what I want. To work around this limitation, I log into a virtual terminal, and start X manually as follows:</p>

<p>Type CTRL-ALT-F2
Login
Run: <code>startx -- :1 gnome-terminal</code></p>

<p>From the gnome-terminal, run: <code>nxclient</code></p>

<p>And then I connect to the remote machine in full screen mode. There&#8217;s no local window manager to interfere with my keyboard shortcuts.</p>

<p><strong>Remote desktop and dual screens</strong></p>

<p>I&#8217;ve been using Remote Desktop to connect to Windows XP, Vista and 7 machines. Until Windows 7, there was no way for a local computer having dual monitors to connect and have the remote end display across both monitors.</p>

<p>So I used linux&#8217;s &#8216;rdesktop&#8217; program to do it:</p>

<p><code>rdesktop -0 -a16 -f -rdisk:CLIENT=/home/jared/Desktop -r sound remote.host.com</code></p>

<p>I notice that in Windows 7, there are some new options in the Remote Desktop client (mstsc.exe): /multimon and /span. Or run <code>mstsc /?</code> to list all possible options.</p>

<p><strong>Editing windows registry files on Linux</strong></p>

<p>Use Gedit: <code>gedit --encoding=UTF-16LE myfile.reg</code></p>

<p>Gvim: <code>LANG=UTF-16LE gvim myfile.reg</code></p>

<p>If already in gvim:<code> :e! ++enc=utf-16le</code>
or  <code>:e ++enc=utf-16le myfile.reg</code></p>

<p>Convert, edit, convert:</p>

<p><code>iconv -f UTF-16LE -t utf-8 myfile.reg > myfile.reg.utf8</code></p>

<p>Edit myfile.reg.utf8, then convert it back</p>

<p><code> iconv -f utf-8 -t UTF-16LE myfile.reg.utf8 > myfile.reg</code></p>

<p><strong>
How Firefox opens files and mime types</strong></p>

<p>I needed to give Firefox some extra help knowing how to open a custom file type with a custom application. Here&#8217;s some helpful information.</p>

<p><a href="https://developer.mozilla.org/en/How_Mozilla_determines_MIME_Types">https://developer.mozilla.org/en/How<em>Mozilla</em>determines<em>MIME</em>Types</a></p>

<p>Firefox uses mime.types on Linux, as well as other things. I helped Firefox by the mime type to the link in the generated HTML file. Either one of the following seems to work:</p>

<ul>
<li>&lt;a href=&#8221;file:subdir/file1.cst&#8221; type=&#8221;application/octet-stream&#8221;&gt; open file &lt;/a&gt;</li>
<li>&lt;a href=&#8221;file:subdir/file1.cst&#8221; type=&#8221;application/x-extension-cst&#8221;&gt; open file  &lt;/a&gt;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/miscellaneous-linux-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>f-spot and sqlite</title>
		<link>http://jaredrobinson.com/blog/f-spot-and-sqlite/</link>
		<comments>http://jaredrobinson.com/blog/f-spot-and-sqlite/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 22:04:41 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=519</guid>
		<description><![CDATA[I recently tried using Linux f-spot, with the intent to make it easier to browse, manipulate, manage and publish my photos. I wanted f-spot to manage my photo screen saver as well. f-spot seems to be good at importing photos, but getting photos removed is a bit more difficult. I organize my photos by date [...]]]></description>
			<content:encoded><![CDATA[<p>I recently tried using Linux <a href="http://f-spot.org/">f-spot</a>, with the intent to make it easier to browse, manipulate, manage and publish my photos. I wanted f-spot to manage my photo screen saver as well. f-spot seems to be good at importing photos, but getting photos removed is a bit more difficult.</p>

<p>I organize my photos by date an a directory structure such as &#8220;2010/2010.01.01 New Years Day&#8221;. The &#8220;2010&#8243; directory contains several sub directories. Each sub directory consists of a date and a description. If, for some reason, I import photos into f-spot that I don&#8217;t want in its database, I know what directory the photos pertain to. Unfortunately, F-spot doesn&#8217;t allow me to remove photos from its catalog by filename or file path. That&#8217;s okay though, because it stores its database using sqlite.</p>

<p>I figured this out by running <tt>lsof -p pid-of-f-spot</tt>, and noticed a file descriptor opened to &#8220;/home/jared/.config/f-spot/photos.db&#8221;. Then I ran <tt>file ~/.config/f-spot/photos.db</tt> and it helpfully told me that it is a &#8220;<a href="http://www.sqlite.org/">SQLite</a> 3.x database&#8221;.</p>

<p>After a bit of google research, I figured out I could install a SQLite manager on my Fedora system: <tt>yum install -y sqliteman</tt>, followed by running <tt>sqliteman ~/.config/f-spot/photos.db</tt>. I was expecting to see a command-line client, but to my surprise, I found a pleasant graphical interface. It was simple to browse the table schema and to run queries to update and morph the f-spot photo database. Note: I&#8217;d recommend making a backup copy of the database before altering it.</p>

<p>F-spot may not be everything I want it to be, but I managed to work past its limitations due to the fact that it used a well known, open data storage format.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/f-spot-and-sqlite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using rsync with SELinux</title>
		<link>http://jaredrobinson.com/blog/using-rsync-with-selinux/</link>
		<comments>http://jaredrobinson.com/blog/using-rsync-with-selinux/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 13:54:35 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=467</guid>
		<description><![CDATA[Last week, I needed to move /home from one Fedora computer to another, and I used rsync over ssh move the data. On the new system, I noticed that procmail didn&#8217;t seem to be working, and neither did Dovecot. Nor could apache serve up my files. This had all been working on my previous Fedora [...]]]></description>
			<content:encoded><![CDATA[<p>Last week, I needed to move /home from one Fedora computer to another, and I used rsync over ssh move the data.</p>

<p>On the new system, I noticed that procmail didn&#8217;t seem to be working, and neither did Dovecot. Nor could apache serve up my files. This had all been working on my previous Fedora system, which was running SELinux, as was my new system. What had happened?</p>

<p>I hadn&#8217;t told rsync to bring across the SELinux file contexts, which are stored in extended attributes. Here is the rsync option I should have used:</p>

<pre><code>-X, --xattrs
</code></pre>

<p>I could have used &#8216;tar&#8217; to move my home directory as well. In that case, I would have needed one of the following options: <code>--selinux</code> or <code>--xattrs</code></p>

<p>I resolved my SELinux issues using the excellent <a href="https://fedorahosted.org/setroubleshoot/">SETroubleShoot</a>, which explained what commands to run to restore the proper SELinux contexts on various files.</p>

<p>SELinux requires time to tune, and I use it because it enhances the security of my linux system, which serves up content over HTTP (Apache), IMAP (dovecot) and CIFS (Samba).</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/using-rsync-with-selinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 11 and Virtualization (KVM)</title>
		<link>http://jaredrobinson.com/blog/fedora-11-and-virtualization-kvm/</link>
		<comments>http://jaredrobinson.com/blog/fedora-11-and-virtualization-kvm/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 16:11:59 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=435</guid>
		<description><![CDATA[I&#8217;ve recently upgraded another computer from Fedora 9 to Fedora 11, and I&#8217;ve decided to try the built-in KVM (i.e. Applications -> System Tools -> Virtual Machine Manager). I wanted a virtual machine that had bridged mode networking, but it wasn&#8217;t available by default. To get it as an option, I disabled SELinux (not sure [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently upgraded another computer from Fedora 9 to Fedora 11, and I&#8217;ve decided to try the built-in <a href="http://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine">KVM</a> (i.e. Applications -> System Tools -> <a href="http://virt-manager.et.redhat.com/">Virtual Machine Manager</a>). I wanted a virtual machine that had bridged mode networking, but it wasn&#8217;t available by default. To get it as an option, I disabled SELinux (not sure if it was necessary), followed <a href="http://wiki.libvirt.org/page/Networking#Fedora.2FRHEL_Bridging">some special instructions</a> to setup a bridged interface, and restarted my network and libvirtd.</p>

<p>Now I&#8217;ve got a working guest OS inside of KVM, and I like it. The guest OS feels snappy and responsive.</p>

<p>Update: KVM and the accompanying tools aren&#8217;t as mature as VirtualBox or VMWare. E.g. I didn&#8217;t see how to get my USB flash drive to be recognized by a KVM guest OS. At one point, I tried to use VirtualBox at the same time as KVM. VirtualBox told me I needed to disable the KVM kernel module before using VirtualBox.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/fedora-11-and-virtualization-kvm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My impressions of Fedora 11</title>
		<link>http://jaredrobinson.com/blog/my-impressions-of-fedora-11/</link>
		<comments>http://jaredrobinson.com/blog/my-impressions-of-fedora-11/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 14:23:50 +0000</pubDate>
		<dc:creator>jared</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=331</guid>
		<description><![CDATA[Here's my take on installing Fedora 11, which was released June 9, 2009. I chose not to do an upgrade as I often do. Instead, I did backup, followed by a fresh install, preserving my /home partition, but wiping out the other partitions. Then I used meld to restore my configuration files in /etc -- [...]]]></description>
			<content:encoded><![CDATA[<p>Here's my take on installing Fedora 11, which was released June 9, 2009. I chose not to do an upgrade as I often do. Instead, I did backup, followed by a fresh install, preserving my /home partition, but wiping out the other partitions. Then I used <a href="http://meld.sourceforge.net/"><code>meld</code></a> to restore my configuration files in /etc -- such as ssh server keys, printer settings and file system mounts. I found that I had to use the kernel boot option <code>nomodeset</code> in order to avoid system lockups. Overall, I've been pleased with my Fedora 11 experience, despite the bumps.</p>

<p>Fedora 11 useful resources:</p>

<ul>
<li><a href="http://docs.fedoraproject.org/release-notes/f11/en-US/">Release Notes</a></li>
<li><a href="http://fedoraproject.org/wiki/Common_F11_bugs">Common Bugs</a>, with workarounds.</li>
<li><a href="http://www.fedoraguide.info/">Fedora Guide</a>, explaining how to configure a Fedora system.</li>
</ul>

<p>Pre-install:</p>

<ul>
<li><code>cp -a /etc /home/backup/etc</code></li>
<li><code>cp -a /root /home/backup/etc</code></li>
<li>backup /home</li>
<li>booted the LiveCD to make sure it would detect my hardware and run</li>
</ul>

<p>Install</p>

<ul>
<li>I decided to preserve my partition layout, which isn't the default option upon fresh install</li>
<li>Didn't delete my <code>/home</code> partition.</li>
<li>Reformatted all other partitions, with "/" as ext4</li>
</ul>

<p>Post-install:</p>

<ul>
<li>Had to enable eth0 in NetworkManager, and make "enabled" the default.</li>
<li><code>yum install -y meld nautilus-actions nautilus-open-terminal vim-X11 zsh screen mc rdesktop</code></li>
<li><code>meld /home/backup/etc /etc</code>

<ul>
<li>Restored /etc/ssh settings</li>
<li>Restored /etc/cups printer settings</li>
<li>Checked /etc/fstab differences</li>
</ul></li>
<li>Installed <a href="http://www.nomachine.com/">NX Server</a></li>
</ul>

<p>Pleasurable:</p>

<ul>
<li>Bootup is very pleasant, and seems faster. 30 seconds boot. 17 seconds login. 14 second shutdown. This is on an AMD Athlon 2400 Mhz Sempron with an ATI video card.</li>
<li>Artwork is top notch (backgrounds on login screen and default wallpaper)</li>
</ul>

<p>Pain points:</p>

<ul>
<li>Unavailable extensions for Thunderbird 3.0
-- Enigmail</li>
<li>Unavailable extensions for Firefox 3.5
-- Aardvark
-- QuickProxy</li>
<li>Computer locked up every few hours until I added <code>nomodeset</code> to my kernel settings in /etc/grub.conf.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/my-impressions-of-fedora-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gnome Slideshow Screensaver Sanity, Take 2</title>
		<link>http://jaredrobinson.com/blog/gnome-slideshow-screensaver-sanity-take-2/</link>
		<comments>http://jaredrobinson.com/blog/gnome-slideshow-screensaver-sanity-take-2/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 14:02:59 +0000</pubDate>
		<dc:creator>jared</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=323</guid>
		<description><![CDATA[Last year, I wrote about how to achieve Gnome Slideshow Screensaver Sanity. I've recently upgraded to Fedora 11, and I noticed that GLSlideshow isn't installed by default (maybe it never was), and I wondered if I could alter the settings for gnome slideshow. By default, it uses pictures out of the $HOME/Pictures folder, and there's [...]]]></description>
			<content:encoded><![CDATA[<p>Last year, I wrote about how to achieve <a href="http://jaredrobinson.com/blog/?p=106">Gnome Slideshow Screensaver Sanity</a>. I've recently upgraded to Fedora 11, and I noticed that GLSlideshow isn't installed by default (maybe it never was), and I wondered if I could alter the settings for gnome slideshow. By default, it uses pictures out of the $HOME/Pictures folder, and there's no way in the user interface to change that location, which can be frustrating. Here's how I worked around it. Note the use of the <code>--location</code> option, and that I changed my <code>Name=</code> setting.</p>

<ul>
<li><code>cp /usr/share/applications/screensavers/personal-slideshow.desktop ~/.local/share/applications/my-slideshow.desktop</code></li>
<li><code>gedit ~/.local/share/applications/my-slideshow.desktop</code></li>
</ul>

<p><code>
    [Desktop Entry] <br />
    Encoding=UTF-8 <br />
    Name=Custom Photos <br />
    Exec=/usr/libexec/gnome-screensaver/slideshow --location=/home/images/Photos <br />
    TryExec=/usr/libexec/gnome-screensaver/slideshow <br />
    StartupNotify=false <br />
    Terminal=false <br />
    Type=Application <br />
    Categories=GNOME;Screensaver; <br />
    OnlyShowIn=GNOME; <br />
</code></p>

<p>Go into the screensaver preferences (System -> Preferences -> Screensaver), and select "Custom Photos". There's no way to customize the duration to display each photo, but at least I don't have to settle for Gnome's default location.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/gnome-slideshow-screensaver-sanity-take-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 10 lacks &#8220;wow&#8221; appeal; OpenSolaris 11</title>
		<link>http://jaredrobinson.com/blog/fedora-10-lacks-wow-appeal-opensolaris-11/</link>
		<comments>http://jaredrobinson.com/blog/fedora-10-lacks-wow-appeal-opensolaris-11/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 17:28:22 +0000</pubDate>
		<dc:creator>jared</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=219</guid>
		<description><![CDATA[I upgraded one of my machines to Fedora 10 last month, and for me, this release lacks the &#8220;wow&#8221; appeal that other releases have had. A minor annoyance is that the keyboard repeat delay is broken for me and so far, there is no fix other than disabling keyboard repeat. On the plus side, Fedora [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded one of my machines to Fedora 10 last month, and for me, this release lacks the &#8220;wow&#8221; appeal that other releases have had. A minor annoyance is that the keyboard repeat delay <a href="https://bugzilla.redhat.com/show_bug.cgi?id=475747">is broken</a> for me and so far, there is no fix other than disabling keyboard repeat. On the plus side, Fedora 10 includes OpenOffice.org 3 and other <a href="http://fedoraproject.org/wiki/Releases/10/ReleaseSummary">new</a> <a href="http://www.heise-online.co.uk/open/features/print/112093">features</a>. Be sure to check out the <a href="http://fedoraproject.org/wiki/Bugs/F10Common">Common Issues</a> people have experienced with Fedora 10.</p>

<p>The other day, a co-worker handed me an OpenSolaris 11 Live CD. I booted it, expecting to be underwhelmed like I was with the Solaris 10 JavaDesktop. I was pleasantly surprised, however. Sun&#8217;s &#8220;Nimbus&#8221; GNOME theme knocks the socks off of the boring Fedora window manager themes. The experience felt like I was running Linux. It was responsive, supported my newer hardware, and the system was built with GNU utilities on the command line so I get my favourite options to &#8216;ls&#8217;, &#8216;grep&#8217;, etc. It supported my NVidia card out-of-the box, and had Compiz eye-candy as an option. The only thing I missed (in my superficial test) was the familiar &#8216;yum&#8217; and &#8216;rpm&#8217; for package management. I suspect that if I used it from day to day, I&#8217;d find other things I miss. Does OpenSolaris support encrypted file systems? Does it have as much optional software as I can get with Fedora Extras?</p>

<p>I&#8217;ll keep my eye on <a href="http://www.opensolaris.com/">OpenSolaris</a> a little more closely in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/fedora-10-lacks-wow-appeal-opensolaris-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP xw4600: HOWTO enable hardware virtualization</title>
		<link>http://jaredrobinson.com/blog/hp-xw4600-howto-enable-hardware-virtualization/</link>
		<comments>http://jaredrobinson.com/blog/hp-xw4600-howto-enable-hardware-virtualization/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 18:20:47 +0000</pubDate>
		<dc:creator>jared</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=202</guid>
		<description><![CDATA[How to enable Intel hardware virtualization on an HP xw4600: * Boot into the hardware BIOS setup * Got to Security -> System Security * Enable both types of virtualization (VTx and VTd) * Save settings, and power-cycle the machine. I&#8217;m running Linux, Fedora 9, and using KVM, so I run the following: modprobe kvm-intel [...]]]></description>
			<content:encoded><![CDATA[<p>How to enable Intel hardware virtualization on an HP xw4600:</p>
<p>* Boot into the hardware BIOS setup<br />
* Got to Security -> System Security<br />
* Enable both types of virtualization (VTx and VTd)<br />
* Save settings, and power-cycle the machine.</p>
<p>I&#8217;m running Linux, Fedora 9, and using KVM, so I run the following:</p>
<p>    modprobe kvm-intel</p>
<p>Loading that module will fail if hardware virtualization isn&#8217;t enabled.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/hp-xw4600-howto-enable-hardware-virtualization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transferring a linux hard drive to a new machine</title>
		<link>http://jaredrobinson.com/blog/transferring-a-linux-hard-drive-to-a-new-machine/</link>
		<comments>http://jaredrobinson.com/blog/transferring-a-linux-hard-drive-to-a-new-machine/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 15:13:29 +0000</pubDate>
		<dc:creator>jared</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=193</guid>
		<description><![CDATA[For over a year, I&#8217;ve endured a development machine that would lock up under heavy disk I/O. Yesterday, I apparently complained loudly enough that I was given a new machine to replace it. I didn&#8217;t want to reinstall Fedora 9, so I transferred my old hard drive to the new machine, as the primary drive. [...]]]></description>
			<content:encoded><![CDATA[<p>For over a year, I&#8217;ve endured a development machine that would lock up under heavy disk I/O. Yesterday, I apparently complained loudly enough that I was given a new machine to replace it. I didn&#8217;t want to reinstall Fedora 9, so I transferred my old hard drive to the new machine, as the primary drive. To get it to boot and function properly, here&#8217;s what I did:</p>
<p>* Booted with the Fedora 9 install CD into &#8220;rescue mode&#8221;<br />
* Ran the following commands once I had a shell:</p>
<p>    mount &#8211;bind /dev /mnt/sysimage/dev<br />
    mount &#8211;bind /sys /mnt/sysimage/sys<br />
    chroot /mnt/sysimage<br />
    mv /boot/initrd-2.6.25&#8230;i686.img /boot/initrd-2.6.25&#8230;i686.img.orig<br />
    mkinitrd /boot/initrd-2.6.25&#8230;i686.img 2.6.25&#8230;i686</p>
<p>* Then I ran &#8216;grub&#8217;, and typed the following:</p>
<p>    root (hd0,0)<br />
    setup (hd0)<br />
    quit</p>
<p>* Ejected the install CD, and rebooted. Once booted, I noticed that my network cards weren&#8217;t set up quite right. My new network card was listed as &#8220;eth2&#8243; in system-config-network, and I didn&#8217;t actually have cards for the listed &#8220;eth0&#8243; and &#8220;eth1&#8243; interfaces anymore. I didn&#8217;t know what file to change to get my new card listed as &#8220;eth0&#8243;, so I ran the following command to find out what files I might need to edit:</p>
<p>    find /etc -type f -print0 | xargs -0 grep &#8220;eth[01]&#8220;</p>
<p>That command listed the following files, among others:</p>
<p>* /etc/udev/rules.d/70-persistent-net.rules<br />
* /etc/vmware/locations</p>
<p>I edited /etc/udev/rules.d/70-persistent-net.rules and ripped out the assignments for my old NIC interfaces, and set the new one to be &#8220;eth0&#8243;, then rebooted and used `system-config-network` to set up my network.</p>
<p>When I ran my VMware guest, VMware Server gave me an error message about not being able to use bridged mode for the selected interface. With my old computer, VMware had used eth1 for bridged networking, and I didn&#8217;t have an &#8220;eth1&#8243; interface anymore. I edited /etc/vmware/locations and changed &#8220;eth1&#8243; to &#8220;eth0&#8243;, and restarted vmware. This time, bridged mode worked correctly.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/transferring-a-linux-hard-drive-to-a-new-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xguest</title>
		<link>http://jaredrobinson.com/blog/xguest/</link>
		<comments>http://jaredrobinson.com/blog/xguest/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 19:01:57 +0000</pubDate>
		<dc:creator>jared</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jaredrobinson.com/blog/?p=136</guid>
		<description><![CDATA[I just discovered and installed the xguest package for Fedora 8 and 9. Here&#8217;s what it does: Installing this package sets up the xguest user to be used as a temporary account to switch to or as a kiosk user account. The account is disabled unless SELinux is in enforcing mode. The user is only [...]]]></description>
			<content:encoded><![CDATA[<p>I just discovered and installed the <em>xguest</em> package for Fedora 8 and 9.  Here&#8217;s what it does:</p>

<blockquote>
  <p>Installing this package sets up the xguest user to be used as a temporary account to switch to or as a kiosk user account. The account is disabled unless SELinux is in enforcing mode. The user is only allowed to log in via gdm [or the fast-user-swiching applet]. The home and temporary directories of the user will be polyinstantiated and mounted on tmpfs.</p>
</blockquote>

<p>Here&#8217;s how to install it:</p>

<pre><code>yum install xguest
</code></pre>

<p>I hit a brick wall when I first tried it. I thought my machine was in SELinux Enforcing mode, when it wasn&#8217;t &#8212; it was in Permissive mode. I fixed it using system-config-selinux.</p>

<p>It&#8217;s possible to change what the xguest user can do using system-config-selinux. I&#8217;ve attached a screenshot showing what capabilities can be granted or revoked.</p>

<p><img src="/blog/wp-content/uploads/2008/08/xguest-SELinux-Admin.png" alt="SELinux Administration for xguest user" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jaredrobinson.com/blog/xguest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
