Re: quartz-wm not passing ssh-agent env vars?
Re: quartz-wm not passing ssh-agent env vars?
- Subject: Re: quartz-wm not passing ssh-agent env vars?
- From: John Harper <email@hidden>
- Date: Mon, 13 Jan 2003 09:50:33 -0800
On Saturday, January 11, 2003, at 12:54 PM, Dan Rench wrote:
I just installed the Apple X11 public beta and am having trouble
getting ssh-agent working with it. My usual practice on other
Unix-like systems is to have ssh-agent launch the window manager,
so I tried the following in my ~/.xinitrc:
exec ssh-agent /usr/X11R6/bin/quartz-wm
A 'ps' shows that the agent is running:
% ps auwwx | grep 'ssh-agen[t]'
drench 5012 0.0 0.1 1592 148 ?? Ss 1:45PM 0:00.01
ssh-agent /usr/X11R6/bin/quartz-wm
...but the window manager isn't passing crucial env vars
(SSH_AUTH_SOCK,
SSH_AGENT_PID) to its child processes, so trying to run ssh-add in
an xterm results in "Could not open a connection to your authentication
agent."
The problem is that quartz-wm has no child processes, it's the X server
that spawns the commands in the Applications menu
So to make this work the way you want, you'll need to get the SSH_
variables into the initial environment of the X server, perhaps by
starting it by hand from a shell
John
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.