<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://mail.knoppix.net/wiki3/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://mail.knoppix.net/wiki3/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mapadi</id>
		<title>Knoppix Documentation Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://mail.knoppix.net/wiki3/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mapadi"/>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Special:Contributions/Mapadi"/>
		<updated>2026-09-17T23:43:06Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://mail.knoppix.net/wiki/Ssh-agent_and_KNOPPIX</id>
		<title>Ssh-agent and KNOPPIX</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Ssh-agent_and_KNOPPIX"/>
				<updated>2007-03-08T17:24:46Z</updated>
		
		<summary type="html">&lt;p&gt;Mapadi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to use [[http://www.deadman.org/ssh-tut.html ssh-agent]] with Knoppix, or any system, you want it&lt;br /&gt;
to be started up during X11 initialization so the right environment variables are inherited by&lt;br /&gt;
all applications.  In order to do this with KNOPPIX you should....&lt;br /&gt;
&lt;br /&gt;
...you have to flail around the Internet or the documentation hoping to run across an up-to-date answer that works.  So far you won't find it here.&lt;br /&gt;
&lt;br /&gt;
But I do offer ''the story so far'' in hopes that it will attract attention here and get this page updated with the right answer.&lt;br /&gt;
&lt;br /&gt;
One informative site, with answers that at least used to work with SUSE linux are at http://www.topology.org/linux/kde.html&lt;br /&gt;
But there is no $HOME/.xsession file in KNOPPIX 3.4, it doesn't seem to read it if it is there, and there no model to work from at /etc/X11/xdm/sys.xsession&lt;br /&gt;
&lt;br /&gt;
/etc/X11/Xsession.options already has &amp;quot;use-ssh-agent&amp;quot; but that seems ignored.&lt;br /&gt;
&lt;br /&gt;
A friend writes:  It looks like it is trying to do the right thing and use ssh,&lt;br /&gt;
but I think it is configured wrong.&lt;br /&gt;
There is a directory /etc/X11/xsession.d, and in that dir are a bunch of&lt;br /&gt;
scripts whose names start with 2 digit numbers.  xsession runs those scripts&lt;br /&gt;
one at a time.  There are a couple (why two?) of scripts that setup ssh.&lt;br /&gt;
Unfortunately, their numbers are greater than 50, and 50 is the number of the&lt;br /&gt;
script that actually starts all the X stuff.  It looks to me like the script&lt;br /&gt;
numbered 50 should be renamed to 99 for ssh to work right.&lt;br /&gt;
&lt;br /&gt;
In KNOPPIX version 3.4, the situation is a bit different, but with the&lt;br /&gt;
same effect.    The file 45xsession starts X11 up, and doesn't use&lt;br /&gt;
the $STARTUP convention used by latter scripts like 90xfree86-common_ssh-agent&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
A freedesktop.org standard for how to incorporate ssh-agent would seem&lt;br /&gt;
like a good idea.  See e.g. http://freedesktop.org/pipermail/xdg/2003-May/001639.html&lt;br /&gt;
&lt;br /&gt;
help...&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
2007-03-08: if you don't want to break the knoppix startup sequence, a quick hack would be to change the /etc/X11/xinit/xinitrc:&lt;br /&gt;
&lt;br /&gt;
change&lt;br /&gt;
&lt;br /&gt;
. /etc/X11/Xsession&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
ssh-agent /etc/X11/Xsession&lt;br /&gt;
&lt;br /&gt;
hope it helps..&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Useful Linux Commands]]&lt;br /&gt;
[[Category: Networking]]&lt;/div&gt;</summary>
		<author><name>Mapadi</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Ssh-agent_and_KNOPPIX</id>
		<title>Ssh-agent and KNOPPIX</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Ssh-agent_and_KNOPPIX"/>
				<updated>2007-03-08T17:24:17Z</updated>
		
		<summary type="html">&lt;p&gt;Mapadi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to use [[http://www.deadman.org/ssh-tut.html ssh-agent]] with Knoppix, or any system, you want it&lt;br /&gt;
to be started up during X11 initialization so the right environment variables are inherited by&lt;br /&gt;
all applications.  In order to do this with KNOPPIX you should....&lt;br /&gt;
&lt;br /&gt;
...you have to flail around the Internet or the documentation hoping to run across an up-to-date answer that works.  So far you won't find it here.&lt;br /&gt;
&lt;br /&gt;
But I do offer ''the story so far'' in hopes that it will attract attention here and get this page updated with the right answer.&lt;br /&gt;
&lt;br /&gt;
One informative site, with answers that at least used to work with SUSE linux are at http://www.topology.org/linux/kde.html&lt;br /&gt;
But there is no $HOME/.xsession file in KNOPPIX 3.4, it doesn't seem to read it if it is there, and there no model to work from at /etc/X11/xdm/sys.xsession&lt;br /&gt;
&lt;br /&gt;
/etc/X11/Xsession.options already has &amp;quot;use-ssh-agent&amp;quot; but that seems ignored.&lt;br /&gt;
&lt;br /&gt;
A friend writes:  It looks like it is trying to do the right thing and use ssh,&lt;br /&gt;
but I think it is configured wrong.&lt;br /&gt;
There is a directory /etc/X11/xsession.d, and in that dir are a bunch of&lt;br /&gt;
scripts whose names start with 2 digit numbers.  xsession runs those scripts&lt;br /&gt;
one at a time.  There are a couple (why two?) of scripts that setup ssh.&lt;br /&gt;
Unfortunately, their numbers are greater than 50, and 50 is the number of the&lt;br /&gt;
script that actually starts all the X stuff.  It looks to me like the script&lt;br /&gt;
numbered 50 should be renamed to 99 for ssh to work right.&lt;br /&gt;
&lt;br /&gt;
In KNOPPIX version 3.4, the situation is a bit different, but with the&lt;br /&gt;
same effect.    The file 45xsession starts X11 up, and doesn't use&lt;br /&gt;
the $STARTUP convention used by latter scripts like 90xfree86-common_ssh-agent&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
A freedesktop.org standard for how to incorporate ssh-agent would seem&lt;br /&gt;
like a good idea.  See e.g. http://freedesktop.org/pipermail/xdg/2003-May/001639.html&lt;br /&gt;
&lt;br /&gt;
help...&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
2007-03-08: if you don't want to break the knoppix startup sequence, a quick hack would be to change the /etc/X11/xinit/xinitrc:&lt;br /&gt;
&lt;br /&gt;
change&lt;br /&gt;
&lt;br /&gt;
. /etc/X11/Xsession&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
ssh-agent /etc/X11/Xsession&lt;br /&gt;
&lt;br /&gt;
hope it helps..&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Useful Linux Commands]]&lt;br /&gt;
[[Category: Networking]]&lt;/div&gt;</summary>
		<author><name>Mapadi</name></author>	</entry>

	<entry>
		<id>https://mail.knoppix.net/wiki/Ssh-agent_and_KNOPPIX</id>
		<title>Ssh-agent and KNOPPIX</title>
		<link rel="alternate" type="text/html" href="https://mail.knoppix.net/wiki/Ssh-agent_and_KNOPPIX"/>
				<updated>2007-03-08T17:23:41Z</updated>
		
		<summary type="html">&lt;p&gt;Mapadi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to use [[http://www.deadman.org/ssh-tut.html ssh-agent]] with Knoppix, or any system, you want it&lt;br /&gt;
to be started up during X11 initialization so the right environment variables are inherited by&lt;br /&gt;
all applications.  In order to do this with KNOPPIX you should....&lt;br /&gt;
&lt;br /&gt;
...you have to flail around the Internet or the documentation hoping to run across an up-to-date answer that works.  So far you won't find it here.&lt;br /&gt;
&lt;br /&gt;
But I do offer ''the story so far'' in hopes that it will attract attention here and get this page updated with the right answer.&lt;br /&gt;
&lt;br /&gt;
One informative site, with answers that at least used to work with SUSE linux are at http://www.topology.org/linux/kde.html&lt;br /&gt;
But there is no $HOME/.xsession file in KNOPPIX 3.4, it doesn't seem to read it if it is there, and there no model to work from at /etc/X11/xdm/sys.xsession&lt;br /&gt;
&lt;br /&gt;
/etc/X11/Xsession.options already has &amp;quot;use-ssh-agent&amp;quot; but that seems ignored.&lt;br /&gt;
&lt;br /&gt;
A friend writes:  It looks like it is trying to do the right thing and use ssh,&lt;br /&gt;
but I think it is configured wrong.&lt;br /&gt;
There is a directory /etc/X11/xsession.d, and in that dir are a bunch of&lt;br /&gt;
scripts whose names start with 2 digit numbers.  xsession runs those scripts&lt;br /&gt;
one at a time.  There are a couple (why two?) of scripts that setup ssh.&lt;br /&gt;
Unfortunately, their numbers are greater than 50, and 50 is the number of the&lt;br /&gt;
script that actually starts all the X stuff.  It looks to me like the script&lt;br /&gt;
numbered 50 should be renamed to 99 for ssh to work right.&lt;br /&gt;
&lt;br /&gt;
In KNOPPIX version 3.4, the situation is a bit different, but with the&lt;br /&gt;
same effect.    The file 45xsession starts X11 up, and doesn't use&lt;br /&gt;
the $STARTUP convention used by latter scripts like 90xfree86-common_ssh-agent&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
A freedesktop.org standard for how to incorporate ssh-agent would seem&lt;br /&gt;
like a good idea.  See e.g. http://freedesktop.org/pipermail/xdg/2003-May/001639.html&lt;br /&gt;
&lt;br /&gt;
help...&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
2007-03-08: if you don't want to break the knoppix startup sequence, &lt;br /&gt;
a quick hack would be to change the /etc/X11/xinit/xinitrc:&lt;br /&gt;
&lt;br /&gt;
change&lt;br /&gt;
. /etc/X11/Xsession&lt;br /&gt;
to&lt;br /&gt;
ssh-agent /etc/X11/Xsession&lt;br /&gt;
&lt;br /&gt;
hope it helps..&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Useful Linux Commands]]&lt;br /&gt;
[[Category: Networking]]&lt;/div&gt;</summary>
		<author><name>Mapadi</name></author>	</entry>

	</feed>