[ LUGOS ] ssh pass v X-ih

Bostjan Vlaovic bostjan.vlaovic na uni-mb.si
Sre Avg 18 16:46:32 CEST 1999


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime na docserver.cac.washington.edu for more info.

--Boundary_(ID_BksgvAXeYte06iY60iPmkA)
Content-type: TEXT/PLAIN; charset=ISO-8859-2
Content-transfer-encoding: 8BIT

Zdravo!

> Meni tole ne deluje :(
> Moja skripta Xsession namrec nima nikjer definirane $startup, ce pa ukaz

Moj Xsession sem ti pripel. Ce ti dela v ukazni vrstici, ne vem zakaj ti
ne dela ko to vpises v Xsession. Razen, ce se ti Xsession ne zazene.

LP,
	bobo









> zazenem na roko:
>  if
> test -f $HOME/.ssh2/identification -a -x /usr/local/bin/ssh-agent ; then
> /usr/local/bin/ssh-askpass | /usr/local/bin/ssh-add -p
> fi
> 
> pa deluje? Ta isti ukaz sem napisal v svoj Xsession, pa mi xdm vseeno ne zazene
> ssh-askpass-a :(
> Kaj selam narobe?
> 
> Vnaprej hvala!
> 
> Boštjan
> -- 
>  Boštjan Müller [NEONATUS], NEONATUS na bigfoot.com, http://surf.to/NEONATUS
>       ICQ #:7506644, For my PGP key finger: neonatus na gimp.thz.net
>            RSA id: 0x90178DBD, Powered by S.u.S.E. Linux 6.0.
>             "I'm Beverly...","I'm Geordi...","We are Hugh..."          
> 

|-------------------------------------------------------------|
| Bostjan Vlaovic            | Student of Elect. Eng.         |
| Na zelenici 9              | http://imola.uni-mb.si/~bobo   |
| 3000 Celje, Slovenia       | Tel.: ++386 41 769-386         |
|-------------------------------------------------------------|


--Boundary_(ID_BksgvAXeYte06iY60iPmkA)
Content-id: <Pine.LNX.4.04.9908181646320.12089 na ferdo.svizec.si>
Content-type: TEXT/PLAIN; name=Xsession; charset=US-ASCII
Content-description:
Content-disposition: attachment; filename=Xsession
Content-transfer-encoding: 7BIT

#!/bin/bash -login
# $XConsortium: Xsession /main/10 1995/12/18 18:21:28 gildea $

case $# in
1)
	case $1 in
	failsafe)
		exec xterm -geometry 80x24-0-0
		;;
	esac
esac

# redirect errors to a file in user's home directory if we can
for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
do
	if ( cp /dev/null "$errfile" 2> /dev/null )
	then
		chmod 600 "$errfile"
		exec > "$errfile" 2>&1
		break
	fi
done

# clean up after xbanner
freetemp

# This is taken from xinitrc
userresources=$HOME/.Xresources 
usermodmap=$HOME/.Xmodmap 
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources 
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap 

# merge in defaults and keymaps 
if [ -f $sysresources ]; then 
    xrdb -merge $sysresources 
fi 
 
if [ -f $sysmodmap ]; then 
    xmodmap $sysmodmap 
fi 
 
if [ -f $userresources ]; then 
    xrdb -merge $userresources 
fi 
 
if [ -f $usermodmap ]; then 
    xmodmap $usermodmap 
fi 

startup=$HOME/.xsession
resources=$HOME/.Xresources

if [ -x "$startup" ]; then
 if [ -f $HOME/.ssh/identity -a -x /usr/bin/ssh-agent ] ; then
    exec /usr/bin/ssh-agent "$startup"
 else
   "$startup" 
 fi
elif [ -x "$HOME/.Xclients" ]; then
  if [ -f $HOME/.ssh/identity -a -x /usr/bin/ssh-agent ] ; then 
    exec /usr/bin/ssh-agent "$HOME/.Xclients"
  else
    "$HOME/.Xclients"
  fi
elif [ -x /etc/X11/xinit/Xclients ]; then
  if [ -f $HOME/.ssh/identity -a -x /usr/bin/ssh-agent ] ; then    
    exec /usr/bin/ssh-agent /etc/X11/xinit/Xclients
  else
    /etc/X11/xinit/Xclients 
  fi
else
    # The following is obsoleted by the above resources handling
    #if [ -f "$resources" ]; then
    #	xrdb -load "$resources"
    #fi
    exec xsm
fi

--Boundary_(ID_BksgvAXeYte06iY60iPmkA)--




Dodatne informacije o seznamu Starilist