summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2003-07-11 21:34:45 +0000
committerGeorge Lebl <jirka@src.gnome.org>2003-07-11 21:34:45 +0000
commit0e5348aae99f6f7f2e517d05b4cebfe5a497c0ad (patch)
treee7ea46372c076f34ff2f0c81d31d71638d9766ac /utils
parent0b6c5a106c8ef2a84a8ed285e801c3c6c53340b9 (diff)
downloadgdm-0e5348aae99f6f7f2e517d05b4cebfe5a497c0ad.tar.gz
using /tmp as failsafe for HOME seems on second thought patently bad for
Fri Jul 11 14:31:20 2003 George Lebl <jirka@5z.com> * daemon/errorgui.c, daemon/server.c, daemon/slave.c: using /tmp as failsafe for HOME seems on second thought patently bad for security. Use ServAuthDir for gdm processes and / again for user and server. * daemon/errorgui.c: Use GtkTextView for the details file display. this be much nicer to CPU/network traffic if the details file is big (GtkLabel is BAD for displaying 500 lines of text quite apparently). Also fixup encoding conversion issues, and use checkbox instead of a button. * gui/greeter/greeter.[ch], gui/greeter/greeter_item_pam.c: update the use of login protocol to sync with gdmlogin * daemon/misc.[ch], daemon/auth.c, daemon/gdm.c, daemon/slave.c: be extra careful even in users home dir and in ServAuthDir when opening files. Not a huge deal but prevents some possible damage if someone gains the gdm user access somehow. * daemon/misc.c: fix minor memleak on conversion errors * gui/modules/dwellmouselistener.c, gui/modules/keymouselistener.c: fix compiler warnings. * daemon/server.c: support XFree86 version 4 logfile format * config/XKeepsCrashing: For XFree86 v4 it's possible that X puts its log not on the command line but into a file, so ask if that should be viewed as well. * daemon/gdm.c: whack the stored_path stuff and just restore to the initial env before re execing, also restore env when we launch XKeepsCrashing * utils/gdmopen.c: on linux set TERM=linux otherwise the fonts just may not work right * NEWS: update
Diffstat (limited to 'utils')
-rw-r--r--utils/gdmopen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/gdmopen.c b/utils/gdmopen.c
index 43571baa..967dd053 100644
--- a/utils/gdmopen.c
+++ b/utils/gdmopen.c
@@ -154,6 +154,10 @@ main (int argc, char *argv[])
if (child_pid == 0) {
char VT_NUMBER[256];
+#ifdef __linux__
+ putenv ("TERM=linux");
+#endif
+
snprintf (VT_NUMBER, sizeof (VT_NUMBER), "VT_NUMBER=%d", vtno);
putenv (VT_NUMBER);