KDE freezes after starting up

troy fryman at sonic.net
Wed Feb 27 13:23:44 PST 2002


On Wed, Feb 27, 2002 at 04:08:24PM -0000, Adam Robertson wrote:
> 
> All, I recently installed RedHat 7.2 with Gnome and KDE desktops. When I
>  login choosing a Gnome desktop everything work fine. When I use KDE I
> loose my keyboard and mouse. Ssh: unexpected EOF while looking for '' sh:
> -c: line 2: syntax error ometimes I lose them while the desktop is
> initializing and sometimes I don't loose them until the KDE desktop is
> done coming up on the screen. I have a Microsoft Intellimouse which I
> believe is properly configured in the X86Config file. Any suggestions?
> 
> Adam

hi-

Sounds like one of your X startup files is asking for an ssh passphrase. 
try grep'ing for 'ssh-add' and see if that points you in the right
direction.  The following paragraph from the ssh-add man page might apply
to your situation:

     DISPLAY and SSH_ASKPASS
             If ssh-add needs a passphrase, it will read the passphrase from
             the current terminal if it was run from a terminal.  If ssh-add
             does not have a terminal associated with it but DISPLAY and
             SSH_ASKPASS are set, it will execute the program specified by
             SSH_ASKPASS and open an X11 window to read the passphrase. 

			 This is particularly useful when calling ssh-add from a
             .Xsession or related script.  (Note that on some machines it
             may be necessary to redirect the input from /dev/null to make
             this work.)

I start ssh-add from a console, so i'm not sure exactly what would happen if
$SSH_ASKPASS isn't set to a valid program.  Assuming your openssh is
installed the same way as my RH7.2 box, try:
	export SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
before starting X.

You could also mv or rename ~/.kde and see if a set of clean preferences
work for you.  But that seems like the windoze way; it'd be more fun to just
fix it :)

-ta



More information about the talk mailing list