Greeter for Ubuntu/LightDM
comes with a greeter module, named
vbox-greeter, that can be used with LightDM. LightDM is the default display manager for
Ubuntu Linux and therefore can also be used for automated guest logins.
vbox-greeter does not need the
pam_vbox module described in
in order to function. It comes
with its own authentication mechanism provided by LightDM.
However, to provide maximum flexibility both modules can be
used together on the same guest.
As with the pam_vbox module, vbox-greeter is shipped as part of the
Guest Additions but it is not installed or activated on the guest OS by default. To install
vbox-greeter automatically upon Guest Additions installation, use the
--with-autologon option when starting the VBoxLinuxAdditions.run file:
# ./VBoxLinuxAdditions.run -- --with-autologon
For manual or postponed installation, copy the vbox-greeter.desktop file from
/opt/VBoxGuestAdditions-version/other/ to the
xgreeters directory, which is usually /usr/share/xgreeters/. See your
guest OS documentation for the name of the correct LightDM greeter directory.
The vbox-greeter module is installed by the Guest Additions installer and is located in
/usr/sbin/. To enable vbox-greeter as the standard greeter module,
edit the file /etc/lightdm/lightdm.conf as follows:
[SeatDefaults]
greeter-session=vbox-greeter
-
The LightDM server must be fully restarted in order for vbox-greeter to be used as
the default greeter. As root on Ubuntu, run service lightdm
--full-restart or restart the guest.
-
vbox-greeter is independent of the
graphical session you choose, such as Gnome, KDE, or
Unity. However, vbox-greeter does
require FLTK 1.3 or later to implement its own user
interface.
There are numerous guest properties which can be used to further customize the login experience. For
automatically logging in users, the same guest properties apply as for pam_vbox. See .
In addition to the previously mentioned guest properties, vbox-greeter enables you to
further customize its user interface. The following guest properties are located in the
/VirtualBox/GuestAdd/Greeter/ directory:
-
HideRestart: Set to 1 if
vbox-greeter should hide the button to
restart the guest. This property must be set read-only for
the guest (RDONLYGUEST).
-
HideShutdown: Set to 1 if
vbox-greeter should hide the button to
shutdown the guest. This property must be set read-only
for the guest (RDONLYGUEST).
-
BannerPath: Path to a
.PNG file to use as a banner image on
the top of the greeter. The image size must be 460 x 90
pixels, any bit depth. This property must be set read-only
for the guest (RDONLYGUEST).
-
UseTheming: Set to 1 for turning on the
following theming options. This property must be set
read-only for the guest (RDONLYGUEST).
-
Theme/BackgroundColor: Hexadecimal
RRGGBB color for the background. This property must be set
read-only for the guest (RDONLYGUEST).
-
Theme/LogonDialog/HeaderColor:
Hexadecimal RRGGBB foreground color for the header text.
This property must be set read-only for the guest
(RDONLYGUEST).
-
Theme/LogonDialog/BackgroundColor:
Hexadecimal RRGGBB color for the login dialog background.
This property must be set read-only for the guest
(RDONLYGUEST).
-
Theme/LogonDialog/ButtonColor:
Hexadecimal RRGGBB background color for the login dialog
button. This property must be set read-only for the guest
(RDONLYGUEST).
The same restrictions for the guest properties above apply as for the ones specified in the
pam_vbox section.