Qingy

About
A getty is a Unix/Linux program that prints a login prompt at a tty, gets your username and password, and then starts the login process. The standard getty distributed with Gentoo is called agetty; when you switch to a virtual console (Ctrl+Alt+F1, Ctrl+Alt+F2, etc.), the program that prompts you for a username and password is agetty. Qingy (which stands for qingy is not getty) is a replacement for the standard getties like agetty. It is written in C and uses DirectFB to provide a graphical login screen without the overhead of running the X Window System. In addition to the ability to log a user into an fbdev-enabled text console, qingy is able to automatically start X11 and a graphical environment like Gnome or KDE upon login. This means that qingy is an effective replacement for Xfree-compatible login managers like GDM and KDM (which require that X11 is already started). For more information about qingy, visit the Qingy Homepage.

Requirements
FBDev Support enabled in the Kernel


 * see Framebuffer

DirectFB Library

With USE flags:

FBSet utility

The utility tests if a framebuffer is installed and lists you the available video modes.

Install it if needed

Test to see if framebuffer support is in the kernel correctly

If lists nothing, then see the Framebuffer.

Installing
Qingy will need the direct framebuffer USE flag.

Also ps2mouse support needs to be added to the to have mouse support in Qingy.

The INPUT_DEVICES section will need to have "ps2mouse" added.

Configuring Qingy
When Qingy emerges, edit and set Qingy as the login manager.

In the terminals section of the file, specify Qingy.

Terminal 6 is left here as the old 'agetty' for safety reasons - if something goes completely wrong with Qingy, you have a secure way to log in.

Take the graphical login manager ( GDM, KDM, XDM... ) out of the runlevels. This can be done by

Adding Some Framebuffer Modes
To get Qingy to work with a non-standard resolution, i.e. 1400x1050, a new mode will need to be included. Likely it isn't already present, but look to see if there is a 's file. To get the current settings with an fbdev-enabled kernel, log in as root and type:

Without any parameters fbset should display the current framebuffer mode. In a fbdev-enabled kernel, the output should look something:

mode "1400x1050-77" # D: 147.037 MHz, H: 83.166 kHz, V: 77.436 Hz       geometry 1400 1050 1400 1050 16 timings 6801 168 32 16 4 168 4 rgba 5/11,6/5,5/0,0/0 endmode

In add the video resolutions you wish to use. If does not exist, create it and just copy and paste the result of fbset in it.

Last step is to edit (or create) to set it to the preferred mode. Use the mode's name from. Note that this has to be the same mode specified at boot, presumably the one fbset just printed out.

Example:

Thanks
Thanks to feffi for his excellent Gentoo on Acer TM80x Howto. This Article was exported from Zugaina "Old" Gentoo Wiki Mirror

Internal

 * Gentoo on Acer TM80x Howto
 * Framebuffer

External

 * Qingy Homepage
 * Gentoo-Portage:
 * Gentoo Forums: An awesome App called Qingy
 * Qingy Themes on Freshmeat
 * DirectFB Library