Den fre 17 jan. 2025 kl 07:25 skrev Bo Berglund <bo.bergl...@gmail.com>:

> On Fri, 17 Jan 2025 07:03:34 +0100, Daniel Sahlberg
> <daniel.l.sahlb...@gmail.com> wrote:
>
> >I agree with Bo here although I don’t understand enough about recent
> >Linux-on-the-desktop development. A long time ago, setting DISPLAY was the
> >way to declare where you wanted to your GUI to appear. When SSH-ing into a
> >box you wasn’t able to set DISPLAY to the X server of that computer. It
> was
> >either empty or you could forward it back to your local computer. When
> >running X directly on the console, DISPLAY was obviously pointing at
> >localhost. There are no guarantees that the same uses logged in on the
> >local console as the one running the ssh session.
> >
> >But we are running very much off-topic here. From a Subversion perspective
> >we are just asking the password manager to get the password and then it is
> >out of our hands.
>
> Thanks for the explanation!
>

May I just ask, when you connect to the RPI box via SSH, what do you get
from:

$ echo $DISPLAY

If it is set to something, does it help to unset it, ie:

$ export DISPLAY=

Again if it is set to something, have you manipulated this in any way? For
example by setting it in your login script?

Follow-up question then:
>
> How do I configure svn out-of-the-box in order for it to use a password
> manager
> that communicates via the command line rather than any existing GUI
> desktop.
> As it is now on my newly installed RPi4 I have not modified anything in the
> config or servers files.
>

You should be able to edit ~/.subversion/config

There is an [auth] section and the setting password-stores contains a comma
separated list of all active password stores. I can't remember which one is
giving you problems but maybe the simplest way is to just set it to an
empty list. By default, password-stores is commented out (#) so you need to
add a separate line or uncomment the existing example.

It isn't immediately clear to me how the plaintext password store is
configured here, it seems it is enabled by default (unless you set
store-plaintext-passwords = no, and obviously it has to be included in the
build).

Cheers,
Daniel

Reply via email to