From 1912cfc41313214cb7d6758525b1b8c90d51dcd2 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 31 Aug 2007 03:00:11 +0000 Subject: Tell ConsoleKite the correct ttyv device. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9499 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/gdm/files/patch-daemon_gdmconsolekit.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 x11/gdm/files/patch-daemon_gdmconsolekit.c diff --git a/x11/gdm/files/patch-daemon_gdmconsolekit.c b/x11/gdm/files/patch-daemon_gdmconsolekit.c new file mode 100644 index 000000000..b07647071 --- /dev/null +++ b/x11/gdm/files/patch-daemon_gdmconsolekit.c @@ -0,0 +1,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); + } -- cgit v1.2.3