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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
|
2000-12-17 Marius Andreiana <mandreiana@yahoo.com>
* configure.in: Added ro (Romanian) to ALL_LINGUAS
2000-12-12 Mathieu Lacage <mathieu@eazel.com>
Make it: 1) compile 2) pass make distcheck.
* configure.in: one BAD BAD typo: s/aC/AC/
* daemon/Makefile.am: add server.h
* docs/C/Makefile.am: remove images.
* docs/C/gdm.sgml: fix sgml.
* po/Makefile.in.in: I dunno.
2000-11-28 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* configure.in (ALL_LINGUAS): Added Slovak translation
2000-10-19 Yukihiro Nakai <nakai@gnome.gr.jp>
* configure.in: Add Chinese(GB2312, Big5) to ALL_LINGUAS
2000-08-29 Carlos Perelló Marín <carlos@hispalinux.es>
* config/gdm.conf.in: Added the Spanish welcome message
2000-08-24 Alastair McKinstry <mckinstry@computer.org>
* configure.in (ALL_LINGUAS): Added Irish translation
2000-07-30 Christopher R. Gabriel <cgabriel@softwarelibero.org>
* configure.in (ALL_LINGUAS): added Italian translation
2000-06-18 Stanislav Brabec <utx@penguin.cz>
* daemon/misc.c,
daemon/misc.h,
daemon/slave.c,
configure.in: Thread-safe wrapper for gdm_setenv, new function
gdm_unsetenv. Change required for gdm basic funftionallity on some
systems. On systems without setenv/unsetenv functions, gdm_(un)setenv
still remains thread unsafe & POSIX safe!
2000-06-05 Stanislav Brabec <utx@penguin.cz>
* daemon/gdm.c: Typo fix.
2000-05-11 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in (ALL_LINGUAS): added Catalan file
2000-04-20 Ruben Lopez <ryu@mundivia.es>
* configure.in (ALL_LINGUAS): added Galician (gl) translation
2000-04-20 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in (ALL_LINGUAS): added Lithuanian file
2000-02-29 Stanislav Brabec <utx@penguin.cz>
* daemon/verify-shadow.c: Typo bug fixed.
* config/Makefile.am: Allow make install from separate dir.
1999-12-31 <mkp@mkp.net>
* daemon/gdm.c (gdm_child_handler): Major overhaul.
* daemon/display.c (gdm_display_lookup): New function.
* daemon/server.c: Fixes.
1999-12-29 <mkp@mkp.net>
* Checkin of my devel tree. Some of the new stuff is in. Mostly
infrastructure changes, though. Oh, and it doesn't actually work
yet. But it will eventually. Promise!
1999-12-26 <mkp@mkp.net>
* daemon/verify-*.c: Move each authentication scheme to a separate
file (Sucks to be a translator :).
1999-12-21 <mkp@mkp.net>
* daemon/verify.c (gdm_verify_user): Added fix for expired
passwords when using PAM (Philip Spencer
<pspencer@fields.utoronto.ca>).
1999-11-11 <mkp@mkp.net>
* daemon/misc.c (gdm_setenv): New function to work around POSIX
brain damage.
1999-11-10 Yuri Syrota <rasta@renome.rovno.ua>
* configure.in (ALL_LINGUAS): Added uk.
1999-11-01 <mkp@mkp.net>
* daemon/verify.c (gdm_verify_user): Error in error message.
* daemon/slave.c (gdm_slave_greeter_ctl): Nuke random junk that
might have accumulated in the ipc pipe.
* gui/gdmlogin.c (gdm_login_ctrl_handler): Same as above.
* configure.in: Fixed -lnsl (again)
1999-10-21 Sergey Panov <sipan@mit.edu>
* configure.in (ALL_LINGUAS): Added ru.
1999-10-03 <mkp@mkp.net>
* daemon/slave.c: Misc. hacks to solve #2487. PAM messes with
pwent.
* daemon/gdm.c (gdm_config_parse): Check that gdmlogin and
gdmchooser can be executed by gdm before starting up.
1999-10-02 <mkp@mkp.net>
* daemon/slave.c (gdm_slave_greeter_ctl): Fix NULL string passing
bug.
1999-09-30 <mkp@mkp.net>
* config/PreSession, config/PostSession: Example sessreg scripts.
* daemon/slave.c (gdm_slave_session_cleanup): Run PostSession
script even when display is dead.
* daemon/xdmcp.c (gdm_xdmcp_handle_query): Get XDMCP running again.
1999-09-29 <mkp@mkp.net>
* gui/gdmlogin.c, gui/gdmchooser.c: bindtextdomain() + other
fixes.
* daemon/slave.c (gdm_slave_session_start): Pipe fix from Elliot.
1999-09-28 Rodrigo Stulzer Lopes <rodrigo@conectiva.com.br>
* configure.in (ALL_LINGUAS): Added pt_BR.
1999-09-27 <mkp@mkp.net>
* docs/C/gdm.sgml: Lots of updates.
* daemon/slave.c (gdm_slave_session_start): Let the daemon handle
session/language lookups.
1999-09-26 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
* configure.in (ALL_LINGUAS): Added Korean.
* config/locale.alias: Likewise.
1999-09-23 <mkp@mkp.net>
* gui/gdmlogin.c (gdm_login_gui_init): Avoid dumping core when
specified font can't be loaded (#2315).
* Ripped out some work-in-progress code that didn't make it in
time for beta3. Postponed for beta4.
* Loads of fixes. Thanks to Elliot.
* daemon/filecheck.c (gdm_file_check): Log warning if critical
files are missing.
1999-09-21 <mkp@mkp.net>
* daemon/verify.c (gdm_verify_user): Avoid exposing usernames on
getpwent() failure. GdmAllowRoot is now used for non-PAM
configurations only.
1999-09-13 <mkp@mkp.net>
* daemon/verify.c (gdm_verify_user): Fix root logins.
1999-09-07 <mkp@mkp.net>
* gui/gdmlogin.c (gdm_login_browser_select): Fixed the obscure
curuser==NULL on doubleclick bug reported by Nils/Elliot.
1999-09-03 Zbigniew Chyla <chyla@alice.ci.pwr.wroc.pl>
* configure.in (ALL_LINGUAS): Added pl.
1999-09-01 <mkp@mkp.net>
* gui/gdmlogin.c (gdm_login_gui_init): Only add column for logo if
it is readable.
* daemon/verify.c (gdm_verify_check): Check that PAM configuration
file exists before starting up.
1999-08-31 <mkp@mkp.net>
* daemon/slave.c (gdm_slave_session_start): unset MAIL in the
user's environment. I have to POSIXify my environment handling at
some point.
* gui/gdmlogin.c (gdm_parse_enriched_string): %n is
uname.nodename. "Welcome to %n" is new default greeting.
(gdm_login_users_init): Ignore duplicate usernames on broken NIS
systems (Nils Philippsen <nils@wombat.dialup.fht-esslingen.de>).
1999-08-31 Kjartan Maraas <kmaraas@online.no>
* configure.in: Added "da" to ALL_LINGUAS.
1999-08-18 <mkp@mkp.net>
* docs/C/gdm.sgml: More documentation work.
1999-08-16 <mkp@mkp.net>
* docs/C/gdm.sgml: SGML-ified manual. Only bare bones so far.
* configure.in: Check whether crypt.h exists. Gnome bug #1925.
1999-08-15 <mkp@mkp.net>
* docs/gdm-manual.txt: Updated for v2 config file syntax.
* daemon/choose.c: New file. Doing INDIRECT choosing the right
way.
* daemon/auth.c: Purge all instances of current display in user
cookie file.
(gdm_auth_user_remove): Fix stupid segfault.
* daemon/slave.c (gdm_slave_session_start): Avoid saving language
and session if ~user/.gnome/gdm isn't kosher instead of bailing
out.
* daemon/auth.c: Fixed cookie problems for local displays.
* daemon/gdm.c (gdm_display_dispose): Free Xauth.
1999-08-14 <mkp@mkp.net>
* gui/gdmlogin.c: Fixed a few gtk_widget_set_sensitive(NULL)
occurrences.
1999-08-11 <mkp@mkp.net>
* daemon/auth.c: Nailed down the bug that has been haunting me the
past couple of days. gdm no longer corrupts ~user/.Xauthority if
it contains ``foreign'' cookies.
1999-08-08 <mkp@mkp.net>
Finally merged the Ottawa megapatch:
* daemon/auth.c: Real XAuth implementation. Doesn't rely on
/usr/bin/X11/xauth anymore.
* gui/gdmlogin.c: Implemented browser functionality.
* gui/gdmconfig.c: First shot at a graphical configuration tool.
* gui/gdmface.c: Face selector capplet.
1999-08-07 <mkp@mkp.net>
* Replaced gdm_putenv() with calls to setenv() as putenv() is
broken by specification.
1999-08-07 Anders Carlsson <anders.carlsson@tordata.se>
* configure.in (ALL_LINGUAS): Added sv to ALL_LINGUAS.
1999-08-02 <mkp@mkp.net>
* md5.c, md5.h, cookie.c: Fixed MD5 endianness problem (Reported
by <gewrgiou@imbc.gr>, bugzilla 3898).
1999-07-24 Tristan Tarrant <ttarrant@etnoteam.it>
* gui/gdmchooser.c (main): centre all dialogs
* gui/gdmlogin.c (main): the same
1999-07-14 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gui/gdmchooser.c (gdm_chooser_gui_init): Set the scrollbar
adjustment properly.
1999-06-30 <mkp@mkp.net>
* daemon/xdmcp.c (gdm_xdmcp_handle_forward_query): First shot at
implementing FORWARD_QUERY. gdm supports being chosen from remote
hosts now, but still doesn't provide chooser functionality itself.
1999-06-29 <mkp@mkp.net>
* daemon/verify.c (gdm_verify_user): Transfer PAM environment to
user session (Suggested by nalin@thermo.stat.ncsu.edu)
1999-05-14 Jacob Berkman <jberk+@cmu.edu>
* gui/gdmlogin.c (gdm_parse_enriched_string): added support
for processor type for Welcome text
* docs/gdm-manual.txt: added entry for %m
1999-05-09 <mkp@mkp.net>
* daemon/server.c (gdm_server_restart): Workaround for the
annoying gnome-name-server bug.
* Misc. fixes.
1999-04-19 Martin Kasper Petersen <mkp@mkp.net>
* Created gdm2 branch. Most of the daemon code has been revamped,
gdmgreeter development suspended and gdmlogin written from
scratch. Face browser functionality will return eventually.
* gui/gdmlogin.c (gdm_parse_enriched_string): Applied patch from
Jacob Berkman to support sysname and release variable expansion.
1999-03-28 Martin Kasper Petersen <mkp@mkp.net>
* gui/gdmgreeter.c (gdm_greeter_user_alloc): Icon size bug
reported by Clifford Wright.
1999-03-07 Martin Kasper Petersen <mkp@mkp.net>
* configure.in, src/Makefile.am: Pass -DGDM_CONFIG_PATH to
compiler to avoid ${prefix}/blah bug in Owen's patch.
1999-03-06 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_user_alloc): Fixed a memory
corruption bug (Reported by Gregory McLean <gregm@comstar.net>).
1999-03-05 Martin Kasper Petersen <mkp@mkp.net>
* gdm.spec: Fix spec file.
* Misc fixes.
1999-03-03 Martin Kasper Petersen <mkp@mkp.net>
* config/Makefile.am, configure.in: Patch from Owen.
* po/de.po: Added (Patch from Karsten Weiss
<karsten@addx.au.s.shuttle.de>).
1999-02-26 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (main): Force completion mode on for the time
being. I'll implement a real PAM conversation function within the
next couple of days to take care of the exposed usernames issue.
1999-02-25 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmchooser.c: Done!
* src/gdmchooser.c: First shot at reimplementing the code I
lost. Doesn't actually work yet.
1999-02-24 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmxdmcp.c: Fix gethostbyaddr() lookups.
* src/gdmslave.c: Various fixes.
* src/gdm.c (gdm_display_dispose): Call XCloseDisplay to close
remote connections.
(gdm_child_handler): Fix wrong debug output.
* config/Makefile.am: Create Default display init file.
1999-02-23 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmverify.c (gdm_verify_user): Added shadow support (Patch
from Timo Sirainen).
* src/gdmgreeter.c (main): Added GtkRC support
(Patch from Daniel_Burrows@brown.edu).
1999-02-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmgreeter.c (main): Call gnome sound shutdown here.
* src/gdm.c (main): Show a descriptive message to let the user
locate the stale pid file.
* configure.in (LIBWRAP_PATH): Use the same configuration
mechanism for detecting a working libwrap library on the system
(fixes crash).
* src/gdmslave.c (gdm_slave_greeter): Do not use sscanf to get the
password, as it might contain spaces, just copy the string.
(gdm_slave_get_opts): Use fgets directly on the target buffer.
(gdm_slave_get_opts): Make the strings empty at startup.
* src/gdmgreeter.c (gdm_greeter_logo_init): Use gnome-pixmap
widget instead of gtk-pixmap. Gnome-pixmap correctly uses the
right visual and is simpler to use (and does not crash on
multidepth visuals).
(gdm_greeter_iconify_handler): Use gnome-pixmao here too.
1999-02-16 Martin Kasper Petersen <mkp@mkp.net>
* src/gdm.c: Ignore invalid lines in [servers] section.
1999-02-14 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmserver.c: Changed SA_ONESHOT to SA_RESETHAND.
1999-02-08 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_parse_config): Disable shutdown
menu on non-local displays.
* src/gdm.c (gdm_config_parse): Default path belongs in
[system] (msw).
* src/gdmxdmcp.c (gdm_xdmcp_init): Use GIOChannel to monitor fds.
* src/gdmmisc.c (gdm_parse_enriched_string): Support %d expansion
for display name.
1999-02-06 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmxdmcp.c (gdm_xdmcp_send_accept): MIT cookies work for
remote displays now.
* src/gdmslave.c: Lots of fixes. Should be stable again.
1999-02-04 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_child_handler): Only xping remote
displays to avoid DISPLAY_ABORT for murdered greeters/Xservers.
* src/gdmmisc.c (gdm_exec_script): Set default path before
executing.
1999-02-03 Martin Kasper Petersen <mkp@mkp.net>
* Makefile.am: Stuff the docs dir back in and add the appropriate
Makefile.am.
1999-02-02 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c: Fixes for XDMCP vs. local display handling.
* src/gdmxdmcp.c: Numerous fixes.
1999-01-31 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmxdmcp.c: First shot at XDMCP implentation.
1999-01-28 Martin Kasper Petersen <mkp@mkp.net>
* configure.in/Makefile.am: Generate Makefile in docs. Added
README.install to EXTRA_DIST.
1999-01-27 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_info): Fixed the annoying hanging
Gtk bug caused by my inability to program user interfaces. Ahem.
* configure.in: Stuff GNOME_GETTEXT back in.
1999-01-25 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_session_start): Moved english->C
locale here. Ugly, but it became a mess in greeter too.
* src/gdmverify.c (gdm_verify_user): Repetetetive pam_setcred
spotted by gb. Fixed.
1999-01-22 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmverify.c (gdm_verify_user): syslog ident workaround.
* src/gdmgreeter.c (gdm_greeter_session_init): Used widget pointer
as session name if no default was found. Fixed.
* src/gdm.c (gdm_display_unmanage): Avoid killing master daemon
when unmanaging displays.
* src/gdmslave.c (gdm_slave_session_start): Added call to
initgroups() to set up additional group memberships.
* src/gdmverify.c (gdm_verify_user): Fix non-PAM password
checking.
1999-01-20 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmverify.c (gdm_verify_user): Updated PAM stuff.
1999-01-19 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmslave.c (gdm_slave_session_start): Set the umask.
1999-01-19 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmverify.c (gdm_verify_pam_conv): Quick workaround for PAM
stuff. Real solution due tomorrow.
* src/gdmgreeter.c: Lots of new stuff. Non completion mode
deprecated. On demand NFS lookups. Language selection.
* src/gdmslave.c (gdm_slave_greeter): New session/language
selection support.
1999-01-18 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_session_start): Fixed memleak.
1999-01-15 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmslave.c (gdm_slave_greeter): Check return values from
sscanf. Because "\n" scanned with %s returns -1 and the target
buffer has an undefined value.
* src/gdm.c (main): Set the umask to 066 to make any
default file created indirectly by gnome-config be of mode 066.
1999-01-13 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_sessions_init): Check that Session
scripts are executable before adding them to the list.
* src/gdmmisc.c (gdm_file_check): Added an option making the
function return TRUE if it is ok that a file is absent. I.e. the
user has no existing .Xauthority, .gnome/gdm or whatever.
* src/gdmslave.c (gdm_slave_session_start): Added default
path. Create ~user/.gnome if it doesn't exist.
* src/gdmslave.c (gdm_slave_session_stop): More setegid().
* src/gdmslave.c (gdm_slave_session_start): Added setgid().
(gdm_slave_greeter): Fixed sigmask.
* src/gdmauth.c (gdm_auth_user_{add|remove}): Added -i to xauth to
ignore hanging locks.
* src/gdmgreeter.c (main): Resize only when browser is enabled.
* src/gdmgreeter.c (gdm_greeter_message_init): Removed debug msg.
* src/gdm.c (gdm_config_parse): Bail out if gdm user/group doesn't
exist. Root failover made people lazy.
* src/gdm.c (gdm_child_handler): Minor fix to make gdm work with
more than one local Xserver.
1999-01-12 Martin Kasper Petersen <mkp@mkp.net>
* config/gdm.conf.in ([system]): Added UserIconMax{Width,Height}.
* src/gdmgreeter.c (gdm_greeter_user_alloc): Scales user icons to
sysadmin specified max size.
* src/gdmgreeter.c (gdm_greeter_iconify_handler): Fixed
iconification bug.
(gdm_greeter_login_key_handler): Cursor/Tab key restriction.
* src/gdmslave.c (gdm_slave_greeter): Forgot to setgid()
(gdm_slave_greeter): Workaround for getenv("HOME") until miguel
fixes gnome_init().
* src/gdmmisc.c (gdm_parse_enriched_string): Fallback if
getenv("HOSTNAME")==NULL.
1999-01-11 Martin Kasper Petersen <mkp@mkp.net>
* src/<younameit>.[ch] Done rewriting the daemon code to avoid the
race condition caused by simultaneous greeter/session and Xserver
death.
1998-12-30 Jeff Garzik <jgarzik@pobox.com>
* src/gdmauth.c, src/gdmgreeter.c, src/gdmmisc.c,
src/gdmslave.c, src/gdmxdmcp.c:
s/g_copy_strings/g_strconcat/
1998-12-28 Martin Kasper Petersen <mkp@mkp.net>
* src/*.c: Loads of fixes over the past couple of days.
* src/gdmgreeter.c (gdm_greeter_parse_config): gdmUserMaxFile
tunable.
* src/gdmmisc.c (gdm_file_check): Moved gdm_greeter_file_check
here. Now a generic function.
* src/gdmslave.c (gdm_slave_windows_kill_error_handler): Ok,
nailed down the bug which caused gdmslave to exit(1)
mysteriously. A race in the windows_recursive_kill function caused
the X default error handler to kick in. Blam. You're dead.
(gdm_slave_session_init): Run sanity check on ~user/.Xauthority
and ~user/.gnome/gdm.
(gdm_slave_exec_command): Use the passed pointer instead of
gdmSuspend.
(gdm_slave_session_init): Added SHELL environment variable so the
user's shell is executed. Not just root's..
1998-12-25 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_user_alloc): Rewritten to use
sanity check.
(gdm_greeter_file_check): New function. Checks file size,
ownership etc. to avoid DoS attacks on greeter.
1998-12-23 Martin Kasper Petersen <mkp@mkp.net>
* src/gdm.c (gdm_abort): New function for error logging and
aborting.
(gdm_config_parse): luser proof permissions checking on authdir.
* src/gdmgreeter.c: Several oddities fixed.
* src/gdmgreeter.c (gdm_greeter_buttons_init): Mark login button
as default.
* src/gdmgreeter.c (gdm_greeter_login_entry_handler): Fixed event
handlers to avoid the obscure emit_stop bug. Turns out my ancient
event handlers were doing the right thing all along. Only the
recent ones were br0ked. *sigh*. Thanks Owen!
1998-12-22 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_greet_init): Removed debug logging of
username and password. Ahem. Thanks Sopwith!
* src/gdmgreeter.c (gdm_greeter_login_entry_handler):
Fixes. gtk_signal_emit_stop_by_name workaround.
1998-12-20 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_invalid_passwd_req): Minor hack to
avoid greeter to be reactivated during dialog.
* src/(gdm_greeter_entry_init): Limit input length in login and
password entry fields.
* src/gdmslave.c (gdm_slave_greet_init): Avoid potential buffer
overflow, in case something/someone breaks greeter.
1998-12-15 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmverify.c (gdm_verify_user): Two buglets reported by
<kvajk@ricochet.net>.
1998-12-14 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_browser_unselect): Catch
BUTTON_RELEASE.
1998-12-13 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_{reboot,halt}_handler): Use
gnome_question_dialog instead of message_box.
1998-12-03 Martin Kasper Petersen <mkp@mkp.net>
* config/Makefile.am: Fixed gnomerc. Both path and INSTALL_SCRIPT
were wrong -- No wonder people have been complaining. *sigh*
* src/gdm.c (main): Abort with (xdm compliant :) error message if
gdm isn't started by root.
1998-12-01 Martin Kasper Petersen <mkp@mkp.net>
* docs/gdm-manual.txt: Crude manual draft.
* src/gdm.c, config/gdm.conf.in: The PreRoot and PostRoot
directories have been renamed PreSession and PostSession to avoid
confusion.
1998-11-30 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_message_init): Calls the enriched
string function on the message string to support ``Welcome to
<hostname>''. Need to supply both server and client macros.
* src/gdmmisc.c (gdm_parse_enriched_string): New function for %h
expansion in strings.
* src/gdmgreeter.c: Removed legacy labels and such. gettext takes
it from here.
* src/gdm.c (gdm_config_parse): Check for correct permissions on
vardir.
1998-11-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmgreeter.c (gdm_greeter_browser_init): IconList now starts
life in thawed mode.
1998-11-22 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_browser_select): Reverted to the
old event types (GDK_BUTTON_PRESS) for gnome-icon-list.
* src/gdmslave.c, src/gdmgreeter.c, src/gdm.c: Added support for
suspending APM-aware machines from greeter.
1998-11-20 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c: Fixed X server restart stuff. gdmslave rewrite
done.
* src/gdmslave.c, src/gdm.c, config/gdm.conf.in: Implemented
KillInitClients option (Requested by sct).
1998-11-18 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_display_init): Finally nailed down the
bug that has been haunting me for the past week causing
gdm_slave_windows_kill to hang on second login. The X server takes
a while to recover consciousness after a reset. I take this into
account by sleeping for a while if XOpenDisplay fails.
Unfortunately, dsp was already initialized in second run
(but invalid after the X server reset) causing my retry condition
to be ignored. Always check your pointers! *sigh*
So, the new gdm should be as fast as xdm (i.e. fewer resets
causing garbled displays and momentary flicker. Visual annoyances
beyond this point - Go bug the X server people).
SANE tutorial coming up in 6 hours. *Thud*
1998-11-09 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c More or less a rewrite.
1998-11-08 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_init): Add d->name when starting X
server.
* src/gdm.c (gdm_config_parse): Added intelligent AuthDir
searching and gdmLogDir. gdmLogFile deprecated.
* src/gdmslave.c (gdm_slave_init): Moved stdout, stderr logging
here. Logs are now per-display.
1998-11-08 Martin Kasper Petersen <mkp@mkp.net>
* #include<errno.h> in *.c.
1998-11-02 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_session_init): Reset display instead
of restarting the X server every time.
1998-11-01 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_session_init): If PreRoot script
returns > 0 abort session.
1998-10-31 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmauth.c (gdm_auth_user_add): New function.
(gdm_auth_user_remove): New function. ~/.Xauthority management.
1998-10-30 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmmisc.c (gdm_arg_munch): Zero out the remaining
argv-entries. We use the static array several times.
* src/gdmslave.c (gdm_slave_session_init): Removed malloc(pwent) -
Duh!.
* src/gdm.c (gdm_config_parse): Added group lookup. Removed
malloc(pwent).
1998-10-26 Martin Kasper Petersen <mkp@mkp.net>
* config/gdm.conf.in: New User and Group keys override NobodyUser
1998-10-21 Martin Kasper Petersen <mkp@mkp.net>
* src/gdm.c (gdm_restart_slave): Implemented reboot and halt.
* src/gdmverify.c: #ifdefs to make it compile on non PAM systems.
* src/Makefile.am (gdm_SOURCES): Added gdmmisc.c
* src/gdmmisc.c: Moved arg_much to a seperate file. It is now used
by both gdm.c and gdmslave.c.
1998-10-20 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c: Send STX through pipeline before sending a
command.
* src/gdmslave.c (gdm_slave_display_init): Added STX for greeter
communications to avoid problems with Gtk debug errors to stdout.
1998-10-19 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_browser_init): Added background
color in browser.
* src/gdmgreeter.c (gdm_greeter_browser_select): Change
GDK_BUTTON_PRESS to ditto RELEASE due to gil.
* src/gdmgreeter.c (main): Removed buggy icon list workaround.
(main): Center window before realizing it.
(gdm_greeter_browser_init): Added 3D frame to new icon list.
1998-10-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmgreeter.c (gdm_greeter_browser_init): Icon List is born
in frozen state, calling freeze and thaw leaves it still in frozen
state (as we have a frozen counter instead of a flag these days.).
1998-10-16 Christopher Blizzard <blizzard@appliedtheory.com>
* config/Makefile.am (install-data-hook): Make sure that
install-data-hook depends on targets gdm.conf gnomerc and Gnome.
Otherwise they are never built. Also, if the directories that
these files are supposed to go in don't exist, create them with
the proper mode.
1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmgreeter.c (gdm_greeter_login_entry_handler): Fix use of
the gnome_icon_list_moveto routine
(gdm_greeter_browser_update): ditto.
(gdm_greeter_browser_init): Adapt to the new gnome-icon-list api.
(gdm_greeter_login_entry_handler): Thaw before attempting to use moveto
Martin, is there any reason why you clear() the icon lists
contents and then reload them when the user changes from the login
field to the password one?
1998-10-13 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_exec_script): New function.
(gdm_slave_display_init): Add support for display init script.
(gdm_slave_session_init): Add support for root pre-login script.
(gdm_slave_session_init): Add support for root post-login script.
* src/gdm.c (gdm_config_parse): Added new config options for
scripts.
* config/gdm.conf.in ([daemon]): Default config options for
scripts.
1998-10-11 Martin Kasper Petersen <mkp@mkp.net>
* src/gdm.c (main): Redirect all output to a logfile.
* src/gdm.c (main): Moved the pid checking code to main to avoid
/sbin/init respawns. Checks whether gdm is started by init and
stops forking if this is the case (actually works this time).
* config/gdm.conf.in (PidFile): I've been ignoring all bug reports
caused by this one. Turns out I made a typo in the config template
file. *sigh*
1998-10-11 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
* src/Makefile.am (gdm_LDADD): Added '$(INTLLIBS).
(gdmgreeter_LDADD): Likewise.
1998-10-10 Martin Kasper Petersen <mkp@mkp.net>
* config/gdm.conf.in ([servers]): Modified to default X server
entry to exclude display depth option.
* config/Makefile.am (install-data-hook): Avoid overwriting
existing config files.
* acconfig.h: Added HAVE_PAM
* src/gdmverify.c (gdm_verify_user): Change USE_PAM to HAVE_PAM to
follow conventions.
* configure.in (have_pam): PAM autodetection.
1998-10-08 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_invalid_passwd_req): Set focus to
passwd field when auth fails.
* src/gdmslave.c: Finished the rewrite. Should be almost usable
again.
* config/Makefile.am: TODO: Need to find a way to prevent
overwriting gdm.conf when doing a make install.
1998-10-07 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_login): Completely new
communication scheme. Easier to parse in gdmslave.c.
1998-10-06 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmverify.c: New file. TODO: PAM detection in autoconf.
* src/gdmslave.c: Gave up on merging CVS and my .ch-work. Started
major rewrite instead.
* src/gdmgreeter.c: Removed `:' in pipe communication
protocol. Waste.
1998-10-05 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c: Fixed the race reported on gnome-list the right
way. The posted fix broke X USR1 signalling.
* src/gdmgreeter.c (gdm_greeter_about): Bumped version
number. Whee.
(gdm_greeter_done): New function. Partly replaces parse_results().
(gdm_greeter_login): Former login_button_handler. Now passes
password through pipe. Disables input while gdmslave is thinking.
(gdm_greeter_passwd_entry_handler): Replaced parse_results with
gdm_greeter_login to reflect the auth redesign.
(gdm_greeter_invalid_passwd_req): Re-enable input and reset cursor
after requester has been acked.
(main): Added signal handling for gdmslave communication.
1998-10-04 Martin Kasper Petersen <mkp@mkp.net>
* src/gdm.c: signal->sigaction stuff.
(gdm_daemonify): Moved openlog to main.
(main): Stop forking when ppid is init.
1998-10-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdmslave.c (gdm_slave_init): Setup the signal before
forking. FIXME: We need to use sigaction all over the place
instead of signal.
Thu Sep 24 22:09:39 CEST 1998 Jochen Friedrich <jochen@scram.de>
* src/gdmgreeter.c: Fixed a memory corruption.
1998-09-15 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmslave.c (gdm_slave_usr1_handler): Added support for
setting last session in ~/.gnome/gdm/session/last. I had forgotten
all about it after I removed it from greeter.
* src/gdm.c Gazillions of fixes
* src/gdmslave.c Gazillions of fixes
1998-09-14 Martin Kasper Petersen <mkp@mkp.net>
* src/gdmgreeter.c (gdm_greeter_verify_user): Replaced annoying
LOG_AUTH with LOG_ERR.
* config/Makefile.am: Changed _DATA to _SCRIPTS for gnomerc et al.
1998-09-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/gdm.c (gdm_config_parse): Simplify as well.
* src/gdmgreeter.c (gdm_greeter_user_alloc): Fix my oversimplication
from last night.
* src/gdmgreeter.c (gdm_greeter_user_alloc): More simplification
of the use of gnome-config. I think I really should document it.
* src/gdm.h (gdm_slave_init): Add prototype. Remove include to
gnome.h.
* src/gdmslave.c (gdm_slave_usr1_handler): Log errors when the
session can not be launched.
Simplify the includes.
* src/gdmgreeter.c (gdm_greeter_parse_config): Simplify the code
by using gnome_config_push_prefix
(gdm_greeter_parse_config): Do not strdup the resulting strings,
they are already dupped
(gdm_greeter_sessions_init): Removed dependency on static buffer
for s. Find correcly the default session.
Tue Sep 8 16:11:49 EDT 1998 Gregory McLean
* acconfig.h : added this file so one can cvs -z3 co gdm, cd gdm
./autogen.sh; make and have an executable be spit out.
|