<div dir="ltr">Hi,<div><br></div><div>First of all I'm sorry if I'm posting this in the wrong place (if so please point me in the right direction), but I've been struggling with this for a long time and I've searched the web extensively but I haven't found a working solution...</div><div><br></div><div><br></div><div><b>Scenario:</b></div><div><br></div><div>I have one workstation running Debian 10, installed DE are MATE and XFCE with lightdm as display manager.</div><div>Two users (lets say mary and john) use this workstation locally, each one has it's own login.</div><div>Both have their local xsessions running with a few open windows. When one walks away (s)he locks his session and the other can login and resume their running session.</div><div><br></div><div><br></div><div><b>Problem to be solved:</b></div><div><br></div><div>Sometimes mary is using the workstation and john wants to remotely have access to its running session and all the windows running there and resume it's work <b>while mary is logged in locally</b>.</div><div><br></div><div>Or even if no one is locally logged, security-wise it would still be nice not to have the display unlocked locally giving access to any bystander.</div><div><br></div><div><br></div><div><b>What I've tried:</b></div><div><br></div><div>I've tried multiple servers: x11vnc, x2go (with "connect to local desktop" on the client) and xpra (using shadow feature). With all of them I get the same result: I can login remotely and access the running session only if it's unlocked on the local display, otherwise all I get is a black screen.</div><div>I can unlock it remotely, that's not the issue, but if the other user is logged in locally, I can't unlock my session on the local display unless I lock out the other user.</div><div><br></div><div><br></div><div><b>Partially working workarounds:</b></div><div><b><br></b></div><div>I can start a new remote session with x2go or xpra and detach it and reattach to it, so one possible workaround I found is to always use a remote session inside x2go client or xpra even when logged in locally at the workstation.</div><div>This of course has some limitations and glitches... For example hardware video acceleration usually not available or with limitations. I'm ok with not having VA or any glitches when accessing remotely, I expect that, but locally I'd rather not have them.</div><div><br></div><div><br></div><div><b>Possible solutions I haven't tried:</b></div><div><br></div><div>Try other servers such as xrdp, but I suspect the result would be the same.</div><div><br></div><div>Run two x sessions locally on different ttys. Not sure how easy would be to pull this one out or how well this will work with lightdm (or any other display manager) and locking the screen locally.</div><div>I can use I different display manager other than lightdm if that helps, but I'd prefer to stick to XFCE or MATE as the DE if possible.<br></div><div><br></div><div><br></div><div><b>What else can I try?</b></div><div><br></div><div>Is what I'm trying to achieve possible in any way?</div><div>Which software and approach should I use?</div><div>Any tips are most welcome.</div><div><br></div><div><br></div><div>Thank you very much for your time reading this,</div><div>Bruno</div><div><br></div><div><br></div><div><br></div></div>