<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  
  
  <channel>
    <title>chrisjrob: xorg</title>
    <link>https://chrisjrob.com</link>
    <atom:link href="https://chrisjrob.com/tag/xorg/feed/index.xml" rel="self" type="application/rss+xml" />
    <description>GNU Linux, Perl and FLOSS</description>
    <language>en-gb</language>
    <pubDate>Fri, 13 Feb 2026 17:22:31 +0000</pubDate>
    <lastBuildDate>Fri, 13 Feb 2026 17:22:31 +0000</lastBuildDate>
    
    <item>
      <title>LTSP | LTSP5 Display Troubleshooting</title>
      <link>https://chrisjrob.com/2010/07/06/ltsp5-display-troubleshooting/</link>
      <pubDate>Tue, 06 Jul 2010 09:50:08 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2010/07/06/ltsp5-display-troubleshooting</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/ltsp_logo.png" align="right" alt="Featured Image">
         
         <p>This is currently a few scrappy notes just to jog my memory as to things to try.  Messing about with monitor settings can blow your monitor, graphics card and probably both; although in practice sensible use should ensure that never happens to you.</p>

<p>Note that some of these commands may not exist on your system, if you need to install them, then remember to install into the chroot, e.g.:</p>

<!--more-->

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># chroot /opt/ltsp/i386
# apt-get update
# apt-get install lshw
# exit
</code></pre></div></div>

<p>Erm, suppose I should mention this whole page was tested on Debian Lenny.</p>

<h2 id="cables">Cables</h2>

<p>Do consider trying a new monitor cable - as a poor quality or damaged cable can cause problems that are difficult to trace.  A few seconds to try a different cable might save you endless time.</p>

<h2 id="a-word-about-drivers">A word about drivers</h2>

<p>There are often multiple drivers for a particular graphics card, for example with nvidia cards you can sometimes use the opensource “nv” driver and sometimes the proprietary “nvidia” driver, and I believe there is a “nouveau” driver, which I have not yet experienced.  Similarly in intel, stipulating that the driver should be “intel” may solve your problem.  See lspci below for details.</p>

<h2 id="x-authority">X Authority</h2>

<p>All of the following commands were run from an ssh session to the thin client itself, for this to work you need to install openssh-server in the chroot.  Alternatively you can simply go to the client and type ctrl-alt-f1 to access to the client’s console and type the following commands from there.  Obviously the benefit to the ssh approach is that you can do it remotely and cut and paste from your browser into the client.</p>

<p>We need to be able to access the xserver from the console, so we need to set the XAUTHORITY:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># export XAUTHORITY=`find /var/run -name Xauthority`
# echo $XAUTHORITY
/var/run/ldm-xauth-qOQkpTdNp/Xauthority
# export DISPLAY=:7
#
</code></pre></div></div>

<h2 id="useful-programs">Useful Programs</h2>

<h3 id="lspci">lspci</h3>

<p>In order to google your problems, you’ll need to know the make and model of your graphics card, to find this out, run the lspci command:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># lspci
# lspci -v | more
</code></pre></div></div>

<p>The first command is a summary, the second command gives you more information.  The “VGA compatible controller” is probably for what you’re looking.</p>

<h3 id="lshw">lshw</h3>

<p>List Hardware will list all the hardware on your PC.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># lshw -C display
</code></pre></div></div>

<h3 id="getltscfg">getltscfg</h3>

<p>Report all the settings from lts.conf which apply to this terminal.  This helps diagnose those occasions where the client is refusing to obey your lts.conf commands.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># getltscfg -a
</code></pre></div></div>

<h3 id="xvidtune">xvidtune</h3>

<p>xvidtune -show will report the current monitor settings as a modeline:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># xvidtune -show
</code></pre></div></div>

<p>You can also run xvidtune as a localapp when logged into the thin client:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>"/usr/bin/ltsp-localapps xvidtune"
</code></pre></div></div>

<h3 id="xdpyinfo">xdpyinfo</h3>

<p>xdpyinfo reports a great many details from the xserver, including resolution, colour depth etc:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># xdpyinfo | more
</code></pre></div></div>

<h3 id="gtf-cvt">gtf cvt</h3>

<p>There are two tools for creating a modeline - gtf and cvt.  My understanding is that cvt is the newer tool, in use from 2003, but tbh I really don’t know which you should use.  Both tools work in the same way.  Some examples:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># gtf 1920 1080 60
# cvt 1280 1024 75
</code></pre></div></div>

<h3 id="xrandr">xrandr</h3>

<p>To save rebooting endlessly you can test monitor settings on the fly with xrandr:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># xrandr
# xrandr --newmode "1920x1080_60.00"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync
# xrandr --addmode VGA "1920x1080_60.00"
# xrandr --output VGA --mode "1920x1080_60.00"
# xrandr --auto
</code></pre></div></div>

