X server and xinit works excellent....almost.

Polytropon freebsd at edvax.de
Tue Nov 8 19:56:03 UTC 2011

On Tue, 8 Nov 2011 08:14:48 -0700 (MST), Warren Block wrote:
> On Tue, 8 Nov 2011, Samuel Magnusson wrote:
> > 1.  I can?t zap the server with Ctrl-Alt-Backspace. Nothing at all happens. I 
> > have checked that it isn't disabled in xorg.conf, and even tried to put in 
> > the reverse boolean value there.  Not that I couldn't live without zapping, 
> > but...when I know about it that it should be there and it is taken fom me I 
> > feel an URGE to get the zap!
> Zapping is still allowed by default, but a key combination is not 
> assigned.  That can be done in .xinitrc or .xsession:
>    setxkbmap -option terminate:ctrl_alt_bksp
> It can also be done in xorg.conf:
>    Section "InputDevice"
>           Identifier  "Keyboard0"
>           Driver      "kbd"
>           Option      "XkbOptions" "terminate:ctrl_alt_bksp"
>    EndSection

There is a 3rd option, especially "useful" when X is run
with DBUS and HAL (the default configuration, as well as
the package configuration), and it involves fun with XML. :-)

File /usr/local/etc/hal/fdi/policy/x11-input.fdi
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
    <match key="info.capabilities" contains="input.keyboard">
      <merge key="input.x11_options.XkbOptions" type="string">terminate:ctrl_alt_bksp</merge>

And according to the handbook, this does _not_ remove the
need for a X configuration file (usually /etc/X11/xorg.conf)
including ``Option "DontZap" "off"'' in the "ServerFlags"

So, as you're already dealing with xorg.conf, use Warren's
suggestion, as it works independently of all the "new"
things required by X, and also conforms to the concept
of concentrating X's configuration in one configuration
file (rather than scattering settings across the file

> vesa is very limited, only supporting standard modes up to 1024x768 or 
> 1280x1024.  Some vendors add other modes, but they aren't common. 
> nouveau is an open driver for the very closed Nvidia hardware.  The 
> closed Nvidia drivers (x11/nvidia-driver*) are supposed to work quite 
> well.

I'm using nvidia-driver here which works better than
nouveau and nv (the one that comes with X.org); I haven't
tested VESA as in most cases, it's _not_ what one wants.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list