We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39cc7db commit f0b2440Copy full SHA for f0b2440
1 file changed
src/lightdm.c
@@ -26,6 +26,7 @@
26
#include "display-manager-service.h"
27
#include "xdmcp-server.h"
28
#include "vnc-server.h"
29
+#include "vt.h"
30
#include "seat-xdmcp-session.h"
31
#include "seat-xvnc.h"
32
#include "x-server.h"
@@ -918,6 +919,10 @@ main (int argc, char **argv)
918
919
{
920
set_seat_properties (seat, NULL);
921
seat_set_property (seat, "exit-on-failure", "true");
922
+
923
+ /* in the absence of login1 we find out this using our own heuristics */
924
+ seat_set_can_tty (seat, vt_can_multi_seat ());
925
926
if (!display_manager_add_seat (display_manager, seat))
927
return EXIT_FAILURE;
928
}
0 commit comments