[winswitch] problems under Ubuntu

Perry E. Metzger perry at piermont.com
Thu Jul 18 18:52:05 BST 2019

On Thu, 18 Jul 2019 15:32:16 +0700 Antoine Martin via shifter-users
<shifter-users at lists.devloop.org.uk> wrote:
> On 17/07/2019 21:39, Perry E. Metzger via shifter-users wrote:
> > Under Ubuntu 19.04, "Disco Dingo", I get the following behavior
> > and things kind of go south from there. (The messages appear to be
> > logged to the terminal after the xpra session disconnects from the
> > tty.)
> > 
> > $ xpra start :100 --start=xterm
> > $ 2019-07-17 15:35:13,128 Warning: failed to create
> > script directory '/run/user/1000/xpra': 2019-07-17 15:35:13,128
> > [Errno 2] No such file or directory: '/run/user/1000/xpra'
> > 2019-07-17 15:35:13,128  ($XDG_RUNTIME_DIR has not been created?)
> > 
> > Any thoughts on how to debug this? I've seen mention of problems
> > like this in the bug database but they seem long closed...  
> Many modern desktop applications rely on the XDG_RUNTIME_DIR
> directory, xpra does since before v1.0.
> This directory is normally created when you login. Terminal logins,
> ssh logins and display manager logins should all be creating this
> directory for you.
> My guess is that you're not logging in normally but faking the login
> using something like 'su'.

I'm using ssh to log in; the problem turned out to be with the
three-way interaction of sshd, pam, and systemd. (The complexity of
even login in modern Linux has gotten out of control.)

Anyway, I figured it out. Thanks for the hint that it had something
to do with behavior at login, that helped.

Perry E. Metzger		perry at piermont.com

More information about the shifter-users mailing list