[blfs-support] Xorg

Fernando de Oliveira famobr at yahoo.com.br
Sun Feb 12 08:58:14 PST 2012


Thank's, DJ.

Em 12-02-2012 13:13, DJ Lucas escreveu:
> On 02/12/2012 08:57 AM, Fernando de Oliveira wrote:
>> Hi,
>>
>> I have been able to run Xorg in LFS SVN-20111210, using /etc/X11/xorg.conf.d instead of /etc/X11/xorg.conf.
>>
>> For the first time the server successfully run in my first attempt, at about Feb 10 22:50 BRT!!!
>>
>> I had delayed it for some time, until I decided to create the xorg.conf.d files, as did not know how to name them and how to adapt from xorg.conf. One line in "Xorg-7.6-2 Testing and Configuration" with comparison of deprecated xorg.conf and how to make the adaptation could help., or may be I have missed it.
>>
>> []s,
>> Fernando
> Few actually need xorg.conf.d files now days. The only things that make 
> sense now days are keyboard configurations for non-US English keyboard 
> layouts

My case: br-abnt2.

> , and driver configurations for proprietary video drivers or 
> multi-monitor setups where hardware does not match logical layout,  and 
> those only when the DE does not have tools to control the keyboard or 
> video layout,

In the case of keyboard, my attempts without xorg.conf caused many problems; one, if I remember correctly, some messages of error showed up when using ssh.

>  or if you use graphical login tools (xdm, kdm, gdm, etc.). 

LXDM, in my case. Before, I used SLIM. I started using login tools, after reading about security issues without them (I cannot remember if it was in Gentoo or ArchLinux).

> There are examples for two of the three at the bottom of the 
> configuration page here: 
> http://www.linuxfromscratch.org/blfs/view/svn/x/xorg-config.html I would 
> like to add one for nVidia cards as well, but don't have the hardware 
> currently.
I noticed them long ago, but what I mean is that, at first, it seemed to me that there were some kind of special names for the files, and I could not find them anywhere.

>
> For the most part, the /etc/X11/xorg.conf.d directory should be empty 
> save for the default 10-evdev.conf and 50-synaptics.conf files that ship 
> with those drivers. Most things just work out of the box. Another thing 
> that was common in the past was to set default resolution in the 
> xorg.conf. The Xorg log file contains the available modelines, but 
> likely all you will need is an xrandr statement in .xinitrc, and again, 
> only if your choice of desktop does not include a tool to control it or 
> you use graphical login.

There are no modelines for the resolutions that I need to use for vmware-player. Also, the driver must be *vesa*, without vm-tools, and *vmwlegacy*, after the tools are installed. I have to define video driver and modelines, using cvt and then use them in xorg.conf. Without it, xrandr cannot set the desired screen size. With the wrong driver I had to wait almost a minute, when trying to move windows.

This is being written in a guest vmware-player running LFS6.8. Attached is a copy of the xorg.conf.

Essential sections are
Section "ServerFlags"
Section "InputDevice"
        Identifier  "Keyboard0"
Section "InputDevice"
        Identifier  "Mouse0" (when using a Marble Mouse)
Section "Modes" (to define modeline)
Section "Monitor" (to define HorizSync VertRefresh and UseModes)
Section "Device" (to define video driver)
Section "Screen" (to define DefaultDepth and Modes)

To each one, I have a respective file in LFS SVN-20111210.

-- 
[]s,
Fernando
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorg.conf
Type: application/octet-stream
Size: 3345 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20120212/009fcd70/attachment.obj>


More information about the blfs-support mailing list