From aa2286ea7323b56dbcd42e2fdc5ee98bc193bdd6 Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Fri, 12 May 2000 14:16:49 +0000 Subject: * use /etc/X11/Xsession for gnome sessions. --- sbin/chksession | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/chksession') diff --git a/sbin/chksession b/sbin/chksession index db3bdd4..77a067d 100644 --- a/sbin/chksession +++ b/sbin/chksession @@ -108,8 +108,8 @@ if ($gdm) { for my $file (@lf) { open FH, ">/etc/X11/gdm/Sessions/$file" or die "Can't write to /etc/X11/gdm/Sessions/$file\n"; - print FH "#!/bin/sh"; - print FH $script{$file}; + print FH "#!/bin/sh\n"; + print FH "exec /etc/X11/Xsession $file\n"; close FH; chmod 0755, $file; } -- cgit v1.2.1