Re: [DNG] Missing /run/user/$uid

2020-11-10 Thread Ludovic Bellière
Hello Alessandro, Consolekit doesn't handle the /run/user stuff quite well. XDG_RUNTIME_DIR isn't being populated and the user folder not initialized. A workaround I came up with, to make sure XDG_RUNTIME_DIR is always populated, is to insert the following lines in your .xsessionrc: if [ ! -d "$X

Re: [DNG] Missing /run/user/$uid

2020-11-10 Thread Gregory Nowak
On Tue, Nov 10, 2020 at 01:41:25PM +0100, Alessandro Vesely via Dng wrote: > I create a terminal window for a different user using a script like so: > #! /bin/bash > # > # Extract auth of current user and run x-terminal-emulator in new user > > printf -v altgksu 'export DISPLAY=:0; touch ~/.Xautho

[DNG] Missing /run/user/$uid

2020-11-10 Thread Alessandro Vesely via Dng
Hi all, I create a terminal window for a different user using a script like so: #! /bin/bash # # Extract auth of current user and run x-terminal-emulator in new user printf -v altgksu 'export DISPLAY=:0; touch ~/.Xauthority; echo "%s"| xauth nmerge -; dbus-launch --exit-with-x11 x-terminal-emula