summaryrefslogblamecommitdiffstats
path: root/x11/gdm/files/patch-daemon_gdmconsolekit.c
blob: b07647071d08d9b6cb07fa20e9911309ee26ec1a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                              
--- daemon/gdmconsolekit.c.orig 2007-08-30 22:57:18.000000000 -0400
+++ daemon/gdmconsolekit.c  2007-08-30 22:57:35.000000000 -0400
@@ -457,7 +457,7 @@ open_ck_session (struct passwd *pwent,
        char *device;
 
        /* FIXME: how does xorg construct this */
-       device = g_strdup_printf ("/dev/tty%d", d->vt);
+       device = g_strdup_printf ("/dev/ttyv%d", d->vt - 1);
        add_param_string (&iter_struct, "x11-display-device", device);
        g_free (device);
    }