Lines 1-11
Link Here
|
1 |
--- src/x-server.c.orig 2018-08-30 00:28:55 UTC |
1 |
--- src/x-server.c.orig 2018-09-05 01:33:31 UTC |
2 |
+++ src/x-server.c |
2 |
+++ src/x-server.c |
3 |
@@ -152,10 +152,10 @@ x_server_connect_session (DisplayServer *display_serve |
3 |
@@ -152,10 +152,10 @@ x_server_connect_session (DisplayServer *display_serve |
4 |
g_autofree gchar *tty_text = NULL; |
4 |
g_autofree gchar *tty_text = NULL; |
5 |
g_autofree gchar *vt_text = NULL; |
5 |
g_autofree gchar *vt_text = NULL; |
6 |
|
6 |
|
7 |
- tty_text = g_strdup_printf ("/dev/tty%d", vt); |
7 |
- tty_text = g_strdup_printf ("/dev/tty%d", vt); |
8 |
+ tty_text = g_strdup_printf ("/dev/ttyv%d", vt - 1); |
8 |
+ tty_text = g_strdup_printf ("/dev/ttyv%x", vt - 1); |
9 |
session_set_tty (session, tty_text); |
9 |
session_set_tty (session, tty_text); |
10 |
|
10 |
|
11 |
- vt_text = g_strdup_printf ("%d", vt); |
11 |
- vt_text = g_strdup_printf ("%d", vt); |