On Fri, Jan 13, 2012 at 09:05:48AM +0100, Denny Schierz wrote: > hi, > > Am 12.01.2012 um 23:11 schrieb Andrei Popescu: > > > On Jo, 12 ian 12, 12:58:42, Denny Schierz wrote: > >> > >> What could be the problem? > > > > Your display manager doesn't source the system shell configuration > > files. If you need a solution per user put that stuff in ~/.xsessionrc > > otherwise move the file under /etc/X11/Xsession.d/ > > nope, that isn't the problem. The ssh-agent resets the variable. > Disable ssh-agent in /etc/X11/Xsession.options and it works (again). > My display-manager is GDM2.
I do not know if you understood the meaning of what Andrei said. At least "nope" is a wrong statement. If you read | $ cat /etc/X11/Xsession.options | # $Id: Xsession.options 189 2005-06-11 00:04:27Z branden $ | # | # configuration options for /etc/X11/Xsession | # See Xsession.options(5) for an explanation of the available options. | allow-failsafe | allow-user-resources | allow-user-xsession | use-ssh-agent | use-session-dbus Then you should know this is for /etc/X11/Xsession. And browsing /etc/X11/Xsession indicate this script runs script files under /etc/X11/Xsession.d/ with run-parts fashon. The ssh-agent script is just one of them. So if you put a shell sourceable file in /etc/X11/Xsession.d/ after 90gpg-agent 90x11-common_ssh-agent but before 99x11-common_start then that your set-up will not be reset by ssh-agent. So name it like 99x11-common_ssh-agent-environment This is what Andrei ment while assuming you knew roughly how X starting process works. Good luck. Osamu -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120113163855.GA9452@localhost