This file is indexed.

/usr/share/gtk-doc/html/lightdm-gobject-1/lightdm-gobject-1-Greeter-Interface.html is in liblightdm-gobject-dev 1.10.3-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LightDM Reference Manual: Greeter Interface</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="LightDM Reference Manual">
<link rel="up" href="core.html" title="Part I. liblightdm-gobject">
<link rel="prev" href="core.html" title="Part I. liblightdm-gobject">
<link rel="next" href="lightdm-gobject-1-Languages.html" title="Languages">
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#lightdm-gobject-1-Greeter-Interface.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="core.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="core.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="lightdm-gobject-1-Languages.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="lightdm-gobject-1-Greeter-Interface"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="lightdm-gobject-1-Greeter-Interface.top_of_page"></a>Greeter Interface</span></h2>
<p>Greeter Interface — Make a connection to the LightDM daemon and authenticate users</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="lightdm-gobject-1-Greeter-Interface.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#show-message" title="show_message ()">*show_message</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#show-prompt" title="show_prompt ()">*show_prompt</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#authentication-complete" title="authentication_complete ()">*authentication_complete</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#autologin-timer-expired" title="autologin_timer_expired ()">*autologin_timer_expired</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">LightDMGreeter</span> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-new" title="lightdm_greeter_new ()">lightdm_greeter_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-connect-sync" title="lightdm_greeter_connect_sync ()">lightdm_greeter_connect_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-ensure-shared-data-dir-sync" title="lightdm_greeter_ensure_shared_data_dir_sync ()">lightdm_greeter_ensure_shared_data_dir_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-default-session-hint" title="lightdm_greeter_get_default_session_hint ()">lightdm_greeter_get_default_session_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-hint" title="lightdm_greeter_get_hint ()">lightdm_greeter_get_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-lock-hint" title="lightdm_greeter_get_lock_hint ()">lightdm_greeter_get_lock_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-has-guest-account-hint" title="lightdm_greeter_get_has_guest_account_hint ()">lightdm_greeter_get_has_guest_account_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-hide-users-hint" title="lightdm_greeter_get_hide_users_hint ()">lightdm_greeter_get_hide_users_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-show-manual-login-hint" title="lightdm_greeter_get_show_manual_login_hint ()">lightdm_greeter_get_show_manual_login_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-show-remote-login-hint" title="lightdm_greeter_get_show_remote_login_hint ()">lightdm_greeter_get_show_remote_login_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-select-user-hint" title="lightdm_greeter_get_select_user_hint ()">lightdm_greeter_get_select_user_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-select-guest-hint" title="lightdm_greeter_get_select_guest_hint ()">lightdm_greeter_get_select_guest_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-autologin-user-hint" title="lightdm_greeter_get_autologin_user_hint ()">lightdm_greeter_get_autologin_user_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-autologin-guest-hint" title="lightdm_greeter_get_autologin_guest_hint ()">lightdm_greeter_get_autologin_guest_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-autologin-timeout-hint" title="lightdm_greeter_get_autologin_timeout_hint ()">lightdm_greeter_get_autologin_timeout_hint</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-set-language" title="lightdm_greeter_set_language ()">lightdm_greeter_set_language</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-cancel-autologin" title="lightdm_greeter_cancel_autologin ()">lightdm_greeter_cancel_autologin</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-authenticate" title="lightdm_greeter_authenticate ()">lightdm_greeter_authenticate</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-authenticate-as-guest" title="lightdm_greeter_authenticate_as_guest ()">lightdm_greeter_authenticate_as_guest</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-authenticate-autologin" title="lightdm_greeter_authenticate_autologin ()">lightdm_greeter_authenticate_autologin</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-authenticate-remote" title="lightdm_greeter_authenticate_remote ()">lightdm_greeter_authenticate_remote</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-respond" title="lightdm_greeter_respond ()">lightdm_greeter_respond</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-cancel-authentication" title="lightdm_greeter_cancel_authentication ()">lightdm_greeter_cancel_authentication</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-in-authentication" title="lightdm_greeter_get_in_authentication ()">lightdm_greeter_get_in_authentication</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-is-authenticated" title="lightdm_greeter_get_is_authenticated ()">lightdm_greeter_get_is_authenticated</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-get-authentication-user" title="lightdm_greeter_get_authentication_user ()">lightdm_greeter_get_authentication_user</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="lightdm-gobject-1-Greeter-Interface.html#lightdm-greeter-start-session-sync" title="lightdm_greeter_start_session_sync ()">lightdm_greeter_start_session_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="lightdm-gobject-1-Greeter-Interface.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#LightDMMessageType" title="enum LightDMMessageType">LightDMMessageType</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#LightDMPromptType" title="enum LightDMPromptType">LightDMPromptType</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="lightdm-gobject-1-Greeter-Interface.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;lightdm.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="lightdm-gobject-1-Greeter-Interface.description"></a><h2>Description</h2>
<p>
<span class="type">LightDMGreeter</span> is an object that manages the connection to the LightDM server and provides common greeter functionality.
</p>
<p>
</p>
<div class="example">
<a name="id-1.2.2.6.3.1"></a><p class="title"><b>Example 1. Example Greeter</b></p>
<div class="example-contents"><pre class="programlisting">
int main ()
{
    GMainLoop *main_loop;
    LightDMGreeter *greeter
    main_loop = g_main_loop_new ();
    greeter = lightdm_greeter_new ();
    g_object_connect (greeter, "show-prompt", G_CALLBACK (show_prompt_cb), NULL);
    g_object_connect (greeter, "authentication-complete", G_CALLBACK (authentication_complete_cb), NULL);
    // Connect to LightDM daemon
    if (!lightdm_greeter_connect_sync (greeter, NULL))
        return EXIT_FAILURE;
    // Start authentication
    lightdm_greeter_authenticate (greeter, NULL);
    g_main_loop_run (main_loop);
    return EXIT_SUCCESS;
}
static void show_prompt_cb (LightDMGreeter *greeter, const char *text, LightDMPromptType type)
{
    // Show the user the message and prompt for some response
    gchar *secret = prompt_user (text, type);
    // Give the result to the user
    lightdm_greeter_respond (greeter, response);
}
static void authentication_complete_cb (LightDMGreeter *greeter)
{
    // Start the session
    if (!lightdm_greeter_get_is_authenticated (greeter) ||
        !lightdm_greeter_start_session_sync (greeter, NULL))
    {
        // Failed authentication, try again
        lightdm_greeter_authenticate (greeter, NULL);
    }
}
</pre></div>
</div>
<p><br class="example-break">
</p>
</div>
<div class="refsect1">
<a name="lightdm-gobject-1-Greeter-Interface.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="show-message"></a><h3>show_message ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*show_message<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>,
                 <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
                 <em class="parameter"><code><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#LightDMMessageType" title="enum LightDMMessageType"><span class="type">LightDMMessageType</span></a> type</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="show-prompt"></a><h3>show_prompt ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*show_prompt<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>,
                <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
                <em class="parameter"><code><a class="link" href="lightdm-gobject-1-Greeter-Interface.html#LightDMPromptType" title="enum LightDMPromptType"><span class="type">LightDMPromptType</span></a> type</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="authentication-complete"></a><h3>authentication_complete ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*authentication_complete<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="autologin-timer-expired"></a><h3>autologin_timer_expired ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*autologin_timer_expired<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-new"></a><h3>lightdm_greeter_new ()</h3>
