From: n952162 <n952162@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] xpra permissions
Date: Sun, 12 Jan 2025 13:49:28 +0100 [thread overview]
Message-ID: <457e857f-16ec-484e-811f-deffab0c51a0@web.de> (raw)
In-Reply-To: <8518791.NyiUUSuA9g@rogueboard>
On 2025/01/12 13:22, Michael wrote:
> On Sunday 12 January 2025 10:41:23 Greenwich Mean Time n952162 wrote:
>> Thank you, that gave me the hint I needed for the first step ... I use
>> an ssh option for nixos that's not need for gentoo: /"-o
>> PreferredAuthentications=password"/
> You can use a user password to login over SSH or public key. It is a matter
> of configuring the sshd accordingly and using either method from the client.
Yes.
>
>
>> But now I've got a new problem (or problems) that might be gentoo-related:
>>
>> /Warning: XDG_RUNTIME_DIR is not defined
>> and '/run/user/1010' does not exist
>> using '/tmp'
>> server socket for display :2 not found
> I don't know anything about xpra, but the error points to a user account not
> being available/configured correctly?
I'm thinking it has to do with the configuration of the configuration
files, as used by both server and client, locally and remotely.
>
> Have you tried connecting locally on the server with no user (you'll be
> already logged in), before you try connecting from the client remotely using
> the correct user@host incantation?
That was a good idea, logging in locally. I got the same error, though.
>
>> waiting up to 20 seconds
>>
>> xpra initialization error:
>> cannot find live server for display :2
>> /
>>
>> $XDG_RUNTIME_DIR *does* exist, on the server and the client.
>> /run/user/1010 exists on the (nixos) client, but there's no /run/user on
>> gentoo (that I can see). Therefore, my $XDG_RUNTIME_DIR is set to
>> ~/.xpra, which is present and rwe by the user, as is ~/.xdg/xpra.
>> There's a ~/.xdg/xpra/2/socket with a recent timestamp. There's nothing
>> relevant in /tmp on the server or the client.
>>
>> Clearly related is this, when I try to stop xpra on the server:
>>
>> /$ xpra stop
>> xpra initialization error:
>> cannot find any live servers to connect to/
>> /
>> /
>> /$ ps -ef | grep xpra
>> user 2544 1 0 09:58 ? 00:00:01 /usr/bin/python3.11
>> /bin/xpra start :2 --st.../
> Hmm ... the UID cannot say "user" unless you created the username as "user"?
It was anonymized.
prev parent reply other threads:[~2025-01-12 12:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-12 9:08 [gentoo-user] xpra permissions n952162
2025-01-12 10:07 ` Michael
2025-01-12 10:41 ` n952162
2025-01-12 12:22 ` Michael
2025-01-12 12:49 ` n952162 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=457e857f-16ec-484e-811f-deffab0c51a0@web.de \
--to=n952162@web.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox