Workaround ssh agent not autostarted properly.

ubuntu/bionic
Julien Lavergne 12 years ago
parent d40f118e9d
commit 0606fa4a68

1
debian/changelog vendored

@ -5,6 +5,7 @@ lubuntu-default-settings (0.30) UNRELEASED; urgency=low
- Use Ubuntu font in lxterminal.
* usr/bin/startlubuntu*
- Install the lxterminal configuration file.
- Workaround ssh agent not autostarted properly.
* usr/share/lubuntu/openbox/rc.xml
- Add shortcuts for windows tiling (SuperKey + the direction).
- Set drawContents to "no" on resize, to reduce the use of resize.

@ -76,5 +76,14 @@ if which gnome-keyring-daemon >/dev/null; then
export $(/usr/bin/gnome-keyring-daemon --start --components=ssh)
fi
# Start SSH agent, require since 3.5
# (see https://wiki.archlinux.org/index.php/Openbox#SSH_agent_no_longer_starting)
SSHAGENT="/usr/bin/ssh-agent"
SSHAGENTARGS="-s"
if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then
eval `$SSHAGENT $SSHAGENTARGS`
trap "kill $SSH_AGENT_PID" 0
fi
# Start the LXDE session
exec /usr/bin/lxsession -s Lubuntu -e LXDE

@ -76,5 +76,14 @@ if which gnome-keyring-daemon >/dev/null; then
export $(/usr/bin/gnome-keyring-daemon --start --components=ssh)
fi
# Start SSH agent, require since 3.5
# (see https://wiki.archlinux.org/index.php/Openbox#SSH_agent_no_longer_starting)
SSHAGENT="/usr/bin/ssh-agent"
SSHAGENTARGS="-s"
if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then
eval `$SSHAGENT $SSHAGENTARGS`
trap "kill $SSH_AGENT_PID" 0
fi
# Start the LXDE session
exec /usr/bin/lxsession -s Lubuntu-Netbook -e LXDE

Loading…
Cancel
Save