<pre class="programlisting"><span class="returnvalue">LightDMGreeter</span> *
lightdm_greeter_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Create a new greeter.</p>
<div class="refsect3">
<a name="id-1.2.2.7.6.5"></a><h4>Returns</h4>
<p> the new <span class="type">LightDMGreeter</span></p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-connect-sync"></a><h3>lightdm_greeter_connect_sync ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
lightdm_greeter_connect_sync (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>,
                              <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Connects the greeter to the display manager.  Will block until connected.</p>
<div class="refsect3">
<a name="id-1.2.2.7.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>The greeter to connect</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.7.6"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if successfully connected</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-ensure-shared-data-dir-sync"></a><h3>lightdm_greeter_ensure_shared_data_dir_sync ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
lightdm_greeter_ensure_shared_data_dir_sync
                               (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>,
                                <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>);</pre>
<p>Ensure that a shared data dir for the given user is available.  Both the
greeter user and <em class="parameter"><code>username</code></em>
 will have write access to that folder.  The
intention is that larger pieces of shared data would be stored there (files
that the greeter creates but wants to give to a user -- like camera
photos -- or files that the user creates but wants the greeter to
see -- like contact avatars).</p>
<p>LightDM will automatically create these if the user actually logs in, so
greeters only need to call this method if they want to store something in
the directory themselves.</p>
<div class="refsect3">
<a name="id-1.2.2.7.8.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>username</p></td>
<td class="parameter_description"><p>A username</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.8.7"></a><h4>Returns</h4>
<p> The path to the shared directory, free with g_free.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-default-session-hint"></a><h3>lightdm_greeter_get_default_session_hint ()</h3>
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
lightdm_greeter_get_default_session_hint
                               (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Get the default session to use.</p>
<div class="refsect3">
<a name="id-1.2.2.7.9.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.9.6"></a><h4>Returns</h4>
<p> The session name</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-hint"></a><h3>lightdm_greeter_get_hint ()</h3>
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
lightdm_greeter_get_hint (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>,
                          <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>Get a hint.</p>
<div class="refsect3">
<a name="id-1.2.2.7.10.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>The hint name to query.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.10.6"></a><h4>Returns</h4>
<p> The value for this hint or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if not set.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-lock-hint"></a><h3>lightdm_greeter_get_lock_hint ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
lightdm_greeter_get_lock_hint (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Check if the greeter is acting as a lock screen.</p>
<div class="refsect3">
<a name="id-1.2.2.7.11.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.11.6"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the greeter was triggered by locking the seat.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-has-guest-account-hint"></a><h3>lightdm_greeter_get_has_guest_account_hint ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
lightdm_greeter_get_has_guest_account_hint
                               (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Check if guest sessions are supported.</p>
<div class="refsect3">
<a name="id-1.2.2.7.12.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.12.6"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if guest sessions are supported.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-hide-users-hint"></a><h3>lightdm_greeter_get_hide_users_hint ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
lightdm_greeter_get_hide_users_hint (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Check if user accounts should be shown.  If this is TRUE then the list of
accounts should be taken from <span class="type">LightDMUserList</span> and displayed in the greeter
for the user to choose from.  Note that this list can be empty and it is
recommended you show a method for the user to enter a username manually.</p>
<p>If this option is shown the greeter should only allow these users to be
chosen for login unless the manual login hint is set.</p>
<div class="refsect3">
<a name="id-1.2.2.7.13.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.13.7"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the available users should not be shown.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-show-manual-login-hint"></a><h3>lightdm_greeter_get_show_manual_login_hint ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
lightdm_greeter_get_show_manual_login_hint
                               (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Check if a manual login option should be shown.  If set the GUI
should provide a way for a username to be entered manually.
Without this hint a greeter which is showing a user list can
limit logins to only those users.</p>
<div class="refsect3">
<a name="id-1.2.2.7.14.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.14.6"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if a manual login option should be shown.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-show-remote-login-hint"></a><h3>lightdm_greeter_get_show_remote_login_hint ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
lightdm_greeter_get_show_remote_login_hint
                               (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Check if a remote login option should be shown.  If set the GUI
should provide a way for a user to log into a remote desktop server.</p>
<div class="refsect3">
<a name="id-1.2.2.7.15.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.15.6"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if a remote login option should be shown.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-select-user-hint"></a><h3>lightdm_greeter_get_select_user_hint ()</h3>
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
lightdm_greeter_get_select_user_hint (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Get the user to select by default.</p>
<div class="refsect3">
<a name="id-1.2.2.7.16.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.16.6"></a><h4>Returns</h4>
<p> A username</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-select-guest-hint"></a><h3>lightdm_greeter_get_select_guest_hint ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
lightdm_greeter_get_select_guest_hint (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Check if the guest account should be selected by default.</p>
<div class="refsect3">
<a name="id-1.2.2.7.17.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.17.6"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the guest account should be selected by default.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-autologin-user-hint"></a><h3>lightdm_greeter_get_autologin_user_hint ()</h3>
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
lightdm_greeter_get_autologin_user_hint
                               (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Get the user account to automatically logg into when the timer expires.</p>
<div class="refsect3">
<a name="id-1.2.2.7.18.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.18.6"></a><h4>Returns</h4>
<p> The user account to automatically log into.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-autologin-guest-hint"></a><h3>lightdm_greeter_get_autologin_guest_hint ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
lightdm_greeter_get_autologin_guest_hint
                               (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Check if the guest account should be automatically logged into when the timer expires.</p>
<div class="refsect3">
<a name="id-1.2.2.7.19.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.19.6"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the guest account should be automatically logged into.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-autologin-timeout-hint"></a><h3>lightdm_greeter_get_autologin_timeout_hint ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
lightdm_greeter_get_autologin_timeout_hint
                               (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Get the number of seconds to wait before automaitcally logging in.</p>
<div class="refsect3">
<a name="id-1.2.2.7.20.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.20.6"></a><h4>Returns</h4>
<p> The number of seconds to wait before automatically logging in or 0 for no timeout.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-set-language"></a><h3>lightdm_greeter_set_language ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
lightdm_greeter_set_language (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>,
                              <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *language</code></em>);</pre>
<p>Set the language for the currently authenticated user.</p>
<div class="refsect3">
<a name="id-1.2.2.7.21.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>language</p></td>
<td class="parameter_description"><p>The language to use for this user in the form of a locale specification (e.g. "de_DE.UTF-8").</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-cancel-autologin"></a><h3>lightdm_greeter_cancel_autologin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
lightdm_greeter_cancel_autologin (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Cancel the automatic login.</p>
<div class="refsect3">
<a name="id-1.2.2.7.22.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-authenticate"></a><h3>lightdm_greeter_authenticate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
lightdm_greeter_authenticate (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>,
                              <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>);</pre>
<p>Starts the authentication procedure for a user.</p>
<div class="refsect3">
<a name="id-1.2.2.7.23.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>username</p></td>
<td class="parameter_description"><p> A username or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> to prompt for a username. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-authenticate-as-guest"></a><h3>lightdm_greeter_authenticate_as_guest ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
lightdm_greeter_authenticate_as_guest (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Starts the authentication procedure for the guest user.</p>
<div class="refsect3">
<a name="id-1.2.2.7.24.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-authenticate-autologin"></a><h3>lightdm_greeter_authenticate_autologin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
lightdm_greeter_authenticate_autologin
                               (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Starts the authentication procedure for the automatic login user.</p>
<div class="refsect3">
<a name="id-1.2.2.7.25.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-authenticate-remote"></a><h3>lightdm_greeter_authenticate_remote ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
lightdm_greeter_authenticate_remote (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>,
                                     <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *session</code></em>,
                                     <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *username</code></em>);</pre>
<p>Start authentication for a remote session type.</p>
<div class="refsect3">
<a name="id-1.2.2.7.26.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>session</p></td>
<td class="parameter_description"><p>The name of a remote session</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>username</p></td>
<td class="parameter_description"><p> A username of <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> to prompt for a username. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-respond"></a><h3>lightdm_greeter_respond ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
lightdm_greeter_respond (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>,
                         <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *response</code></em>);</pre>
<p>Provide response to a prompt.  May be one in a series.</p>
<div class="refsect3">
<a name="id-1.2.2.7.27.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>response</p></td>
<td class="parameter_description"><p>Response to a prompt</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-cancel-authentication"></a><h3>lightdm_greeter_cancel_authentication ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
lightdm_greeter_cancel_authentication (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Cancel the current user authentication.</p>
<div class="refsect3">
<a name="id-1.2.2.7.28.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-in-authentication"></a><h3>lightdm_greeter_get_in_authentication ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
lightdm_greeter_get_in_authentication (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Checks if the greeter is in the process of authenticating.</p>
<div class="refsect3">
<a name="id-1.2.2.7.29.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.29.6"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the greeter is authenticating a user.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-is-authenticated"></a><h3>lightdm_greeter_get_is_authenticated ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
lightdm_greeter_get_is_authenticated (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Checks if the greeter has successfully authenticated.</p>
<div class="refsect3">
<a name="id-1.2.2.7.30.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.30.6"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the greeter is authenticated for login.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-get-authentication-user"></a><h3>lightdm_greeter_get_authentication_user ()</h3>
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
lightdm_greeter_get_authentication_user
                               (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>);</pre>
<p>Get the user that is being authenticated.</p>
<div class="refsect3">
<a name="id-1.2.2.7.31.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.31.6"></a><h4>Returns</h4>
<p> The username of the authentication user being authenticated or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if no authentication in progress.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="lightdm-greeter-start-session-sync"></a><h3>lightdm_greeter_start_session_sync ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
lightdm_greeter_start_session_sync (<em class="parameter"><code><span class="type">LightDMGreeter</span> *greeter</code></em>,
                                    <em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *session</code></em>,
                                    <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Start a session for the authenticated user.</p>
<div class="refsect3">
<a name="id-1.2.2.7.32.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>greeter</p></td>
<td class="parameter_description"><p>A <span class="type">LightDMGreeter</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>session</p></td>
<td class="parameter_description"><p> The session to log into or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> to use the default. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.7.32.6"></a><h4>Returns</h4>
<p> TRUE if the session was started.</p>
<p></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="lightdm-gobject-1-Greeter-Interface.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="LightDMMessageType"></a><h3>enum LightDMMessageType</h3>
<div class="refsect3">
<a name="id-1.2.2.8.2.3"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="LIGHTDM-MESSAGE-TYPE-INFO:CAPS"></a>LIGHTDM_MESSAGE_TYPE_INFO</p></td>
<td class="enum_member_description">
<p>Informational message.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="LIGHTDM-MESSAGE-TYPE-ERROR:CAPS"></a>LIGHTDM_MESSAGE_TYPE_ERROR</p></td>
<td class="enum_member_description">
<p>Error message.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="LightDMPromptType"></a><h3>enum LightDMPromptType</h3>
<div class="refsect3">
<a name="id-1.2.2.8.3.3"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="LIGHTDM-PROMPT-TYPE-QUESTION:CAPS"></a>LIGHTDM_PROMPT_TYPE_QUESTION</p></td>
<td class="enum_member_description">
<p>Prompt is a question.  The information can be shown as it is entered.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="LIGHTDM-PROMPT-TYPE-SECRET:CAPS"></a>LIGHTDM_PROMPT_TYPE_SECRET</p></td>
<td class="enum_member_description">
<p>Prompt is for secret information.  The entered information should be obscured so it can't be publically visible.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.21</div>
</body>
</html>