diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-08-31 11:00:11 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-08-31 11:00:11 +0800 |
commit | 1912cfc41313214cb7d6758525b1b8c90d51dcd2 (patch) | |
tree | 2b776310bc5516ae162be521797d332fe91b3d09 | |
parent | f013056537548f4b6d4f685115e39d359e200579 (diff) | |
download | marcuscom-ports-1912cfc41313214cb7d6758525b1b8c90d51dcd2.tar marcuscom-ports-1912cfc41313214cb7d6758525b1b8c90d51dcd2.tar.gz marcuscom-ports-1912cfc41313214cb7d6758525b1b8c90d51dcd2.tar.bz2 marcuscom-ports-1912cfc41313214cb7d6758525b1b8c90d51dcd2.tar.lz marcuscom-ports-1912cfc41313214cb7d6758525b1b8c90d51dcd2.tar.xz marcuscom-ports-1912cfc41313214cb7d6758525b1b8c90d51dcd2.tar.zst marcuscom-ports-1912cfc41313214cb7d6758525b1b8c90d51dcd2.zip |
Tell ConsoleKite the correct ttyv device.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9499 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11/gdm/files/patch-daemon_gdmconsolekit.c | 11 |
1 files changed, 11 insertions, 0 deletions
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); + } |