注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Package:Lightdm"

From Funtoo
Jump to navigation Jump to search
Line 41: Line 41:
If you wish to change the background, you can follow these settings:
If you wish to change the background, you can follow these settings:


For LightDM GTK+ greeter edit /etc/lightdm/lightdm-gtk-greeter.conf:
For LightDM GTK+ greeter edit {{f|/etc/lightdm/lightdm-gtk-greeter.conf}}:


{{file|name=/etc/lightdm/lightdm-gtk-greeter.conf|desc=lightdm-gtk-greeter.conf|body=
background=/path/to/wallpaper/file.png
background=/path/to/wallpaper/file.png
}}


LightDM should display on reboot, which you may want to do now.  
LightDM should display on reboot, which you may want to do now.
{{console|body=
###i## reboot
}}


{{PageNeedsUpdates}}
{{PageNeedsUpdates}}
{{EbuildFooter}}
{{EbuildFooter}}

Revision as of 03:29, June 28, 2015

Lightdm

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Lightdm is a light display manager. It's an excellent alternative to gdm, & kdm. Lightdm is used in conjunction with x11-apps/xdm.

Install

root # emerge lightdm

Configuration

Lightdm is configured with /etc/lightdm/lightdm.conf, and /etc/conf.d/xdm. By default, lightdm ships with lightdm-gtk-greeter which is controlled by /etc/lightdm/lightdm-gtk-greeter.conf


You'll need to edit the folloing file to tell the system which display manager to use. Change the xdm file to the following:

   /etc/conf.d/xdm - xdm configuration to use lightdm
DISPLAYMANAGER="lightdm"

If you want the user to type in the username, you can set these options.

   /etc/lightdm/lightdm.conf - to make users manually enter the user name
[SeatDefaults]
greeter-hide-users=true
greeter-show-manual-login=true

Greeters

LightDM will be pretty useless for graphical logins with out the addition of a greeter for it.

For GTK fans:

root # emerge x11-misc/lightdm-gtk-greeter

for KDE fans:

root # emerge x11-misc/lightdm-kde

To start LightDM on boot, add dbus & xdm to the default runlevel. dbus may already be added.

root # rc-update add xdm default
root #rc-update add dbus default

If you wish to change the background, you can follow these settings:

For LightDM GTK+ greeter edit /etc/lightdm/lightdm-gtk-greeter.conf:

   /etc/lightdm/lightdm-gtk-greeter.conf - lightdm-gtk-greeter.conf
background=/path/to/wallpaper/file.png

LightDM should display on reboot, which you may want to do now.

root # reboot