<?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>gHacks technology news &#187; Xorg</title> <atom:link href="http://www.ghacks.net/tag/xorg/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sun, 21 Mar 2010 11:37:42 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Best Linux and KVM switch practices</title><link>http://www.ghacks.net/2009/12/15/best-linux-and-kvm-switch-practices/</link> <comments>http://www.ghacks.net/2009/12/15/best-linux-and-kvm-switch-practices/#comments</comments> <pubDate>Mon, 14 Dec 2009 23:30:31 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[belkin]]></category> <category><![CDATA[iogear]]></category> <category><![CDATA[KVM]]></category> <category><![CDATA[X Windows]]></category> <category><![CDATA[Xorg]]></category> <category><![CDATA[xorg.conf]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=21431</guid> <description><![CDATA[I have at least four machines running at all times &#8211; all using one monitor. Not only does space dictate this setup, so to does budget. Because of this I am relegated to using a KVM switch. If you&#8217;re not sure what a KVM switch is, it is a device that allows you to use [...]]]></description> <content:encoded><![CDATA[<p>I have at least four machines running at all times &#8211; all using one monitor. Not only does space dictate this setup, so to does budget. Because of this I am relegated to using a KVM switch. If you&#8217;re not sure what a KVM switch is, it is a device that allows you to use multiple machines with only one monitor, mouse, and keyboard. Some KVM switches even allow the sharing of a single audio output source (speakers).</p><p>There is one problem that can arise when using a KVM switch with a modern Linux distribution. This problem has to do with the latest releases of Xorg. Because Xorg no longer uses the xorg.conf file, it depends upon receiving identification signals from the monitor in order to automatically adjust the display. On a single system/single monitor setup this works perfectly. But in some instances a KVM switch will get in the way and the X Windows display will be far from ideal (and some times not even usable). How do you get around this situation? In this article you will read a few tips that will help you get around this.</p><p><span id="more-21431"></span><strong>Choosing your KVM</strong></p><p>There is, unfortunately no way to know which KVM switch will work well with modern Linux setups. I have tried four different KVM switches with modern Linux distributions &#8211; all with varied results. Here are the KVMs I have used (and their results):</p><ul><li>Belkin Flip (USB): Switched between machines quickly, but lead to freezing with Ubuntu Linux. Couldn&#8217;t detect monitors so resolution was poor.</li><li>IO Gear Miniview 2-port (USB): Switched between machines quickly, no freezing. Couldn&#8217;t detect monitors so resolution was poor.</li><li>Generic 4-port KVM (USB &#8211; purchased on Ebay): Poor switching, constant freezing, and couldn&#8217;t detect monitor.</li><li>IO Gear 4-port Miniview (USB): Easy switching, no freezing, monitor detected so resolution was perfect.</li></ul><p>So from the above list, you would obviously want to go with the IO Gear 4-port miniview. It&#8217;s an inexpensive solution (approximately $70.00 USD) that will give you no problems.</p><p><strong>Using your current KVM</strong></p><p>What if you already have a KVM switch? There are options. The first option is to manually configure your <strong>/etc/X11/xorg.conf</strong> file (For more information on the xorg.conf file check out the <a title="Xorg.conf on Ghacks" href="http://www.ghacks.net/tag/xorg/" target="_blank">xorg.conf articles on Ghacks.net</a>). This can lead to problems when you&#8217;re not sure what your graphics card is or the resolution of your monitor. Because of this, you might have to do a bit of research before you continue. If you know you are using an NVidia card you are lucky, you can use the Nvidia Settings tool (read about it in my article &#8220;<a title="Adding a widescreen monitor in Linux" href="http://www.ghacks.net/2009/08/03/adding-a-widescreen-monitor-in-linux/" target="_blank">Adding  a widescreen monitor in Linux</a>&#8220;.) You can use this tool to generate your xorg.conf file for you.</p><p>If you do not want to have to monkey around with configuring xorg.conf, you have another solution &#8211; one that isn&#8217;t perfect, but will work in a pinch (and one I have used when dealing with certain on-board graphics chips like Intel). Plug your  monitor, keyboard, and mouse directly into your Linux machine and let it boot. Once you have your desktop up and running unplug the monitor, keyboard, and mouse and plug them back into the KVM. Plug the KVM cords into your Linux box and your Linux machine will be up and running. Fortunately the Linux machine won&#8217;t have to be rebooted for anything any time soon. It&#8217;s not an ideal solution, but it will work for you. Just remember, if you have to reboot you need to switch those cables around until the machine is back to the GUI desktop.</p><p><strong>Final thoughts</strong></p><p>Ideally you will purchase a KVM switch like the IO Gear 4-port Miniview that will give you no problems. Otherwise you might have to toy with a work-around or two in order to get your Linux box working with your KVM. This is the price the user-community has to pay for having a modern distribution that doesn&#8217;t require configuring X (at least not single-system setups).</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/12/15/best-linux-and-kvm-switch-practices/feed/</wfw:commentRss> <slash:comments>15</slash:comments> </item> <item><title>Get To Know Linux: Understanding xorg.conf</title><link>http://www.ghacks.net/2009/02/04/get-to-know-linux-understanding-xorgconf/</link> <comments>http://www.ghacks.net/2009/02/04/get-to-know-linux-understanding-xorgconf/#comments</comments> <pubDate>Wed, 04 Feb 2009 18:29:50 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[linux resolution]]></category> <category><![CDATA[linux video configuration]]></category> <category><![CDATA[X Windows configuration]]></category> <category><![CDATA[Xorg]]></category> <category><![CDATA[xorg.conf]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=9651</guid> <description><![CDATA[For most Linux users the xorg.conf file is one of those files that makes many Linux users cringe with fear upon the threat of having to configure. There is a reason for that, it&#8217;s complex. But when you have an understanding of the pieces that make up the whole puzzle, configuring X Windows becomes much, [...]]]></description> <content:encoded><![CDATA[<p>For most Linux users the <strong>xorg.conf</strong> file is one of those files that makes many Linux users cringe with fear upon the threat of having to configure. There is a reason for that, it&#8217;s complex. But when you have an understanding of the pieces that make up the whole puzzle, configuring X Windows becomes much, much easier.</p><p>But now the Linux community has distributions, such as Fedora 10, that do not default to using  an xorg.conf file. This is great news for many users. However, it&#8217;s bad news when, for some reason, X isn&#8217;t working or you have specific needs that the default isn&#8217;t meeting. With that in mind we&#8217;re going to break down the xorg.conf file so that you will be able to troubleshoot your X Windows configuration when something is wrong.</p><p><span id="more-9651"></span><strong>The Basics</strong></p><p>The first thing you need to know is that xorg.conf (located typically in <strong>/etc/X11</strong>) is broken up into sections. Each section starts with the tag <strong>Section </strong>and ends with the tag <strong>EndSection</strong>. Each section can be broken into subsections as well. A subsections starts with the tag <strong>SubSection</strong> and ends with the tag <strong>EndSubSection</strong>. So a typical section with subsections contains the tags:<code><br /> Section Name<br /> Section Information<br /> SubSection Name<br /> SubSection information<br /> EndSubSection<br /> EndSection<br /> </code><br /> Of course you can&#8217;t just use random sections. There are specific sections to use. Those sections are:</p><ul><li>Files &#8211; pathnames for files such as fontpath</li><li>ServerFlags &#8211; global Xorg server options</li><li>Module &#8211; which modules to load</li><li>InputDevice &#8211; keyboard and pointer (mouse)</li><li>Device &#8211; video card description/information</li><li>Monitor &#8211; display device description</li><li>Modes &#8211; define video modes outside of Monitor section</li><li>Screen &#8211; binds a video adapter to a monitor</li><li>ServerLayout &#8211; binds one or more screens with one or more input devices</li><li>DRI &#8211; optional direct rendering infrastructure information</li><li>Vendor &#8211; vendor specific information</li></ul><p>Each section will have different information/options and is set up:</p><p><strong>Option Variable</strong></p><p>Let&#8217;s take a look at a sample section. We&#8217;ll examine a <strong>Device<em> </em></strong>section from a laptop. The section looks like:</p><p><code>Section "Device"<br /> Identifier "device1"<br /> VendorName "VIA Technologies, Inc."<br /> BoardName "VIA Chrome9-based cards"<br /> Driver "openchrome"<br /> Option "DPMS"<br /> Option "SWcursor"<br /> Option "VBERestore" "true"<br /> EndSection<br /> </code><br /> The above section configures a Via Chrome video card (often a tricky one to get running) using the <em>openchrome</em> driver. Here&#8217;s how this section breaks down:</p><ul><li>The identifier (labled &#8220;device1&#8243;) connects this section to Screen section with the <em>Device &#8220;device1&#8243; </em>option.</li><li>The VendorName and BoardName both come from the make and model of the video adapter.</li><li>The Driver is the driver the video card will use.</li><li>Option &#8220;DPMS&#8221; &#8211; this enables the Display Power Management System.</li><li>Option &#8220;SWcursor&#8221; &#8211; this enables the cursor to be drawn by software (as opposed to the HWcursor drawing by hard ware).</li><li>Option &#8220;VBERestore&#8221; &#8220;true&#8221; &#8211; allows a laptop screen to restore from suspend or hibernate.</li></ul><p>The lengthiest section of your xorg.conf file will most likely be your Screen section. This section will contain all of the subsections that contain the modes (resolutions) for your monitor. This section will start off like this:</p><p><code>Section "Screen"<br /> Identifier "screen1"<br /> Device "device1"<br /> Monitor "monitor1"<br /> DefaultColorDepth 24<br /> </code><br /> Notice how the above section references both a device and a monitor. These will refer to other sections in the xorg.conf file. This section also contains the <em>DefaultColorDepth</em> which will define the default color depth for your machine. In the case above the default is 24. Now, take a look below at the SubSections of this section:</p><p><code>Subsection "Display"<br /> Depth 8<br /> Modes "1440x900" "1280x800"<br /> EndSubsection<br /> Subsection "Display"<br /> Depth 15<br /> Modes "1440x900" "1280x800"<br /> EndSubsection<br /> Subsection "Display"<br /> Depth 16<br /> Modes "1440x900" "1280x800"<br /> EndSubsection<br /> Subsection "Display"<br /> Depth 24<br /> Modes "1440x900" "1280x800"<br /> EndSubsection<br /> EndSection<br /> </code><br /> As you can see there is a SubSection for four different color depths. Included in those subsections is the default 24. So when X reads the DefaultColorDepth option it will automatically attempt to set the modes configured in the <em>Depth 24</em> subsection. Also notice that each subsection contains two resolutions. X will attempt to set the first resolution (in the case above our first default is 1440&#215;900) and move on to the next if it can not set the first. Most likely X will be able to set the first.</p><p><strong>Final Thoughts</strong></p><p>This is only meant to be an introduction to the xorg.conf configuration file. As you might guess, xorg.conf, can get fairly complex. Add to the complexity numerous options available for each section and you have a valid case to make sure you RTFM (read the fine man page.) And the man page is an outstanding resource to find information on all of the available options. To read the man page issue the command <em>man xorg.conf</em> from the command line.</p><p>By having a solid understanding of the xorg.conf file you won&#8217;t have any problems fixing a fubar&#8217;d X installation or tweaking your xorg.conf file to get the most from your new video card.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/02/04/get-to-know-linux-understanding-xorgconf/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>Fedora 10 and the Evolution of Xorg</title><link>http://www.ghacks.net/2009/01/14/fedora-10-and-the-evolution-of-xorg/</link> <comments>http://www.ghacks.net/2009/01/14/fedora-10-and-the-evolution-of-xorg/#comments</comments> <pubDate>Wed, 14 Jan 2009 20:24:42 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Linux video]]></category> <category><![CDATA[nvidia]]></category> <category><![CDATA[system-config-display]]></category> <category><![CDATA[Xorg]]></category> <category><![CDATA[xorg.conf]]></category><guid isPermaLink="false">http://www.ghacks.net/?p=9891</guid> <description><![CDATA[This is a rant. This is only a rant. If this were a real review you would be notified by your local emergency broadcast station&#8230;Now that I have your attention, I want to direct you to what is happening with the latest version of Fedora and X configuration. If you have installed Fedora 10 and [...]]]></description> <content:encoded><![CDATA[<p>This is a rant. This is only a rant. If this were a real review you would be notified by your local emergency broadcast station&#8230;Now that I have your attention, I want to direct you to what is happening with the latest version of Fedora and X configuration. If you have installed Fedora 10 and have had no problems you&#8217;re in luck. If you have installed Fedora 10 and have noticed X Windows not looking as good as it did with 9 (or another distribution) welcome to the new world order of xorg.conf.</p><p>With the advent of Fedora 10 xorg.conf does not, by default, install an xorg.conf configuration file. In fact, I had Fedora 10 up and running with an NVidia GeForce 6600 card, with no xorg.conf file. Problem was, I couldn&#8217;t get the installation to run in 1200&#215;1024 resolution. Not until I jumped through a few hoops.</p><p><span id="more-9891"></span>One of the first things you should do, when you finish an installation of Fedora 10 is check in <em>/etc/X11</em> to see if there is an xorg.conf file. If there is not you need to issue the command <em>Xorg -configure :1</em>. What this will do is generate a default xorg.conf file based on your hardware.</p><p>Your next step can be tackled in a couple of ways. You can edit the xorg.conf file by hand (for advanced users) or you can install the <em>system-config-display </em>application with the command <em>yum install system-config-display</em>. Once you get that installed you can run the application (as root) with the command <em>system-config-display.</em> From that point the GUI tool should be pretty straight foward to use.</p><p>Of course, if you are using an NVidia card, you might have to install some proprietary drivers. Open up the Add/Remove Software tool and do a search for nvidia. Select the applicable drivers for your system if you need them. Once you install the drivers you should have the <em>nvidia-settings</em> tool. This will offer you some help in configuring your NVidia card with Fedora 10.</p><p>You will notice the default xorg.conf file generated is very bare-bones. And I understand that Xorg is going in a direction that doesn&#8217;t require an xorg.conf file. But there are chipsests out there, such as NVidia, who&#8217;s drivers still require an xorg.conf file. This, to me, seems as if Xorg is getting a bit ahead of itself.</p><p><strong>UPDATE: </strong>I can&#8217;t confirm this but the above statement about Xorg going in an xorg.conf&#8217;less direction seems to only be applying to Fedora. If anyone has any information that would indicate other distributions are following suite, let us know. Thanks all!</p><p>Now I can&#8217;t complain too much&#8230;X Windows does work out of the box and does a fairly admiriable job. But when you want higher resolutions than the default, you might find yourself jumping through some hoops. I have to admit Linux will find itself in much greener pastures once Xorg no longer requires a configuration file. But I do hope the developers of the various chipsets can get on the same page as the Xorg developer team. If they can&#8217;t Linux is going to find itself with a limited selection of video cards it can work with.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/01/14/fedora-10-and-the-evolution-of-xorg/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 8/17 queries in 0.005 seconds using disk

Served from: www.ghacks.net @ 2010-03-21 12:38:03 -->