summaryrefslogtreecommitdiffstats
path: root/debian/README.Debian
blob: 7af82eac5522f0ef8b135fe1329fe5d9c24d0bbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
GDM for Debian
==============

Configuration overview
----------------------

The configuration for the GDM daemon is completely different from the 
older versions (in former package gdm).

For the daemon itself:
 * The autologin options can be chosen from the “User” tab of the GNOME control
   center.
 * Other options (like XDMCP) can be set in /etc/gdm3/daemon.conf. The 
   list of available options can be found in /usr/share/gdm/gdm.schemas.

The greeter - which is the interface that welcomes you on the 
computer - uses a minimal GNOME session to startup. Its settings are set 
through GSettings, but using a specific configuration.
 * You can force the GSettings settings in /etc/gdm3/greeter.dconf-defaults.
 * After changing any of the settings, you need to run “invoke-rc.d gdm3 
   reload” to take them into account.

Custom X11 sessions
-------------------

Since Debian 12, GDM does not provide a session type that reads ~/.xsession
or the X11 session managers managed by update-alternatives. If this
session type is required:

- create a directory /etc/X11/sessions/
- copy /usr/share/doc/gdm3/examples/custom-x11-session.desktop
  to /etc/X11/sessions/
- edit as required

See the GNOME user documentation in the gnome-user-docs package for
more details of how to configure custom X11 sessions.

X11 authentication
------------------

Upon session startup, GDM sets the XAUTHORITY environment variable to a 
session-specific file in /run/gdm3.

Applications and scripts that assume this file is set to ~/.Xauthority 
will not work. To access the display you need both DISPLAY and 
XAUTHORITY variables.

"I get ugly fonts"
------------------

In the past, as a quick workaround, GDM imposed a 96 DPI settings by
passing "-dpi 96" to the X server on startup.  This is a bad idea as
there's no reason to override standard DPI detection mechanisms for all
screens which might or might not be 96 DPI screens.

DPI should be computed automatically based on the information on your
screen that Xorg gets; ideally, Xorg would get the DPI right, but you
can help Xorg by configuring it with your exact screen properties.


Face Browser
------------

If you enable the face browser in the greeter, GDM will look for face 
files (any image format supported by GTK+). You can configure the face 
for your user in the “User” tab of the GNOME control center.