Chapter 7. Questions and Answers

7.1. When using the (k)svn+ssh protocol it asks all the time for password again. Why?
7.2. The password prompt for (k)svn+ssh comes on terminal when kdesvn started from there, how do I switch off this?
7.3. How can I give a different port or username to svn+ssh protocol?
7.4. When checking for updates kdesvn doesn't display something but I know there are newer items!
7.5. When starting kdesvn it sends a dialog “Could not find our part” and shows an empty window, why?

7.1.

When using the (k)svn+ssh protocol it asks all the time for password again. Why?

The problem is ssh itself. Subversion creates for each command sending a tunnel to the repository. And on each tunnel it is a new ssh connection. And for every connection ssh must authenticate. This can be fixed if you store your local public identity to the host containing the repository. If your public identity has a password, ssh-agent will be asked (when ssh-agent is installed).

When you're running a ssh-agent before starting kdesvn, you should add your identity to its cache, kdesvn will not modify it due security reasons, so it would ask for your password again and again. (see Manpage of ssh-add)

7.2.

The password prompt for (k)svn+ssh comes on terminal when kdesvn started from there, how do I switch off this?

It may not switched off. This is a feature of ssh-agent itself, when it see it has a terminal it asks for password in terminal not in a X-Dialog like kdesvnaskpass. (see Manpage of ssh-add).

7.3.

How can I give a different port or username to svn+ssh protocol?

You may use an entry in $HOME/.ssh/config, see Ssh config manpage for exact syntax.

7.4.

When checking for updates kdesvn doesn't display something but I know there are newer items!

Updates may only displayed when the remote server is subversion 1.2, too. For example, seems that repository runs with subversion <1.2. It is not planned that kdesvn do that check recursive itself - this makes no sense. Ask for upgrading repository to newer subversion.

7.5.

When starting kdesvn it sends a dialog Could not find our part and shows an empty window, why?

There are many reasons why the program couldn't load. This mostly happens when you building subversion-libs yourself. In that case you may check out issue entry.

The next big thing could that you forgot to give a lib suffix on 64-bit systems at compile-time. So the part was installed in $PREFIX/lib instead of $PREFIX/lib64. So give -DLIB_SUFFIX=64 as parameter to cmake.

If this does not solve your problem, you may try out on a console:

  export LD_PRELOAD=/usr/lib/kde4/libkdesvnpart.so
  kdesvn
  unset LD_PRELOAD

(/usr/lib/kde4 depends of course on your system, please check where it is installed)

You should see a lot of output why loading of libkdesvnpart.so is not possible, that may help solving your problem.