<?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 &#124; Latest Tech News, Software And Tutorials &#187; X Windows</title> <atom:link href="http://www.ghacks.net/tag/x-windows/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 09:52:46 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Configure Linux to boot without a monitor</title><link>http://www.ghacks.net/2010/11/28/configure-linux-to-boot-without-a-monitor/</link> <comments>http://www.ghacks.net/2010/11/28/configure-linux-to-boot-without-a-monitor/#comments</comments> <pubDate>Sun, 28 Nov 2010 15:29:59 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[headless server]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[ubuntu server]]></category> <category><![CDATA[X Windows]]></category> <category><![CDATA[Xorg]]></category> <category><![CDATA[xorg.conf]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=37372</guid> <description><![CDATA[Many administrators/users prefer to set up their servers as headless machines. If you&#8217;re not sure what a headless machine is &#8211; it&#8217;s a PC without a monitor. This is an outstanding way to use Linux as a server as typically people install Linux servers sans GUIs. Thing is, a problem has arisen with recent iterations [...]]]></description> <content:encoded><![CDATA[<p>Many administrators/users prefer to set up their servers as headless machines. If you&#8217;re not sure what a headless machine is &#8211; it&#8217;s a PC without a monitor. This is an outstanding way to use Linux as a server as typically people install Linux servers sans GUIs. Thing is, a problem has arisen with recent iterations of Linux distributions. In recent releases (especially with Ubuntu) the distributions do not use an X configuration. This is great for end-users on desktops because the operating auto-detects the graphics chip and monitor for auto-X configuration. This is a problem for a headless server as there will be monitor attached. When Ubuntu &gt;= 10.04 gets to the monitor detection it will freeze and your headless server is worthless.</p><p>You could work around this by plugging in a monitor, mouse, and keyboard and letting the OS boot and then removing the monitor when the boot process has finished. This is a far from ideal solution. Fortunately the Linux community has come up with a temporary work around for this issue (I&#8217;m confident the distribution developers will come up with a much better solution soon). Let&#8217;s take a look at the solution.</p><p><span
id="more-37372"></span><strong>Warnings</strong></p><p>This solution requires that you create an <strong>/etc/X11/xorg.conf </strong>configuration file. I assume that anyone wanting to set up a headless server isn&#8217;t afraid of manually creating/editing the xorg.conf file. If you are, make sure you back up any pre-existing xorg.conf file that might live in <strong>/etc/X11</strong>.</p><p>This guide also assumes that you already have a working server installation that you can successfully boot with an attached monitor. I will also assume you know what graphics card is in your server. You will need this information momentarily (so if you don&#8217;t know it, dig around and find out what card you are using). With that being said, let&#8217;s get on with it.</p><p><strong>xorg.conf</strong></p><p>The first thing you need to do is to set up the <strong>xorg.conf</strong> configuration. If one already exists, copy it to <strong>/etc/X11/xorg.conf.OLD</strong> and then erase the contents of the <strong>/etc/X11/xorg.conf</strong> file. The new contents of that file will be:</p><p><code>Section "Device"<br
/> Identifier "VNC Device"<br
/> Driver "vesa"<br
/> EndSection</code></p><p><code>Section "Screen"<br
/> Identifier "VNC Screen"<br
/> Device "VNC Device"<br
/> Monitor "VNC Monitor"<br
/> SubSection "Display"<br
/> Modes "1024x768"<br
/> EndSubSection<br
/> EndSection</code></p><p><code>Section "Monitor"<br
/> Identifier "VNC Monitor"<br
/> HorizSync 30-70<br
/> VertRefresh 50-75<br
/> EndSection</code></p><p>Once you have saved and closed that file you now need to edit the <strong>/etc/default/grub</strong> file and add the following line:</p><p><code>GRUB_CMDLINE_LINUX="nomodeset"</code></p><p>You can take this one step further and disable the splash screen for the boot process by setting the line:</p><p><code>GRUB_CMDLINE_LINUX_DEFAULT=</code></p><p>to &#8220;<em>quiet</em>&#8221; instead of &#8220;<em>quiet splash</em>&#8221;</p><p>Save the <strong>/etc/default/grub</strong> file and then issue the command <em>sudo update-grub</em> to rebuilt grub.</p><p>To test this setup go ahead and boot the machine without the monitor attached. Once you have given it plenty of time to boot you can either VNC or ssh into the machine. If you get a successful connection you are good to go. If you do not get a successful connection plug the monitor back in and see where in the process it stopped. If you have a black screen revisit the configuration and make sure everything is correct. To further troubleshoot boot the machine with the monitor plugged in and check the <strong>/var/log/Xorg.0.log </strong>file for any errors. Hopefully you will find the setup above works like a champ.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/11/28/configure-linux-to-boot-without-a-monitor/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Get back CTRL-ALT-Backspace in Fedora and Ubuntu</title><link>http://www.ghacks.net/2010/09/20/get-back-ctrl-alt-backspace-in-fedora-and-ubuntu/</link> <comments>http://www.ghacks.net/2010/09/20/get-back-ctrl-alt-backspace-in-fedora-and-ubuntu/#comments</comments> <pubDate>Mon, 20 Sep 2010 11:18:04 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Ctrl-Alt-Backspace]]></category> <category><![CDATA[GNOME]]></category> <category><![CDATA[KDE]]></category> <category><![CDATA[X Server]]></category> <category><![CDATA[X Windows]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=34833</guid> <description><![CDATA[Being an old-school Linux user, one of the things that bothers me is that in some of the new distributions the CTRL-ALT-Backspace key combination (the combination that would usually kill and restart the X server) has been disabled. This key combination was always helpful when/if a program seemed to take over X Windows and keep [...]]]></description> <content:encoded><![CDATA[<p>Being an old-school Linux user, one of the things that bothers me is that in some of the new distributions the CTRL-ALT-Backspace key combination (the combination that would usually kill and restart the X server) has been disabled. This key combination was always helpful when/if a program seemed to take over X Windows and keep you from getting it back. It doesn&#8217;t happen often, but I have found that no matter how stable the distribution, some rogue app is going to do this now and then. And when it does happen, I want that magic key combination to work.</p><p>In this article I am going to show you the steps in both Fedora 13 and Ubuntu 10.04 to get this combination back. It&#8217;s actually an easy process, you just have to know the precise places where to look for the configurations.</p><p><span
id="more-34833"></span><strong>A word of warning</strong></p><p>The main reason why the distributions removed this combination is they didn&#8217;t want unsuspecting users to accidentally kill their running X server. I get this. But for those of us who aren&#8217;t so prone to accidentally killing the X Server, having this back is a good thing. For those who are prone to mistakenly hitting combinations like CTRL-ALT-Backspace, well, you might want to leave this feature disabled.</p><p><strong>Fedora and Ubuntu 10.04 in GNOME</strong></p><div
id="attachment_34836" class="wp-caption alignleft" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/09/gnome_x_server.png"><img
class="size-medium wp-image-34836 " src="http://www.ghacks.net/wp-content/uploads/2010/09/gnome_x_server-500x383.png" alt="" width="300" height="230" /></a><p
class="wp-caption-text">Figure 1</p></div><p>Let&#8217;s first take care of Fedora 13. First I will show you how to do this in the GNOME environment. It&#8217;s done the same way in both distributions. The first thing you need to do is click <strong>System &gt; Preferences &gt; Keyboard. </strong>In this new window click on the Layout tab and then click on the Options button. In this new window (see Figure 1) expand the entry for Key sequence to kill the X server. Once you expand that you will see the entry for Control + Alt + Backspace. Make sure that entry has its checkbox checked and then close the window.</p><p>You can now close the Keyboard preferences window and you can now enjoy having CTRL-ALT-Backspace back.</p><p>But what if you are a KDE user? Let&#8217;s take a look.</p><p><strong>KDE</strong></p><div
id="attachment_34839" class="wp-caption alignright" style="width: 310px"><a
href="http://www.ghacks.net/wp-content/uploads/2010/09/kde_enable_keyboard.png"><img
class="size-medium wp-image-34839 " src="http://www.ghacks.net/wp-content/uploads/2010/09/kde_enable_keyboard-500x430.png" alt="" width="300" height="258" /></a><p
class="wp-caption-text">Figure 2</p></div><p>The process of gaining this behavior back in KDE is equally simple (though not as quick). The first step is to click <strong>Start &gt; Computer &gt; System Settings</strong> which will open up the System Settings window. Now click on Regional &amp; Language. In this new window you must first click the Keyboard tab and then check the box for Enable Keyboard layouts (see Figure 2). Once you have done that you can then click on the advanced tab.</p><p>In this new window expand the entry for Key sequence to kill the X server and then make sure Control + Alt + Backspace is checked. Once done with that click Apply and then you can close the System Settings window.</p><p>You now have your CTRL-ALT-Backspace back in KDE!</p><p><strong>Final thoughts</strong></p><p>I do get why the distributions saw to it to disable this feature. But I am glad they made it possible to bring it back. And now, for those of you who want it, you can have the ability to kill and restart your X server with a three-finger salute!</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/09/20/get-back-ctrl-alt-backspace-in-fedora-and-ubuntu/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <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>17</slash:comments> </item> <item><title>Get to know Linux: Terminology</title><link>http://www.ghacks.net/2009/08/14/get-to-know-linux-terminology/</link> <comments>http://www.ghacks.net/2009/08/14/get-to-know-linux-terminology/#comments</comments> <pubDate>Fri, 14 Aug 2009 10:57:26 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Desktop Manager]]></category> <category><![CDATA[Knowledge]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[distribution]]></category> <category><![CDATA[kernel]]></category> <category><![CDATA[linux terminology]]></category> <category><![CDATA[package manager]]></category> <category><![CDATA[X Windows]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=15364</guid> <description><![CDATA[I have been covering the Linux operating system for a long time now. There are moments when I take it for granted that everyone knows the basic terminology surrounding this operating system. Because this is obviously not the case, I thought it might be a good time to stop and explain some of the terms [...]]]></description> <content:encoded><![CDATA[<p>I have been covering the Linux operating system for a long time now. There are moments when I take it for granted that everyone knows the basic terminology surrounding this operating system. Because this is obviously not the case, I thought it might be a good time to stop and explain some of the terms that many Linux users toss about every day as if they were household terms.</p><p>Some of these terms might seem very basic to a few readers and some of them not so basic. It is important, however, that we are all standing on common ground and not having to &#8220;google&#8221; a term all the time. This article will not be exhaustive, it will cover a few terms. In later &#8220;Get to know Linux&#8221; articles we will cover more of these terms. Without further adieu, let&#8217;s proceed.</p><p><span
id="more-15364"></span><strong>~/ or users&#8217; home</strong>: This is the directory, created when you either install your operating system or create a new user (with the right arguments), that holds all of your personal data. This directory is created based on what is in the <strong>/etc/skel</strong> directory. This is the one directory your user has full permissions in. From the command line, the fastest way to get to this directory is to enter the command <em>cd</em>.</p><p><strong>Kernel:</strong> This is the heart of Linux. In fact some purists will tell you that this IS Linux and everything else is nothing more than various applications built to run on top of Linux. The Linux kernel is a true preemptive multi-tasking kernel, is written in C, and is the single largest &#8220;application&#8221; on your system. Without the kernel you would not have a Linux operating system. &#8220;Back in the day&#8221; you would hear Linux users talk about &#8220;rolling their own kernel&#8221; or &#8220;compiling their own kernel&#8221;. This referred to building a kernel to meet specific needs. At one time this was almost a necessity for many users. This is not so much the case now as the modern kernel contains just about everything you would need.</p><p><strong>Distribution: </strong>A distribution of Linux is a bundled variation of Linux. There are a number of major distributions such as: Ubuntu, Fedora, SuSE, Debian. There are also a far greater number of minor distributions: PCLinuxOS,  Linux Mint, Elive, Gentoo, etc. Each distribution has its own selling point. For example: Ubuntu is one of the best known distributions for new users. On the other hand of the spectrum, Gentoo is for highly experienced users. You will often here the term &#8220;distro&#8221; used in place of &#8220;distribution&#8221;.</p><p><strong>Terminal, Console, or Terminal Emulator: </strong>This is where commands are entered. There are really two places this is done: In a terminal window or a Console. Often these terms are exchanged, but there is a difference. A terminal window is generally a small application (like gnome-terminal or xterm) that allows you to enter commands. The console is actually the command line version of the Linux interface. To get to what is typically called &#8220;console mode&#8221; you would either have to go to a virtual console (using &lt;Ctrl&gt;&lt;Alt&gt;F1-0) or log out of X and kill your graphical log in (such as gdm). When your monitor shows nothing but your bash prompt, you are in &#8220;console mode&#8221;.</p><p><strong>X:</strong> This term stands for X Window System. In simplest terms, X provides the graphical interface for Linux. Of course it is much more complex than that. The X Windows system alone wouldn&#8217;t offer you much functionality as X only provides the framework for the GUI. Running only X would give you a grayish screen, a cursor, and not much more. What you don&#8217;t see is that X provides the very foundation that enables your window managers and desktops to do what they do. You will often here the phrase &#8220;Log out of X&#8221; which, for the purposes of the end user, means log out of your desktop.</p><p><strong>Package Manager: </strong>One of the key selling points for distributions is which package manager they use. A package manager is the system which applications are automatically installed, removed, and generally managed on a system.Two of the major package management systems for Linux: dpkg and rpm. The dpkg was originally for Debian systems but is now employed by Ubuntu and others as well. RPM was created for the Red Hat Linux distribution but now is used by Fedora, SuSE, and others. Each of these systems have both command line tools (such as apt and apt-get for dpkg, and yum for RPM) and GUI tools (such as gpk-application for RPM and Synaptic for dpkg).</p><p><strong>Final thoughts</strong></p><p>There you have a few of the terms you should be familiar with when using the Linux operating system. We will continue with more terms at a later date. If you would like to request terms to be defined (or if you would like to request a Linux topic in general), please feel free to contact me.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/08/14/get-to-know-linux-terminology/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
