https://bugs.kde.org/show_bug.cgi?id=428676

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |RESOLVED
         Resolution|WAITINGFORINFO              |NOT A BUG

--- Comment #6 from Harald Sitter <sit...@kde.org> ---
I'm 99% certain this is a setup problem.

The reason 

> KIO_SFTP_LOG_VERBOSITY=10 KDE_FORK_SLAVES=1 
> QT_LOGGING_RULES="log_kio_sftp=true;" dolphin --new-window 
> sftp://x...@xx.xx.xxx.xxx

works is because of KDE_FORK_SLAVES=1 which forces the underlying communication
with libssh to start from dolphin directly (thus inheriting the environment
which you set via bashrc)

> dolphin --new-window sftp://x...@xx.xx.xxx.xxx

doesn't work because the forking happens from a different process that is
started early on in the startup of plasma and as I've mentioned bashrc doesn't
play into that. 

Simply put: part of your session doesn't have the env set up correctly because
you rely on bashrc but plasma isn't written in bash so it doesn't care what you
put there.

You could try putting the ssh-agent stuff into a plasma env script [1] or an
Xsession.d script. In any event I encourage you to take this to a support forum
to get help on setting up ssh-agent properly for a plasma session.

[1] https://userbase.kde.org/Session_Environment_Variables/en

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to