<p>The first command provides you with useful information about your xserver, including the available modes, and most importantly the available “outputs” (these are your monitors/displays); in the above example my only output is a monitor called “VGA”.  newmode creates the newmode (e.g. as output by gtf or cvt), addmode makes that mode applicable to the output, and the next command activates that mode.  The final command “auto” will reset your display automatically, probably your previous settings.</p>

<h2 id="references">References</h2>

<p>For once almost all of this was my own work, and so all my fault ;).  That said the following page was helpful to me in the section about xrandr:</p>

<ul>
  <li>https://wiki.ubuntu.com/X/Config/Resolution</li>
</ul>

       ]]>
      </description>
    </item>
    
    <item>
      <title>Home Theatre PC - Setting DPI in Xorg</title>
      <link>https://chrisjrob.com/2010/05/22/home-theatre-pc-setting-dpi-in-xorg/</link>
      <pubDate>Sat, 22 May 2010 00:00:01 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2010/05/22/home-theatre-pc-setting-dpi-in-xorg</guid>
      <description>
       <![CDATA[
         
         <p>A second post on the same day, has hell frozen over?  No, actually I put the wrong date on yesterday’s post.  Oops.</p>

<p>The DPI problem was fixed very easily by following the instructions on the link I provided in my previous post, I calculated that my Sony Bravia KDL 32S3000 had dimensions of 700mm x 390mm and a native resolution of 1366x768.</p>

<!--more-->

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ xdpyinfo | grep dimensions
$ xdpyinfo | grep "dots per inch"
</code></pre></div></div>

<p>Converting the millimetres to inches and dividing the resolution by the inches dimensions gave me DPI of 50x50, surprisingly low.  I believe this is because the KDL 32S3000 is not a full HD TV but only 1080i.  Setting this in <code class="language-plaintext highlighter-rouge">/etc/X11/xorg.conf</code> cured the problem with the KDM login manager.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Section "Monitor"
    Identifier "Monitor0"
    Option   "DPI" "50 x 50"
EndSection
</code></pre></div></div>


       ]]>
      </description>
    </item>
    
    <item>
      <title>Howto | Reconfigure Display Settings</title>
      <link>https://chrisjrob.com/2009/03/21/reconfigure-display-settings/</link>
      <pubDate>Sat, 21 Mar 2009 06:20:45 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2009/03/21/reconfigure-display-settings</guid>
      <description>
       <![CDATA[
         
         <h2 id="configuring-your-display">Configuring your display</h2>

<p>If the display resolution is VGA, the run:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ dpkg-reconfigure xserver-xorg
</code></pre></div></div>

<p><strong>When configuring XORG, do ensure that the maximum resolution is as you want it, as this will be the default resolution for every boot.</strong></p>

       ]]>
      </description>
    </item>
    
    <item>
      <title>Kubuntu to Debian Sid</title>
      <link>https://chrisjrob.com/2008/08/20/kubuntu-to-debian-sid/</link>
      <pubDate>Wed, 20 Aug 2008 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2008/08/20/kubuntu-to-debian-sid</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/debian_logo.png" align="right" alt="Featured Image">
         
         <p>It’s been bothering me for some time that I am using Kubuntu instead of Debian on my work desktop PC.  Yesterday I had a drive failure necessitating a reinstall; what better excuse could there be?  Having decided to change to Debian, I decided to install Sid, and then I decided that, as KDE 4.1 is now out, why not go the whole hog.</p>

<p>The experience was pretty positive, really the only problem was that I needed to tweak the <code class="language-plaintext highlighter-rouge">xorg.conf</code> in order to get my keyboard and mouse working, other than that it was a pretty straightforward install.</p>

<!--more-->

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Section "ServerLayout"
    Identifier   "Default Layout"
    Screen       "Default Screen"
    Inputdevice  "Generic Keyboard"
    Inputdevice  "Configured Mouse"
EndSection
</code></pre></div></div>

<p>Installing VirtualBox was not such fun, but the following link sorted me out:</p>

<ul>
  <li><a href="http://chirale.wordpress.com/2007/12/23/virtualbox-ose-debian-install-howto/">Virtualbox OSE Debian Install</a></li>
</ul>

<p>So far I have installed Iceweasel3, OpenOffice3, NoMachine NX Client and VirtualBox, and it’s running really nicely.  I have activated the KDE4 compositing effects, which seem very slow, so hopefully some room for improvement there in subsequent releases.</p>

<p>So would I recommend Debian Sid KDE4.1 over Kubuntu?  Well I think that’s an unfair comparison, as I’ve installed a bleeding edge solution, but all-in-all it really wasn’t a scary installation at all.</p>

<p>Well done to the Debian team.</p>

       ]]>
      </description>
    </item>
    
  </channel> 
</rss>
