1
2007-07-09 Brian Cameron <brian.cameron@sun.com>
4
* configure.ac: Updated to new release version
6
* Makefile.am: Add icon-theme.cache file to
7
distuninstallcheck_listfiles so "make distcheck" works.
9
2007-07-09 Brian Cameron <brian.cameron@sun.com>
11
* daemon/slave.c: Fix MAXPATHLEN check so it works when MAXPATHLEN
14
2007-07-09 Brian Cameron <brian.cameron@sun.com>
16
* gui/greeter/Makefile.am, gui/greeter/greeter.c,
17
gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_system.c: Add
18
icons to the gdmgreeter menu.
19
* configure.ac, pixmaps/Makefile.am: Add new 24x24 directory.
20
* pixmaps/24x24/*: New directory with pixmaps to show in the
21
gdmgreeter menu. This addresses enhancement request #360984.
22
Patch by myself at Michael Terry.
24
2007-07-09 Brian Cameron <brian.cameron@sun.com>
26
* daemon/slave.c: Define MAXPATHLEN to PATH_MAX if MAXPATHLEN does
27
not exist on the system. Fixes bug #454777. Patch by Laurent
28
Goujon <laurent.goujon@online.fr>.
30
2007-07-05 Brian Cameron <brian.cameron@sun.com>
32
* daemon/verify-pam.c: Add logindevperm debug messages, so it is
33
easier to tell when it is working.
34
* config/Makefile.am: Fix typo that was causing the UtmpLineAttached
35
and UtmpLineRemote values to not get filled with proper defaults.
37
2007-07-02 Brian Cameron <brian.cameron@sun.com>
39
* acconfig.h, configure.ac, config/Makefile.am, config/gdm.conf.in,
40
daemon/gdm-daemon-config-entries.h, daemon/gdm-daemon-config-keys.c,
41
daemon/gdm-daemon-config.c, daemon/slave.c: Set UtmpLineAttached,
42
UtmpLineRemote, and UtmpPseudoDevice based on OS. On Solaris set to
43
dtlocal, dtremote, and true. On Linux set to "/dev/console", NULL,
45
* daemon/verify-pam.c: Fix logindevperm logic so that we only call
46
logindevperm for VT devices and for the "/dev/console" device.
48
2007-07-02 Brian Cameron <brian.cameron@sun.com>
50
* daemon/gdm.c daemon/display.[ch], daemon/verify-pam.c,
51
daemon/slave.[ch], daemon/gdm-daemon-config-entries.h,
52
daemon/gdm-daemon-config-keys.h, daemon/gdm-daemon-config.c
53
daemon/server.h, config/gdm.conf.in: Improve configurability
54
of how ut_line is set when doing utmp/wtmp processing. Now GDM
55
supports the ability to specify the device in the [servers] section
56
and also to define default local/remote values via the new
57
UtmpLineAttached and UtmpLineRemote configuration options. The
58
new UtmpPseudoDevice configuration option allows you to specify if
59
pseudo devices should be created.
60
* daemon/slave.c: Now support a new
61
gdm_slave_parse_enriched_string function used by new
64
2007-07-01 Lukasz Zalewski <lukas@dcs.qmul.ac.uk>
66
* gui/greeter/greeter.c: when getting the theme file added a check if
67
the file is readable (the check was only for the file existance
68
previously) + some error messages. Fixes issues raised in bug
71
2007-06-28 Lo\357c Minier <lool@dooz.org>
73
* gui/gdmlanguages.c, gui/gdmcommon,c, gui/gdmchooser,c,
74
gui/modules/dwellmouselistener.c, gui/modules/keymouselistener.c,
75
daemon/gdm-xdmcp-manager.c, daemon/auth.c, daemon/slave.c,
76
daemon/gdm-daemon-config.c: Fix warnings. Patch by
77
Lo\357c Minier <lool@dooz.org>.
79
2007-06-28 Lo\357c Minier <lool@dooz.org>
81
* gui/gdmlanguages.c: (gdm_lang_read_locale_file): Remove the default
82
locale selection logic and let the system default to C. Fixes bug
85
2007-06-28 Brian Cameron <brian.cameron@sun.com>
87
* gui/gdmlogin.c: Now allow focus to move into the OK and Cancel
88
buttons. Fix the sensitivity of the OK button so it is insensitive
89
when gdmlogin first starts (since it should only be sensitive when
90
there is some string entered in the entry field). This addresses
91
the security issue raised in bug #433495.
93
2007-06-26 Michael Terry <mike@mterry.name>
95
* gui/login-photo.png, pixmaps/48x48/gdm-login-photo.png,
96
gui/Makefile.am, pixmaps/48x48/Makefile.am: Rename and move
97
login-photo.png to be properly namespaced and with the rest of the
98
installed icons. Followup to #450786.
100
2007-06-25 Brian Cameron <brian.cameron@sun.com>
102
* gui/gdmchooser.c: Call gdm_common_atspi_launch so that users can
103
launch AT programs when gdmchooser is running.
104
* acconfig.h, configure.ac, daemon/display.[ch], daemon/verify-pam.c,
105
daemon/gdm-xdmcp-manager.c, daemon/getvt.[ch], daemon/slave.[ch]:
106
Fix utmp logic so it works on Linux and improved the logic a bit,
107
fixing bug #450453. Patch by Ray Strode. <rstrode@redhat.com>.
108
Also, I changed the way the XFree86_VT atom is accessed so it is
109
only checked once after X starts and before the gdmgreeter starts,
110
and then the value is cached. This is better because the Atom can
111
be changed by the user, so we do not want to access the Atom after
112
the user session starts.
113
* daemon/slave.c: Fix calls to setfacl so they work in Solaris
114
specific block of code.
116
2007-06-25 Brian Cameron <brian.cameron@sun.com>
118
* pixmaps/48x48/Makefile.am, pixmaps/32x32/Makefile.am,
119
pixmaps/16x16/Makefile.am, gui/gdmphotosetup.desktop.in,
120
gui/gdmsetup.c, gui/Makefile.am, gui/gdmchooser.c: Install 48x48
121
icons to the hicolor theme and uses the correct GTK call to grab
122
application icons from the theme, not pixmaps. Fixes enhancement
123
request #450786. Patch by Michael Terry <mike@mterry.name>
125
2007-06-25 Brian Cameron <brian.cameron@sun.com>
127
* daemon/slave.c: Fix some warnings.
129
2007-06-21 Brian Cameron <brian.cameron@sun.com>
131
* daemon/slave.[ch]: Add functions to support utmp and wtmp processing.
132
Modified the gdm_window_path function to use the new
133
gdm_get_current_vtnum funtion. This fixes enhancement request
134
#347871. I did modify the patch provided by Ray Strode
135
<rstrode@redhat.com> quite a bit. Biggest changes were to make it
136
use utmpx rather than utmp functions, add utmp handling in addition
137
to wtmp/btmp which was in his original patch, move function from
138
verify-pam.c to slave.c so it also works when PAM isn't being used.
139
Other changes include using the device name for ut_line on Solaris
140
instead of DISPLAY, setting ut_type to DEAD_PROCESS on logout, and
141
adding better error handling and debugging messages.
142
* daemon/getvt.[ch]: Add function gdm_get_current_vtnum which checks
143
the XFree86_VT atom and returns the VT number used by current
144
display. This function used to be a part of the windowpath code.
145
Also added the gdm_get_vt_device and gdm_get_current_vt_device
146
access functions to get the right VT device name.
147
* daemon/verify-pam.[ch]: Now Solaris audit, PAM_TTY, and di_devperm
148
functions pass proper VT device names, not just hardcoded to
150
* daemon/verify-pam.c, daemon/verify-crypt.c, daemon-verify-shadow.c:
151
Cleaned up the gdm_verify_user and gdm_verify_setup_user functions
152
so they do not take the display and local arguments. Since these
153
values are already in the GdmDisplay structure that is passed in,
154
the code is cleaner just to access the values directly from the
155
GdmDisplay structure.
156
* daemon/gdm.c: If gdm_get_current_vt returns -1, return error
158
* daemon/gdm.c, daemon/slave.c: No longer use di_devperm functions to
159
set device ownership to the gdm user. Instead use setfacl to do the
160
same with ACL. This is cleaner and now that VT's are working on
161
Solaris, the di_devperm functions are not an appropriate way to get
164
2007-06-18 Juerg Billeter <j@bitron.ch>
166
* daemon/gdm-daemon-config.c: Initialize lang variable to avoid
167
accessing a random chunk of memory. Fixes bug #448689.
1
169
2007-06-17 Brian Cameron <brian.cameron@sun.com>
9
177
2007-06-17 Brian Cameron <brian.cameron@sun.com>
11
179
* acconfig.h, configure.ac, daemon/gdm.c, daemon/getvt.[ch],
12
utils/gdmopen.c: Now support VT on Solaris (at the moment
13
only available in Nevada development builds). I cleaned
14
up the code to better use #defines so we set whether we
15
support VT in daemon/getvt.h rather than using complicated
16
#ifdefs in many places. Also now detect if sys/vt.h is
17
available in configure.ac and only enable VT if it is
18
present. This ensures GDM builds okay on older versions
19
of Solaris without this interface.
180
utils/gdmopen.c: Now support VT on Solaris (at the moment only
181
available in Nevada development builds). I cleaned up the code to
182
better use #defines so we set whether we support VT in
183
daemon/getvt.h rather than using complicated #ifdefs in many places.
184
Also now detect if sys/vt.h is available in configure.ac and only
185
enable VT if it is present. This ensures GDM builds okay on older
186
versions of Solaris without this interface.
21
188
2007-06-17 Brian Cameron <brian.cameron@sun.com>
23
* daemon/gdm-xdmcp-manager.c: Change string to say XDMCP instead
24
of XMCP or XMDCP. Fixes bugs #448547 and #448548.
190
* daemon/gdm-xdmcp-manager.c: Change string to say XDMCP instead of
191
XMCP or XMDCP. Fixes bugs #448547 and #448548.
26
193
2007-06-11 Brian Cameron <brian.cameron@sun.com>
28
* daemon/verify-pam.c: Do not call logindevperm logic when
29
logging into XNEST sessions since we don't want to change
30
device permissions for xnest sessions, only for the real
195
* daemon/verify-pam.c: Do not call logindevperm logic when logging
196
into XNEST sessions since we don't want to change device permissions
197
for xnest sessions, only for the real console session.
33
199
2007-06-08 Frederic Crozat <fcrozat@mandriva.com>
35
+ gui/greeter/greeter_parser.c: (parse_label): Ensure a non
36
null size is set by default for pango font description.
201
+ gui/greeter/greeter_parser.c: (parse_label): Ensure a non null size
202
is set by default for pango font description.
38
204
2007-06-05 Brian Cameron <brian.cameron@sun.com>
40
206
* daemon/display.[ch], daemon/gdm-xdmcp-manager.c, daemon/slave.c:
41
207
Now GDM sets WINDOWPATH so that AT programs such as braille
42
displays can work better with Xnest and sessions started via
43
VT. Fixes enhancement request #443557. Patch by Samuel
44
Thibault <samuel.thibault@ens-lyon.org>
46
2007-06-04 Brian Cameron <brian.cameron@sun.com>
48
* docs/C/gdm.xml: While reviewing bug #440498, I updated the
49
docs that explain the new background property so it makes
208
displays can work better with Xnest and sessions started via VT.
209
Fixes enhancement request #443557. Patch by Samuel Thibault
210
<samuel.thibault@ens-lyon.org>
52
212
2007-06-04 Brian Cameron <brian.cameron@sun.com>
55
215
* configure.ac: Updated to new version number.
57
* docs/C/gdm.xml: Rewrote the "gdmdynamic Command Line Options"
58
section to fix a problem with xml2po crashing while trying to
59
process the file. This problem was caused because some of the
60
<varlistentry> items did not have values for the <term> tag,
61
which seemed to make xml2po unhappy. Rewording this section
62
avoids this problem. Updated to the new release version.
63
* gui/gdmflexiserver-xnest-desktop.in.in: Change Name and
64
Comment from "New Login in a Nested Window" to
65
"New Login in a Window" since the usability team determined
66
that most users don't understand what "nested" means. The new
67
string is more easy to understand to most non-technical users.
217
* gui/gdmflexiserver-xnest-desktop.in.in: Change Name and Comment
218
from "New Login in a Nested Window" to "New Login in a Window"
219
since the usability team determined that most users do not
220
understand what "nested" means. The new string is more easy to
221
understand to most non-technical users.
69
223
2007-06-04 Brian Cameron <brian.cameron@sun.com>
71
225
* gui/Makefile.am, gui/greeter/Makefile.am: Add -lfontconfig to
72
programs that link against gui/libgdmcommon.a since it now
73
contains FontConfig code, due to fix for bug #426653. On
74
Solaris it is necessary to not link libraries implicitely.
226
programs that link against gui/libgdmcommon.a since it now contains
227
FontConfig code, due to fix for bug #426653. On Solaris it is
228
necessary to not link libraries implicitely.
76
230
2007-06-04 Lukasz Zalewski <lukas@dcs.qmul.ac.uk>
78
* gui/greeter/greeter_item.c: (greeter_item_is_visible):
79
Changed the way CustomCommandX are handled. Fixes bug #442355
80
* gui/greeter/greeter_parser.c: (parse_stock):
81
Code cleanup regarding CustomCommands.
232
* gui/greeter/greeter_item.c: (greeter_item_is_visible): Changed
233
the way CustomCommandX are handled. Fixes bug #442355
234
* gui/greeter/greeter_parser.c: (parse_stock): Code cleanup
235
regarding CustomCommands.
82
236
* gui/greeter/greeter.c:
85
More code cleanup regarding CustomCommands
238
* daemon/gdm.c: More code cleanup regarding CustomCommands
87
240
2007-06-04 Brian Cameron <brian.cameron@sun.com>
89
* gui/gdmlogin.c: Set invisible character to '*' if the
90
configuration file doesn't specify to use invisible or
91
circles. Fixes bug #439089. Patch by Sebastien Bacher
94
2007-06-04 Brian Cameron <brian.cameron@sun.com>
96
* gui/gdmuser.c: Prune users out of the user list if their
97
shell is /sbin/nologin, /bin/true, or /bin/false. Patch
98
by Ray Strode <rstrode@redhat.com>. Fixes bug #438682.
100
2007-06-04 Brian Cameron <brian.cameron@sun.com>
102
* gui/gdmlogin.c, gui/greeter/greeter_item_pam.c: No longer
103
accept Tab as Enter, backing out fix for bug #127339. For
104
a11y purposes, it is better to be able to let users navigate
105
to other widgets via the Tab key. Patch by Patrick Wade
106
<Patrick.Wade@sun.com> and by myself. This fixes bug
242
* gui/gdmlogin.c: Set invisible character to '*' if the configuration
243
file does not specify to use invisible or circles. Fixes bug
244
#439089. Patch by Sebastien Bacher <seb128@debian.org>.
246
2007-06-04 Brian Cameron <brian.cameron@sun.com>
248
* gui/gdmuser.c: Prune users out of the user list if their shell is
249
/sbin/nologin, /bin/true, or /bin/false. Patch by Ray Strode
250
<rstrode@redhat.com>. Fixes bug #438682.
252
2007-06-04 Brian Cameron <brian.cameron@sun.com>
254
* gui/gdmlogin.c, gui/greeter/greeter_item_pam.c: No longer accept Tab
255
as Enter, backing out fix for bug #127339. For a11y purposes, it is
256
better to be able to let users navigate to other widgets via the Tab
257
key. Patch by Patrick Wade <Patrick.Wade@sun.com> and by myself.
258
This fixes bug #433495.
109
260
2007-06-04 Brian Cameron <brian.cameron@sun.com>
180
320
* Release 2.19.1:
181
321
* configure.ac: Updated to new version number.
183
* docs/C/gdm.xml: Updated to new release version
184
* README.install: Minor update to Solaris recommended
323
* README.install: Minor update to Solaris recommended configuration.
187
325
2007-05-11 Brian Cameron <brian.cameron@sun.com>
189
* config/Xsession.in: Remove failsafe logic since it is
190
no longer used. The gnome-session-start function in slave.c
191
starts the xterm directly. But when that change was made,
192
this cruft was not removed.
327
* config/Xsession.in: Remove failsafe logic since it is no longer
328
used. The gnome-session-start function in slave.c starts the xterm
329
directly. But when that change was made, this cruft was not removed.
194
331
2007-05-11 Brian Cameron <brian.cameron@sun.com>
196
333
* acconfig.h, configure.ac, daemon/slave.c,
197
334
gui/modules/keymouselistener.c,
198
gui/modules/dwellmouselistener.c: Add ctrun support which
199
can be enabled via --with-ctrun. This is a Solaris only
200
feature that is required because GDM is started via svcadm(1M)
201
service. Child processes (such as the session, scripts, and
202
AT programs) need to separate themselves from the service so
203
that if any subprocess core-dumps it doesn't cause a GDM
204
restart. I also cleaned up the logic in gnome-session-start
205
a lot by using a GString and appending the command to it.
206
This makes things cleaner since the command is affected by
207
ctrun and Trusted Solaris. The previous approach of setting
208
argv directly was a mess. This makes this function far more
335
gui/modules/dwellmouselistener.c: Add ctrun support which can be
336
enabled via --with-ctrun. This is a Solaris only feature that is
337
required because GDM is started via svcadm(1M) service. Child
338
processes (such as the session, scripts, and AT programs) need to
339
separate themselves from the service so that if any subprocess
340
core-dumps it doesn't cause a GDM restart. I also cleaned up the
341
logic in gnome-session-start a lot by using a GString and appending
342
the command to it. This makes things cleaner since the command is
343
affected by ctrun and Trusted Solaris. The previous approach of
344
setting argv directly was a mess. This makes this function far more
211
347
2007-05-11 Brian Cameron <brian.cameron@sun.com>
213
* daemon/gdm-daemon-config.c: Fix gdm_daemon_check_permissions
214
so it updates the permissions for the SERV_AUTHDIR directory
215
not the LOGDIR directory. This bug was introduced when the
216
config logic was rewritten.
349
* daemon/gdm-daemon-config.c: Fix gdm_daemon_check_permissions so it
350
updates the permissions for the SERV_AUTHDIR directory not the
351
LOGDIR directory. This bug was introduced when the config logic
218
354
2007-05-10 Brian Cameron <brian.cameron@sun.com>
220
356
* daemon/slave.c: Fix handling of AlwaysLoginCurrentSession and
221
DoubleLoginWarning so it works for the non-migratable case
222
(for Xnest, XDMCP, etc.). Fixes bug #435552.
357
DoubleLoginWarning so it works for the non-migratable case (for
358
Xnest, XDMCP, etc.). Fixes bug #435552.
224
360
2007-05-10 Brian Cameron <brian.cameron@sun.com>
229
365
2007-05-09 Brian Cameron <brian.cameron@sun.com>
231
* configure.ac: Fix check for Xserver to work on Solaris
234
2007-05-09 Brian Cameron <brian.cameron@sun.com>
236
* configure.ac: Fix check for Xserver to work for Debian
237
and Ubuntu. Fixes bug #436879. Patch by Lo\357c Minier
238
<lool+gnome@via.ecp.fr>
240
2007-05-09 Brian Cameron <brian.cameron@sun.com>
242
* daemon/misc.c: In gdm_fdgetc must used an unsigned char
243
buffer here because the GUI sends username/password data
244
as utf8 and the daemon will interpret any character sent
245
with its high bit set as EOF unless we used unsigned here.
246
Patch by Lo\357c Minier <lool+gnome@via.ecp.fr>
248
2007-05-09 Brian Cameron <brian.cameron@sun.com>
250
* daemon/slave.c: No longer unset MAIL when starting a user
251
session. Now set PWD before starting a user session which
252
fixes problems when the user's $HOME directory is a symlink.
253
Fixes bug #436803. Patch by Lo\357c Minier
254
<lool+gnome@via.ecp.fr>
256
2007-05-08 Brian Cameron <brian.cameron@sun.com>
258
* docs/gdm.1: Now refer to full documentation in
259
"Applications / System Tools" section rather than
260
"GNOME / System". Fixes bug #436807. Patch by
261
Lo\357c Minier <lool+gnome@via.ecp.fr>
367
* configure.ac: Fix check for Xserver to work on Solaris also.
369
2007-05-09 Brian Cameron <brian.cameron@sun.com>
371
* configure.ac: Fix check for Xserver to work for Debian and Ubuntu.
372
Fixes bug #436879. Patch by Lo\357c Minier <lool+gnome@via.ecp.fr>
374
2007-05-09 Brian Cameron <brian.cameron@sun.com>
376
* daemon/misc.c: In gdm_fdgetc must used an unsigned char buffer here
377
because the GUI sends username/password data as utf8 and the daemon
378
will interpret any character sent with its high bit set as EOF
379
unless we used unsigned here. Patch by Lo\357c Minier
380
<lool+gnome@via.ecp.fr>
382
2007-05-09 Brian Cameron <brian.cameron@sun.com>
384
* daemon/slave.c: No longer unset MAIL when starting a user session.
385
Now set PWD before starting a user session which fixes problems when
386
the user's $HOME directory is a symlink. Fixes bug #436803. Patch
387
by Lo\357c Minier <lool+gnome@via.ecp.fr>
263
389
2007-05-08 Loļæ½c Minier <lool@dooz.org>
300
425
2007-05-01 Brian Cameron <brian.cameron@sun.com>
302
427
* daemon/gdm-daemon-config.c: Fix return of
303
gdm_daemon_config_update_key so that it returns TRUE when the
304
key is valid and FALSE when the key is not valid. This fixes
305
the UPDATE_CONFIG command so it doesn't return an error message
306
saying it didn't recognize the key, when it fact it is a valid
307
key. Also fixed "xdmcp/PARAMETERS" so we check return codes
308
more nicely. Fixes bug #428657.
428
gdm_daemon_config_update_key so that it returns TRUE when the key is
429
valid and FALSE when the key is not valid. This fixes the
430
UPDATE_CONFIG command so it doesn't return an error message saying
431
it didn't recognize the key, when it fact it is a valid key. Also
432
fixed "xdmcp/PARAMETERS" so we check return codes more nicely.
310
435
2007-05-01 Brian Cameron <brian.cameron@sun.com>
312
437
* daemon/display.[ch], daemon/server.[ch], daemon/gdm.c,
313
438
daemon/gdm-daemon-config.c: Rename gdm_server_alloc to
314
gdm_display_alloc since this function really initializes
315
this display structure and belonds in display.c rather
439
gdm_display_alloc since this function really initializes this
440
display structure and belonds in display.c rather than in server.c.
318
442
2007-05-01 Brian Cameron <brian.cameron@sun.com>
320
444
* daemon/display.[ch], daemon/server.c, daemon/slave.c,
321
daemon/gdm-daemon-config.[ch], docs/C/gdm.xml: Add optional
322
X-Gdm-XserverArgs key to the GDM desktop files. If this is
323
set in the desktop file, then GDM will restart the Xserver
324
with the additional arguments specified. This allows
325
people to create sessions that require special Xserver
326
flags (e.g. for accessibility or to use a session that
327
requires special Xserver extensions to be turned on, etc.)
328
This implements enhancement request #326771. Patch by Ron
329
Yorston <rmy@tigress.co.uk>. I had to rework the patch
330
quite a bit to get it to compile against the latest code.
331
Also added a test so that any such extra arguments are
332
*not* used when using Xnest since this "restarting"
333
feature does not work with Xnest.
445
daemon/gdm-daemon-config.[ch]: Add optional X-Gdm-XserverArgs key to
446
the GDM desktop files. If this is set in the desktop file, then GDM
447
will restart the Xserver with the additional arguments specified.
448
This allows people to create sessions that require special Xserver
449
flags (e.g. for accessibility or to use a session that requires
450
special Xserver extensions to be turned on, etc.) This implements
451
enhancement request #326771. Patch by Ron Yorston
452
<rmy@tigress.co.uk>. I had to rework the patch quite a bit to get it
453
to compile against the latest code. Also added a test so that any
454
such extra arguments are *not* used when using Xnest since this
455
"restarting" feature does not work with Xnest.
334
456
* daemon/gdm.c: Minor cleanup.
336
2007-05-01 Brian Cameron <brian.cameron@sun.com>
338
* docs/C/gdm.xml: Improve docs for new "background" feature.
340
458
2007-05-01 Changwoo Ryu <cwryu@debian.org>
342
460
* configure.ac: Remove docs/ko/Makefile output for gnome-doc-utils
457
574
daemon/gdm-daemon-config-entries.h, daemon/gdm-daemon-config-keys.h,
458
575
gui/Makefile.am, gui/gdmlogin.c, gui/greeter/Makefile.am,
459
576
gui/greeter/greeter.c, gui/greeter/greeter_system.c,
460
config/Makefile.am, config/gdm.conf.in, docs/C/gdm.xml: Add
461
RBAC support and allow more configuration on how the System
462
Commands are handled. This includes adding the SystemCommandsInMenu
463
option to specify which commands show up in the greeter menu and
464
the AllowLogoutActions to specify which system commands are supported
465
via the QUERY_LOGOUT_ACTION, SET_LOGOUT_ACTION, and
466
SET_SAFE_LOGOUT_ACTION gdmflexiserver commands. Also add the
467
RBACSystemCommandKeys option so that RBAC can be configured in a
468
generic way for each system command. The configure.ac script sets
469
up this key properly for Solaris. Add RBAC section to the Security
470
section of the docs and info about the three new configuration
471
options. This fixes bug #372738. Note that the gdmflexiserver
577
config/Makefile.am, config/gdm.conf.in: Add RBAC support and allow
578
more configuration on how the System Commands are handled. This
579
includes adding the SystemCommandsInMenu option to specify which
580
commands show up in the greeter menu and the AllowLogoutActions to
581
specify which system commands are supported via the
582
QUERY_LOGOUT_ACTION, SET_LOGOUT_ACTION, and SET_SAFE_LOGOUT_ACTION
583
gdmflexiserver commands. Also add the RBACSystemCommandKeys option
584
so that RBAC can be configured in a generic way for each system
585
command. The configure.ac script sets up this key properly for
586
Solaris. This fixes bug #372738. Note that the gdmflexiserver
472
587
QUERY_LOGOUT_ACTION, SET_LOGOUT_ACTION, and SET_SAFE_LOGOUT_ACTION
473
588
were broken after William Jon McCann's config cleanup, so I fixed
906
1018
Add a few convenience functions to gdm-config for get/set by ID.
907
1019
Patch from bug #376010
909
2006-04-02 Brian Cameron <brian.cameron@sun.com>
911
* configure.ac, po/POTFILES.skip, gui/Makefile.am,
912
gui/gdmflexiserver-xnest.desktop.in.in: Now specify
913
TryExec based on actual Nested Xserver command used.
914
* gui/gdmflexiserver-xnest.desktop.in: Remove, now
915
generated from in.in file.
917
2006-04-02 Brian Cameron <brian.cameron@sun.com>
919
* docs/C/gdm.xml: Add comment about XDMCP troubleshooting.
921
2006-04-02 Brian Cameron <brian.cameron@sun.com>
1021
2007-04-02 Brian Cameron <brian.cameron@sun.com>
1023
* configure.ac, gui/Makefile.am,
1024
gui/gdmflexiserver-xnest.desktop.in.in: Now specify TryExec based
1025
on actual Nested Xserver command used.
1026
* gui/gdmflexiserver-xnest.desktop.in: Remove, now generated from
1029
2007-04-02 Brian Cameron <brian.cameron@sun.com>
923
1031
* gui/gdmsetup.c: Only show tar and compressed tar files in
924
1032
file chooser for selecting gdmgreeter themes to install.
925
1033
Fixes bug #422297. Patch by Kristof Vansant
926
1034
<de_lupus@pandora.be>.
928
2006-04-02 Brian Cameron <brian.cameron@sun.com>
1036
2007-04-02 Brian Cameron <brian.cameron@sun.com>
930
1038
* gui/gdmlanguages.c: Remove needless include.
932
2006-04-02 Brian Cameron <brian.cameron@sun.com>
1040
2007-04-02 Brian Cameron <brian.cameron@sun.com>
934
1042
* gui/gdmchooser.glade, gui/gdmsetup.glade, gui/gdmsetup.c:
935
1043
Remove gnome glade, since it is not used anymore. Fixes
936
1044
bug #424696. Patch by Kristof Vansant <de_lupus@pandora.be>.
938
2006-04-02 Brian Cameron <brian.cameron@sun.com>
1046
2007-04-02 Brian Cameron <brian.cameron@sun.com>
940
1048
* gui/gdmlanguages.c: Fix strcpy so source and destination do not
941
1049
overlap. Fixes bug #424299. Patch by Ray Strode
942
1050
<rstrode@redhat.com>.
944
2006-04-02 Brian Cameron <brian.cameron@sun.com>
1052
2007-04-02 Brian Cameron <brian.cameron@sun.com>
946
1054
* daemon/gdm.h, daemon/slave.c, daemon/misc.c, gui/gdmlogin.c,
947
1055
gui/gdmlanguages.[ch], gui/greeter/Makefile.am,
1269
1355
* common/ve-signal.h:
1270
1356
Added new files missed from commit for #355425
1272
2006-03-20 Brian Cameron <brian.cameron@sun.com>
1358
2007-03-20 Brian Cameron <brian.cameron@sun.com>
1274
1360
* gui/gdmsetup.desktop.in.in, gui/gdmphotoseutp.desktop.in:
1275
1361
Change to category "GNOME;GTK;Settings;System;". Fixes bug
1278
2006-03-20 Brian Cameron <brian.cameron@sun.com>
1364
2007-03-20 Brian Cameron <brian.cameron@sun.com>
1280
1366
* configure.ac: Bump to 2.19.0.
1282
2006-03-20 Brian Cameron <brian.cameron@sun.com>
1284
* docs/es/gdm.xml, docs/uk/gdm.xml: Remove generated files.
1286
2006-03-20 Brian Cameron <brian.cameron@sun.com>
1368
2007-03-20 Brian Cameron <brian.cameron@sun.com>
1288
1370
* configure.ac, gui/greeter/greeter_item.[ch],
1289
gui/greeter/greeter_parser.c, docs/C/gdm.xml: Add
1290
min-screen-height tag to parser so that certain
1291
elements in the theme will only display if the
1292
screen is large enough. Patch by Ray Strode.
1293
<rstrode@redhat.com>. Enhancement #420610.
1371
gui/greeter/greeter_parser.c: Add min-screen-height tag to parser
1372
so that certain elements in the theme will only display if the screen
1373
is large enough. Patch by Ray Strode. <rstrode@redhat.com>.
1374
Enhancement #420610.
1295
2006-03-20 Brian Cameron <brian.cameron@sun.com>
1376
2007-03-20 Brian Cameron <brian.cameron@sun.com>
1297
1378
* gui/gdmphotosetup.desktop.in: Add NotShowIn=GNOME; to
1298
1379
gdmphotosetup.desktop.in since the About-Me capplet is
1299
1380
used for configuring the user's face image in GNOME.
1301
2006-03-20 Brian Cameron <brian.cameron@sun.com>
1382
2007-03-20 Brian Cameron <brian.cameron@sun.com>
1302
1383
* configure.ac, autogen.sh, gui/gdmlanguages.c, gui/gdmconfig.h
1303
1384
gui/gdmuser.c, gui/gdmwm.c, gui/gdmdynamic.c, gui/gdmlogin.c,
1304
1385
gui/gdmphotosetup.c, gui/gdmsession.c, gui/gdmXnestchooser.c,
1508
1586
* Makefile.am: Dist MAINTAINERS
1510
2006-02-15 Brian Cameron <brian.cameron@sun.com>
1588
2007-02-15 Brian Cameron <brian.cameron@sun.com>
1512
1590
* config/PostSession.in: Remove call to sessionexit
1513
1591
script since I need to do further research to make
1514
1592
sure this is needed.
1516
2006-02-14 Brian Cameron <brian.cameron@sun.com>
1594
2007-02-14 Brian Cameron <brian.cameron@sun.com>
1518
1596
* gui/gdmdynamic.c: Fix comparison with string literal.
1519
1597
Fix by Hans Petter Jansson <hpj@novell.com>. Fixes
1522
2006-02-13 Brian Cameron <brian.cameron@sun.com>
1600
2007-02-13 Brian Cameron <brian.cameron@sun.com>
1524
1602
* config/PostSession.in: Call sessionexit script if
1525
1603
running on Solaris.
1526
1604
* configure.ac, config/gnome.desktop.in.in: Now set
1527
1605
Exec/TryExec to /usr/dt/config/Xsession.jds for
1529
* po/POTFILES.in, po/POTFILES.skip: Update to reflect
1530
the move of gnome.desktop.in to gnome.desktop.in.in.
1532
2006-02-12 Brian Cameron <brian.cameron@sun.com>
1608
2007-02-12 Brian Cameron <brian.cameron@sun.com>
1534
1610
* Release 2.17.7:
1535
1611
* configure.ac: Update to new release version.
1536
1612
* NEWS: Updated.
1537
* docs/C/gdm.xml: Update version number.
1539
1614
2007-02-09 Brian Cameron <brian.cameron@sun.com>
1541
* docs/C/gdm.xml, daemon/display.c, dameon/gdm.[ch],
1542
daemon/server.c, daemon/slave.c: Add sockets command to start
1543
login procedure, to be used by gnome-screensaver and Fast User
1544
Switch applet. Fixes enhancement request #335786. Patch by
1545
Matthias Clasen <mclasen@redhat.com>.
1616
* daemon/display.c, dameon/gdm.[ch], daemon/server.c, daemon/slave.c:
1617
Add sockets command to start login procedure, to be used by
1618
gnome-screensaver and Fast User Switch applet. Fixes enhancement
1619
request #335786. Patch by Matthias Clasen <mclasen@redhat.com>.
1547
1621
2007-02-08 Brian Cameron <brian.cameron@sun.com>
3608
3567
<dominique.hazael-massieux@centraliens.net> with some help from me
3609
3568
getting the configure/Makefile stuff working.
3611
* configure.ac, config/Makefile.am, docs/C/gdm.xml, utils/Makefile.am:
3612
Add support for --enable-secureremote
3570
* configure.ac, config/Makefile.am, utils/Makefile.am: Add support
3571
for --enable-secureremote
3613
3572
* config/ssh.desktop.in, utils/gdm-ssh-session: Added desktop file
3614
3573
and gdm-ssh-session script to support secure remote login.
3616
3575
2006-01-11 Brian Cameron <brian.cameron@sun.com>
3618
3577
* daemon/verify-crypt.c, daemon/verify-pam.c, daemon/verify-shadow.c,
3619
docs/C/gdm.xml, gui/greeter/greeter_parser.c: Change the
3620
"Please make sure the Caps Lock key is not enabled." message to
3621
the more informational "Caps Lock is on.". Some users may want to
3622
use Caps Lock when logging in.
3624
2006-01-11 Brian Cameron <brian.cameron@sun.com>
3626
* gui/gdmlogin.c, gui/greeter/greeter_system.c, docs/C/gdm.xml: Use
3627
"Shut Down" instead of "Shut down" or "shut down".
3629
2006-01-11 Brian Cameron <brian.cameron@sun.com>
3631
* daemon/slave.c, docs/C/gdm.xml, gui/greeter/greeter_parser.c:: Rename
3632
"shutdown" to "shut down" or "halt" and rename "capslock" to
3633
"Caps Lock" since these are the recommended wordings suggested by
3634
Calum Benson. Also corrected a few errors in the stock labels.
3578
gui/greeter/greeter_parser.c: Change the "Please make sure the Caps
3579
Lock key is not enabled." message to the more informational "Caps
3580
Lock is on.". Some users may want to use Caps Lock when logging in.
3582
2006-01-11 Brian Cameron <brian.cameron@sun.com>
3584
* gui/gdmlogin.c, gui/greeter/greeter_system.c: Use "Shut Down"
3585
instead of "Shut down" or "shut down".
3587
2006-01-11 Brian Cameron <brian.cameron@sun.com>
3589
* daemon/slave.c, gui/greeter/greeter_parser.c: Rename "shutdown" to
3590
"shut down" or "halt" and rename "capslock" to "Caps Lock" since
3591
these are the recommended wordings suggested by Calum Benson. Also
3592
corrected a few errors in the stock labels.
3636
3594
2006-01-11 Brian Cameron <brian.cameron@sun.com>
11601
11320
2002-03-05 jacob berkman <jacob@ximian.com>
11603
11322
* gui/Makefile.am (gdmchooser_LDADD):
11605
11324
* gui/greeter/Makefile.am (gdmgreeter_LDADD): add $(X_LIBS) and
11608
11327
* configure.in: fix some quoting, and add $(X_LIBS) and
11609
$(X_EXTRA_LIBS) to the Xinerama and Xdmcp checks, since GTK
11610
doesn't export them any more
11328
$(X_EXTRA_LIBS) to the Xinerama and Xdmcp checks, since GTK
11329
doesn't export them any more
11612
11331
* daemon/Makefile.am (gdm_LDADD): add $(X_LIBS) and -lXext since
11613
GTK doesn't export them any more
11332
GTK doesn't export them any more
11615
11334
2002-03-01 Havoc Pennington <hp@redhat.com>
11617
11336
* config/locale.alias: remove broken generic "english" entry
11618
(created invalid LANG). Only have en_US and en_GB.
11337
(created invalid LANG). Only have en_US and en_GB.
11620
11339
2002-02-18 Gediminas Paulauskas <menesis@delfi.lt>
11622
11341
* configure.in: remove non-existing GNOME_PLATFORM_GNOME_2
11623
fix GNOME_COMPILE_WARNINGS for latest gnome-common.
11342
fix GNOME_COMPILE_WARNINGS for latest gnome-common.
11625
11344
2002-02-10 Abel Cheung <maddog@linux.org.hk>
11627
11346
* daemon/verify-shadow.c (gdm_verify_user): Synced string
11628
with that of verify-pam.c, to avoid translating virtually
11629
equivalent strings.
11347
with that of verify-pam.c, to avoid translating virtually
11348
equivalent strings.
11631
11350
Fri Feb 8 19:40:07 2002 Jonathan Blandford <jrb@redhat.com>
11633
11352
* gui/greeter/greeter_action_language.c
11634
(greeter_langauge_initialize_model): use the right column.
11353
(greeter_langauge_initialize_model): use the right column.
11636
11355
Fri Feb 8 17:33:20 2002 Jonathan Blandford <jrb@redhat.com>
11638
11357
* gui/greeter/greeter_action_language.c (greeter_action_language):
11639
first cut at language selection.
11358
first cut at language selection.
11641
11360
2002-02-07 Alex Larsson <alexl@redhat.com>
11643
11362
* gui/greeter/Makefile.am (INCLUDES):
11644
Fix for building with srcdir != builddir.
11363
Fix for building with srcdir != builddir.
11646
11365
2002-02-07 Alex Larsson <alexl@redhat.com>
11648
11367
* gui/gdmlogin.c:
11649
Set the cursor on the root window.
11368
Set the cursor on the root window.
11651
11370
2002-02-07 Alex Larsson <alexl@redhat.com>
11653
11372
* configure.in:
11654
Remove libgnomeui from greeter libs.
11373
Remove libgnomeui from greeter libs.
11656
11375
* gui/gdmwm.c:
11657
Comment out unused bonobo_dock_item_grab_pointer()
11658
that forces greeter to pull in libgnomeui.
11376
Comment out unused bonobo_dock_item_grab_pointer()
11377
that forces greeter to pull in libgnomeui.
11660
11379
* gui/gdmwm.h:
11661
Don't include libgnomeui.h
11380
Don't include libgnomeui.h
11663
11382
* gui/greeter/greeter.c:
11666
11385
2002-02-06 Alex Larsson <alexl@redhat.com>
11668
11387
* gui/greeter/Makefile.am:
11669
Add greeter_session.[ch].
11388
Add greeter_session.[ch].
11671
11390
* gui/greeter/greeter.[ch]:
11672
11391
* gui/greeter/greeter_configuration.h:
11673
Hook up session code.
11674
Read more config settings.
11675
Export greeter_message(), greeter_query()
11676
and greeter_abort()
11392
Hook up session code.
11393
Read more config settings.
11394
Export greeter_message(), greeter_query()
11395
and greeter_abort()
11678
11397
* gui/greeter/greeter_item_pam.[ch]:
11679
New function greeter_item_pam_set_user().
11680
Export greeter_current_user.
11681
add is_login argument to greeter_item_pam_prompt().
11398
New function greeter_item_pam_set_user().
11399
Export greeter_current_user.
11400
add is_login argument to greeter_item_pam_prompt().
11683
11402
* gui/greeter/greeter_system.c:
11684
Move greeter_query to greeter.c
11403
Move greeter_query to greeter.c
11686
11405
* gui/greeter/themes/circles/circles.xml:
11687
Test the session code.
11406
Test the session code.
11689
11408
2002-02-06 jacob berkman <jacob@ximian.com>
11691
11410
* gui/greeter/Makefile.am (gdmgreeter_SOURCES): add greeter.h
11693
11412
* gui/greeter/themes/circles/Makefile.am (EXTRA_DIST): add
11696
11415
2002-02-05 Alex Larsson <alexl@redhat.com>
11698
11417
* gui/greeter/greeter.c:
11699
11418
* gui/greeter/greeter_configuration.h:
11700
Add use_circles_in_entry option.
11419
Add use_circles_in_entry option.
11702
11421
* gui/greeter/greeter_canvas_item.c:
11703
Call gtk_entry_set_invisible_char() if
11704
greeter_use_circles_in_entry is set.
11422
Call gtk_entry_set_invisible_char() if
11423
greeter_use_circles_in_entry is set.
11706
11425
* gui/greeter/greeter_item_pam.c:
11707
More pam conversation work.
11426
More pam conversation work.
11709
11428
* gui/greeter/themes/circles/circles.xml:
11710
Change Help to System, because Help didn't
11711
do anything, and we want to be able to test
11713
Move the pam conversation items around to
11714
a nicer positioning.
11429
Change Help to System, because Help didn't
11430
do anything, and we want to be able to test
11432
Move the pam conversation items around to
11433
a nicer positioning.
11716
11435
2002-02-05 Karsten Weiss <knweiss@gmx.de>
11718
11437
* daemon/gdm.c, daemon/slave.c, gui/gdmconfig.c:
11719
Uppercase spelling for "XDMCP" in user-visible strings.
11438
Uppercase spelling for "XDMCP" in user-visible strings.
11721
11440
2002-02-05 Abel Cheung <maddog@linux.org.hk>
11773
11492
2002-01-30 Alex Larsson <alexl@redhat.com>
11775
11494
* configure.in:
11776
Add new makefiles to output.
11495
Add new makefiles to output.
11778
11497
* gui/greeter/Makefile.am:
11780
Add config file and theme dir defines.
11781
Add greeter_configuration.h
11499
Add config file and theme dir defines.
11500
Add greeter_configuration.h
11783
11502
* gui/greeter/greeter.c:
11784
Parse config options.
11785
Handle theme data search path.
11503
Parse config options.
11504
Handle theme data search path.
11787
11506
* gui/greeter/greeter_parser.[ch]:
11788
Handle theme data search path.
11507
Handle theme data search path.
11790
11509
* gui/themes/*:
11791
11510
* gui/themes/circles/*:
11792
Checking in theme data.
11511
Checking in theme data.
11794
11513
2002-01-29 Alex Larsson <alexl@redhat.com>
11796
11515
* gui/greeter/greeter_canvas_item.c:
11797
Remove old anchor leftovers.
11798
Set font_desc instead of font for text items.
11516
Remove old anchor leftovers.
11517
Set font_desc instead of font for text items.
11800
11519
* gui/greeter/greeter_geometry.c:
11801
Set font_desc instead of font for text items.
11520
Set font_desc instead of font for text items.
11803
11522
2002-01-29 Alex Larsson <alexl@redhat.com>
11805
11524
* gui/greeter/Makefile.am:
11806
Add WARN_CFLAGS to INCLUDES.
11525
Add WARN_CFLAGS to INCLUDES.
11809
11528
* gui/greeter/greeter.c:
11810
Call greeter_layout() from main().
11529
Call greeter_layout() from main().
11812
11531
* gui/greeter/greeter_canvas_item.c:
11813
Change anchor handling. Now it's done manually by
11814
greeter_geometry.c for everything but labels.
11532
Change anchor handling. Now it's done manually by
11533
greeter_geometry.c for everything but labels.
11816
11535
* gui/greeter/greeter_geometry.[ch]:
11819
11538
* gui/greeter/greeter_parser.c:
11820
11539
* gui/greeter/greeter_item.h:
11821
Add expand property to items
11540
Add expand property to items
11824
11543
2002-01-29 Alexander Larsson <alla@lysator.liu.se>
11826
11545
* gui/greeter/Makefile.am:
11829
11548
* gui/greeter/greeter.c:
11830
Update to get the root GreeterItemInfo.
11549
Update to get the root GreeterItemInfo.
11832
11551
* gui/greeter/greeter_item.[ch]:
11833
Make items keep track of their parent.
11834
Add orig_pixbufs[].
11835
Add box_min_width/height and size allocation stuff
11552
Make items keep track of their parent.
11553
Add orig_pixbufs[].
11554
Add box_min_width/height and size allocation stuff
11837
11556
* gui/greeter/greeter_parser.[ch]:
11838
Rename homogenous to homogeneous.
11839
Parse box min-width/height
11840
Load pixmaps to orig_pixbufs[]
11841
Keep track of items parents
11842
Create root item info
11557
Rename homogenous to homogeneous.
11558
Parse box min-width/height
11559
Load pixmaps to orig_pixbufs[]
11560
Keep track of items parents
11561
Create root item info
11844
11563
* gui/greeter/greeter_canvas_item.[ch]:
11845
11564
* gui/greeter/greeter_geometry.[ch]:
11846
New files. Not used yet.
11565
New files. Not used yet.
11848
11567
Mon Jan 21 19:14:28 2002 George Lebl <jirka@5z.com>
15291
14879
1999-07-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
15293
14881
* gui/gdmchooser.c (gdm_chooser_gui_init): Set the scrollbar
15294
adjustment properly.
14882
adjustment properly.
15296
14884
1999-06-30 <mkp@mkp.net>
15298
14886
* daemon/xdmcp.c (gdm_xdmcp_handle_forward_query): First shot at
15299
implementing FORWARD_QUERY. gdm supports being chosen from remote
15300
hosts now, but still doesn't provide chooser functionality itself.
14887
implementing FORWARD_QUERY. gdm supports being chosen from remote
14888
hosts now, but still doesn't provide chooser functionality itself.
15302
14890
1999-06-29 <mkp@mkp.net>
15304
14892
* daemon/verify.c (gdm_verify_user): Transfer PAM environment to
15305
user session (Suggested by nalin@thermo.stat.ncsu.edu)
14893
user session (Suggested by nalin@thermo.stat.ncsu.edu)
15307
14895
1999-05-14 Jacob Berkman <jberk+@cmu.edu>
15309
14897
* gui/gdmlogin.c (gdm_parse_enriched_string): added support
15310
for processor type for Welcome text
15311
* docs/gdm-manual.txt: added entry for %m
14898
for processor type for Welcome text
15313
14900
1999-05-09 <mkp@mkp.net>
15315
14902
* daemon/server.c (gdm_server_restart): Workaround for the
15316
annoying gnome-name-server bug.
14903
annoying gnome-name-server bug.
15318
14905
* Misc. fixes.
15320
14907
1999-04-19 Martin Kasper Petersen <mkp@mkp.net>
15322
14909
* Created gdm2 branch. Most of the daemon code has been revamped,
15323
gdmgreeter development suspended and gdmlogin written from
15324
scratch. Face browser functionality will return eventually.
14910
gdmgreeter development suspended and gdmlogin written from
14911
scratch. Face browser functionality will return eventually.
15326
14913
* gui/gdmlogin.c (gdm_parse_enriched_string): Applied patch from
15327
Jacob Berkman to support sysname and release variable expansion.
14914
Jacob Berkman to support sysname and release variable expansion.
15329
14916
1999-03-28 Martin Kasper Petersen <mkp@mkp.net>
15331
14918
* gui/gdmgreeter.c (gdm_greeter_user_alloc): Icon size bug
15332
reported by Clifford Wright.
14919
reported by Clifford Wright.
15334
14921
1999-03-07 Martin Kasper Petersen <mkp@mkp.net>
15336
14923
* configure.in, src/Makefile.am: Pass -DGDM_CONFIG_PATH to
15337
compiler to avoid ${prefix}/blah bug in Owen's patch.
14924
compiler to avoid ${prefix}/blah bug in Owen's patch.
15339
14926
1999-03-06 Martin Kasper Petersen <mkp@mkp.net>
15341
14928
* src/gdmgreeter.c (gdm_greeter_user_alloc): Fixed a memory
15342
corruption bug (Reported by Gregory McLean <gregm@comstar.net>).
14929
corruption bug (Reported by Gregory McLean <gregm@comstar.net>).
15344
14931
1999-03-05 Martin Kasper Petersen <mkp@mkp.net>
15523
15107
1999-01-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
15525
15109
* src/gdmslave.c (gdm_slave_greeter): Check return values from
15526
sscanf. Because "\n" scanned with %s returns -1 and the target
15527
buffer has an undefined value.
15110
sscanf. Because "\n" scanned with %s returns -1 and the target
15111
buffer has an undefined value.
15529
15113
* src/gdm.c (main): Set the umask to 066 to make any
15530
default file created indirectly by gnome-config be of mode 066.
15114
default file created indirectly by gnome-config be of mode 066.
15532
15116
1999-01-13 Martin Kasper Petersen <mkp@mkp.net>
15534
15118
* src/gdmgreeter.c (gdm_greeter_sessions_init): Check that Session
15535
scripts are executable before adding them to the list.
15119
scripts are executable before adding them to the list.
15537
15121
* src/gdmmisc.c (gdm_file_check): Added an option making the
15538
function return TRUE if it is ok that a file is absent. I.e. the
15539
user has no existing .Xauthority, .gnome/gdm or whatever.
15122
function return TRUE if it is ok that a file is absent. I.e. the
15123
user has no existing .Xauthority, .gnome/gdm or whatever.
15541
15125
* src/gdmslave.c (gdm_slave_session_start): Added default
15542
path. Create ~user/.gnome if it doesn't exist.
15126
path. Create ~user/.gnome if it doesn't exist.
15544
15128
* src/gdmslave.c (gdm_slave_session_stop): More setegid().
15546
15130
* src/gdmslave.c (gdm_slave_session_start): Added setgid().
15547
(gdm_slave_greeter): Fixed sigmask.
15131
(gdm_slave_greeter): Fixed sigmask.
15549
15133
* src/gdmauth.c (gdm_auth_user_{add|remove}): Added -i to xauth to
15550
ignore hanging locks.
15134
ignore hanging locks.
15552
15136
* src/gdmgreeter.c (main): Resize only when browser is enabled.
15554
15138
* src/gdmgreeter.c (gdm_greeter_message_init): Removed debug msg.
15556
15140
* src/gdm.c (gdm_config_parse): Bail out if gdm user/group doesn't
15557
exist. Root failover made people lazy.
15141
exist. Root failover made people lazy.
15559
15143
* src/gdm.c (gdm_child_handler): Minor fix to make gdm work with
15560
more than one local Xserver.
15144
more than one local Xserver.
15562
15146
1999-01-12 Martin Kasper Petersen <mkp@mkp.net>
15564
15148
* config/gdm.conf.in ([system]): Added UserIconMax{Width,Height}.
15566
15150
* src/gdmgreeter.c (gdm_greeter_user_alloc): Scales user icons to
15567
sysadmin specified max size.
15151
sysadmin specified max size.
15569
15153
* src/gdmgreeter.c (gdm_greeter_iconify_handler): Fixed
15572
(gdm_greeter_login_key_handler): Cursor/Tab key restriction.
15156
(gdm_greeter_login_key_handler): Cursor/Tab key restriction.
15574
15158
* src/gdmslave.c (gdm_slave_greeter): Forgot to setgid()
15576
(gdm_slave_greeter): Workaround for getenv("HOME") until miguel
15577
fixes gnome_init().
15160
(gdm_slave_greeter): Workaround for getenv("HOME") until miguel
15161
fixes gnome_init().
15579
15163
* src/gdmmisc.c (gdm_parse_enriched_string): Fallback if
15580
getenv("HOSTNAME")==NULL.
15164
getenv("HOSTNAME")==NULL.
15582
15166
1999-01-11 Martin Kasper Petersen <mkp@mkp.net>
15584
15168
* src/<younameit>.[ch] Done rewriting the daemon code to avoid the
15585
race condition caused by simultaneous greeter/session and Xserver
15169
race condition caused by simultaneous greeter/session and Xserver
15588
15172
1998-12-30 Jeff Garzik <jgarzik@pobox.com>
15590
15174
* src/gdmauth.c, src/gdmgreeter.c, src/gdmmisc.c,
15591
15175
src/gdmslave.c, src/gdmxdmcp.c:
15592
s/g_copy_strings/g_strconcat/
15176
s/g_copy_strings/g_strconcat/
15594
15178
1998-12-28 Martin Kasper Petersen <mkp@mkp.net>
15596
15180
* src/*.c: Loads of fixes over the past couple of days.
15598
15182
* src/gdmgreeter.c (gdm_greeter_parse_config): gdmUserMaxFile
15601
15185
* src/gdmmisc.c (gdm_file_check): Moved gdm_greeter_file_check
15602
here. Now a generic function.
15186
here. Now a generic function.
15604
15188
* src/gdmslave.c (gdm_slave_windows_kill_error_handler): Ok,
15605
nailed down the bug which caused gdmslave to exit(1)
15606
mysteriously. A race in the windows_recursive_kill function caused
15607
the X default error handler to kick in. Blam. You're dead.
15189
nailed down the bug which caused gdmslave to exit(1)
15190
mysteriously. A race in the windows_recursive_kill function caused
15191
the X default error handler to kick in. Blam. You're dead.
15609
(gdm_slave_session_init): Run sanity check on ~user/.Xauthority
15610
and ~user/.gnome/gdm.
15612
(gdm_slave_exec_command): Use the passed pointer instead of
15615
(gdm_slave_session_init): Added SHELL environment variable so the
15616
user's shell is executed. Not just root's..
15193
(gdm_slave_session_init): Run sanity check on ~user/.Xauthority
15194
and ~user/.gnome/gdm.
15196
(gdm_slave_exec_command): Use the passed pointer instead of
15199
(gdm_slave_session_init): Added SHELL environment variable so the
15200
user's shell is executed. Not just root's..
15618
15202
1998-12-25 Martin Kasper Petersen <mkp@mkp.net>
15620
15204
* src/gdmgreeter.c (gdm_greeter_user_alloc): Rewritten to use
15623
(gdm_greeter_file_check): New function. Checks file size,
15624
ownership etc. to avoid DoS attacks on greeter.
15207
(gdm_greeter_file_check): New function. Checks file size,
15208
ownership etc. to avoid DoS attacks on greeter.
15626
15210
1998-12-23 Martin Kasper Petersen <mkp@mkp.net>
15628
15212
* src/gdm.c (gdm_abort): New function for error logging and
15631
(gdm_config_parse): luser proof permissions checking on authdir.
15215
(gdm_config_parse): luser proof permissions checking on authdir.
15633
15217
* src/gdmgreeter.c: Several oddities fixed.
15635
15219
* src/gdmgreeter.c (gdm_greeter_buttons_init): Mark login button
15638
15222
* src/gdmgreeter.c (gdm_greeter_login_entry_handler): Fixed event
15639
handlers to avoid the obscure emit_stop bug. Turns out my ancient
15640
event handlers were doing the right thing all along. Only the
15641
recent ones were br0ked. *sigh*. Thanks Owen!
15223
handlers to avoid the obscure emit_stop bug. Turns out my ancient
15224
event handlers were doing the right thing all along. Only the
15225
recent ones were br0ked. *sigh*. Thanks Owen!
15643
15227
1998-12-22 Martin Kasper Petersen <mkp@mkp.net>
15645
15229
* src/gdmslave.c (gdm_slave_greet_init): Removed debug logging of
15646
username and password. Ahem. Thanks Sopwith!
15230
username and password. Ahem. Thanks Sopwith!
15648
15232
* src/gdmgreeter.c (gdm_greeter_login_entry_handler):
15649
Fixes. gtk_signal_emit_stop_by_name workaround.
15233
Fixes. gtk_signal_emit_stop_by_name workaround.
15651
15235
1998-12-20 Martin Kasper Petersen <mkp@mkp.net>
15653
15237
* src/gdmgreeter.c (gdm_greeter_invalid_passwd_req): Minor hack to
15654
avoid greeter to be reactivated during dialog.
15238
avoid greeter to be reactivated during dialog.
15656
15240
* src/(gdm_greeter_entry_init): Limit input length in login and
15657
password entry fields.
15241
password entry fields.
15659
15243
* src/gdmslave.c (gdm_slave_greet_init): Avoid potential buffer
15660
overflow, in case something/someone breaks greeter.
15244
overflow, in case something/someone breaks greeter.
15662
15246
1998-12-15 Martin Kasper Petersen <mkp@mkp.net>
15664
15248
* src/gdmverify.c (gdm_verify_user): Two buglets reported by
15665
<kvajk@ricochet.net>.
15249
<kvajk@ricochet.net>.
15667
15251
1998-12-14 Martin Kasper Petersen <mkp@mkp.net>
15669
15253
* src/gdmgreeter.c (gdm_greeter_browser_unselect): Catch
15672
15256
1998-12-13 Martin Kasper Petersen <mkp@mkp.net>
15674
15258
* src/gdmgreeter.c (gdm_greeter_{reboot,halt}_handler): Use
15675
gnome_question_dialog instead of message_box.
15259
gnome_question_dialog instead of message_box.
15677
15261
1998-12-03 Martin Kasper Petersen <mkp@mkp.net>
15679
15263
* config/Makefile.am: Fixed gnomerc. Both path and INSTALL_SCRIPT
15680
were wrong -- No wonder people have been complaining. *sigh*
15264
were wrong -- No wonder people have been complaining. *sigh*
15682
15266
* src/gdm.c (main): Abort with (xdm compliant :) error message if
15683
gdm isn't started by root.
15267
GDM isn't started by root.
15685
15269
1998-12-01 Martin Kasper Petersen <mkp@mkp.net>
15687
* docs/gdm-manual.txt: Crude manual draft.
15689
15271
* src/gdm.c, config/gdm.conf.in: The PreRoot and PostRoot
15690
directories have been renamed PreSession and PostSession to avoid
15272
directories have been renamed PreSession and PostSession to avoid
15693
15275
1998-11-30 Martin Kasper Petersen <mkp@mkp.net>
15695
15277
* src/gdmgreeter.c (gdm_greeter_message_init): Calls the enriched
15696
string function on the message string to support ``Welcome to
15697
<hostname>''. Need to supply both server and client macros.
15278
string function on the message string to support ``Welcome to
15279
<hostname>''. Need to supply both server and client macros.
15699
15281
* src/gdmmisc.c (gdm_parse_enriched_string): New function for %h
15700
expansion in strings.
15282
expansion in strings.
15702
15284
* src/gdmgreeter.c: Removed legacy labels and such. gettext takes
15705
15287
* src/gdm.c (gdm_config_parse): Check for correct permissions on
15708
15290
1998-11-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
15710
15292
* src/gdmgreeter.c (gdm_greeter_browser_init): IconList now starts
15711
life in thawed mode.
15293
life in thawed mode.
15713
15295
1998-11-22 Martin Kasper Petersen <mkp@mkp.net>
15715
15297
* src/gdmgreeter.c (gdm_greeter_browser_select): Reverted to the
15716
old event types (GDK_BUTTON_PRESS) for gnome-icon-list.
15298
old event types (GDK_BUTTON_PRESS) for gnome-icon-list.
15718
15300
* src/gdmslave.c, src/gdmgreeter.c, src/gdm.c: Added support for
15719
suspending APM-aware machines from greeter.
15301
suspending APM-aware machines from greeter.
15721
15303
1998-11-20 Martin Kasper Petersen <mkp@mkp.net>
15723
15305
* src/gdmslave.c: Fixed X server restart stuff. gdmslave rewrite
15726
15308
* src/gdmslave.c, src/gdm.c, config/gdm.conf.in: Implemented
15727
KillInitClients option (Requested by sct).
15309
KillInitClients option (Requested by sct).
15729
15311
1998-11-18 Martin Kasper Petersen <mkp@mkp.net>
15731
15313
* src/gdmslave.c (gdm_slave_display_init): Finally nailed down the
15732
bug that has been haunting me for the past week causing
15733
gdm_slave_windows_kill to hang on second login. The X server takes
15734
a while to recover consciousness after a reset. I take this into
15735
account by sleeping for a while if XOpenDisplay fails.
15736
Unfortunately, dsp was already initialized in second run
15737
(but invalid after the X server reset) causing my retry condition
15738
to be ignored. Always check your pointers! *sigh*
15314
bug that has been haunting me for the past week causing
15315
gdm_slave_windows_kill to hang on second login. The X server takes
15316
a while to recover consciousness after a reset. I take this into
15317
account by sleeping for a while if XOpenDisplay fails.
15318
Unfortunately, dsp was already initialized in second run
15319
(but invalid after the X server reset) causing my retry condition
15320
to be ignored. Always check your pointers! *sigh*
15740
So, the new gdm should be as fast as xdm (i.e. fewer resets
15741
causing garbled displays and momentary flicker. Visual annoyances
15742
beyond this point - Go bug the X server people).
15322
So, the new gdm should be as fast as xdm (i.e. fewer resets
15323
causing garbled displays and momentary flicker. Visual annoyances
15324
beyond this point - Go bug the X server people).
15744
SANE tutorial coming up in 6 hours. *Thud*
15326
SANE tutorial coming up in 6 hours. *Thud*
15746
15328
1998-11-09 Martin Kasper Petersen <mkp@mkp.net>
15801
15383
* src/Makefile.am (gdm_SOURCES): Added gdmmisc.c
15803
15385
* src/gdmmisc.c: Moved arg_much to a separate file. It is now used
15804
by both gdm.c and gdmslave.c.
15386
by both gdm.c and gdmslave.c.
15806
15388
1998-10-20 Martin Kasper Petersen <mkp@mkp.net>
15808
15390
* src/gdmgreeter.c: Send STX through pipeline before sending a
15811
15393
* src/gdmslave.c (gdm_slave_display_init): Added STX for greeter
15812
communications to avoid problems with Gtk debug errors to stdout.
15394
communications to avoid problems with Gtk debug errors to stdout.
15814
15396
1998-10-19 Martin Kasper Petersen <mkp@mkp.net>
15816
15398
* src/gdmgreeter.c (gdm_greeter_browser_init): Added background
15819
15401
* src/gdmgreeter.c (gdm_greeter_browser_select): Change
15820
GDK_BUTTON_PRESS to ditto RELEASE due to gil.
15402
GDK_BUTTON_PRESS to ditto RELEASE due to gil.
15822
15404
* src/gdmgreeter.c (main): Removed buggy icon list workaround.
15823
(main): Center window before realizing it.
15824
(gdm_greeter_browser_init): Added 3D frame to new icon list.
15405
(main): Center window before realizing it.
15406
(gdm_greeter_browser_init): Added 3D frame to new icon list.
15826
15408
1998-10-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
15828
15410
* src/gdmgreeter.c (gdm_greeter_browser_init): Icon List is born
15829
in frozen state, calling freeze and thaw leaves it still in frozen
15830
state (as we have a frozen counter instead of a flag these days.).
15411
in frozen state, calling freeze and thaw leaves it still in frozen
15412
state (as we have a frozen counter instead of a flag these days.).
15832
15414
1998-10-16 Christopher Blizzard <blizzard@appliedtheory.com>
15834
15416
* config/Makefile.am (install-data-hook): Make sure that
15835
install-data-hook depends on targets gdm.conf gnomerc and Gnome.
15836
Otherwise they are never built. Also, if the directories that
15837
these files are supposed to go in don't exist, create them with
15417
install-data-hook depends on targets gdm.conf gnomerc and Gnome.
15418
Otherwise they are never built. Also, if the directories that
15419
these files are supposed to go in don't exist, create them with
15840
15422
1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
15842
15424
* src/gdmgreeter.c (gdm_greeter_login_entry_handler): Fix use of
15843
the gnome_icon_list_moveto routine
15844
(gdm_greeter_browser_update): ditto.
15845
(gdm_greeter_browser_init): Adapt to the new gnome-icon-list api.
15846
(gdm_greeter_login_entry_handler): Thaw before attempting to use moveto
15425
the gnome_icon_list_moveto routine
15426
(gdm_greeter_browser_update): ditto.
15427
(gdm_greeter_browser_init): Adapt to the new gnome-icon-list api.
15428
(gdm_greeter_login_entry_handler): Thaw before attempting to use
15848
Martin, is there any reason why you clear() the icon lists
15849
contents and then reload them when the user changes from the login
15850
field to the password one?
15431
Martin, is there any reason why you clear() the icon lists
15432
contents and then reload them when the user changes from the login
15433
field to the password one?
15852
15435
1998-10-13 Martin Kasper Petersen <mkp@mkp.net>
15854
15437
* src/gdmslave.c (gdm_slave_exec_script): New function.
15855
(gdm_slave_display_init): Add support for display init script.
15856
(gdm_slave_session_init): Add support for root pre-login script.
15857
(gdm_slave_session_init): Add support for root post-login script.
15438
(gdm_slave_display_init): Add support for display init script.
15439
(gdm_slave_session_init): Add support for root pre-login script.
15440
(gdm_slave_session_init): Add support for root post-login script.
15859
15442
* src/gdm.c (gdm_config_parse): Added new config options for
15862
15445
* config/gdm.conf.in ([daemon]): Default config options for
15865
15448
1998-10-11 Martin Kasper Petersen <mkp@mkp.net>
15867
15450
* src/gdm.c (main): Redirect all output to a logfile.
15869
15452
* src/gdm.c (main): Moved the pid checking code to main to avoid
15870
/sbin/init respawns. Checks whether gdm is started by init and
15871
stops forking if this is the case (actually works this time).
15453
/sbin/init respawns. Checks whether gdm is started by init and
15454
stops forking if this is the case (actually works this time).
15873
15456
* config/gdm.conf.in (PidFile): I've been ignoring all bug reports
15874
caused by this one. Turns out I made a typo in the config template
15457
caused by this one. Turns out I made a typo in the config template
15877
15460
1998-10-11 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
15879
15462
* src/Makefile.am (gdm_LDADD): Added '$(INTLLIBS).
15880
(gdmgreeter_LDADD): Likewise.
15463
(gdmgreeter_LDADD): Likewise.
15882
15465
1998-10-10 Martin Kasper Petersen <mkp@mkp.net>
15884
15467
* config/gdm.conf.in ([servers]): Modified to default X server
15885
entry to exclude display depth option.
15468
entry to exclude display depth option.
15887
15470
* config/Makefile.am (install-data-hook): Avoid overwriting
15888
existing config files.
15471
existing config files.
15890
15473
* acconfig.h: Added HAVE_PAM
15892
15475
* src/gdmverify.c (gdm_verify_user): Change USE_PAM to HAVE_PAM to
15893
follow conventions.
15476
follow conventions.
15895
15478
* configure.in (have_pam): PAM autodetection.
15897
15480
1998-10-08 Martin Kasper Petersen <mkp@mkp.net>
15899
15482
* src/gdmgreeter.c (gdm_greeter_invalid_passwd_req): Set focus to
15900
passwd field when auth fails.
15483
passwd field when auth fails.
15902
15485
* src/gdmslave.c: Finished the rewrite. Should be almost usable
15905
15488
* config/Makefile.am: TODO: Need to find a way to prevent
15906
overwriting gdm.conf when doing a make install.
15489
overwriting gdm.conf when doing a make install.
15908
15491
1998-10-07 Martin Kasper Petersen <mkp@mkp.net>
15910
15493
* src/gdmgreeter.c (gdm_greeter_login): Completely new
15911
communication scheme. Easier to parse in gdmslave.c.
15494
communication scheme. Easier to parse in gdmslave.c.
15913
15496
1998-10-06 Martin Kasper Petersen <mkp@mkp.net>
15915
15498
* src/gdmverify.c: New file. TODO: PAM detection in autoconf.
15917
15500
* src/gdmslave.c: Gave up on merging CVS and my .ch-work. Started
15918
major rewrite instead.
15501
major rewrite instead.
15920
15503
* src/gdmgreeter.c: Removed `:' in pipe communication
15923
15506
1998-10-05 Martin Kasper Petersen <mkp@mkp.net>
15925
15508
* src/gdmslave.c: Fixed the race reported on gnome-list the right
15926
way. The posted fix broke X USR1 signalling.
15509
way. The posted fix broke X USR1 signalling.
15928
15511
* src/gdmgreeter.c (gdm_greeter_about): Bumped version
15930
(gdm_greeter_done): New function. Partly replaces parse_results().
15931
(gdm_greeter_login): Former login_button_handler. Now passes
15932
password through pipe. Disables input while gdmslave is thinking.
15933
(gdm_greeter_passwd_entry_handler): Replaced parse_results with
15934
gdm_greeter_login to reflect the auth redesign.
15935
(gdm_greeter_invalid_passwd_req): Re-enable input and reset cursor
15936
after requester has been acked.
15937
(main): Added signal handling for gdmslave communication.
15513
(gdm_greeter_done): New function. Partly replaces parse_results().
15514
(gdm_greeter_login): Former login_button_handler. Now passes
15515
password through pipe. Disables input while gdmslave is thinking.
15516
(gdm_greeter_passwd_entry_handler): Replaced parse_results with
15517
gdm_greeter_login to reflect the auth redesign.
15518
(gdm_greeter_invalid_passwd_req): Re-enable input and reset cursor
15519
after requester has been acked.
15520
(main): Added signal handling for gdmslave communication.
15939
15522
1998-10-04 Martin Kasper Petersen <mkp@mkp.net>
15941
15524
* src/gdm.c: signal->sigaction stuff.
15942
(gdm_daemonify): Moved openlog to main.
15943
(main): Stop forking when ppid is init.
15525
(gdm_daemonify): Moved openlog to main.
15526
(main): Stop forking when ppid is init.
15945
15528
1998-10-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
15947
15530
* src/gdmslave.c (gdm_slave_init): Setup the signal before
15948
forking. FIXME: We need to use sigaction all over the place
15531
forking. FIXME: We need to use sigaction all over the place
15951
15534
Thu Sep 24 22:09:39 CEST 1998 Jochen Friedrich <jochen@scram.de>