dm-tool, xfce4-session or greeter

Olivier Fourdan fourdan at gmail.com
Mon Jun 7 10:50:15 CEST 2021


Hi,

On Sun, 6 Jun 2021 at 11:25, Jean-Philippe Combe <jphcombe at gmail.com> wrote:
> On my personal computer I've got 3 physical screens, sometimes 4.
>
> I would like to have one of these screens logged on another user for some reasons.
> My usual user is jpc and my other user is janfi
>
> I have written a script who unfortunately works only for root because xfce4-session says "you must be root...."
>
> My script :
> #!/bin/sh
> #dm-tool add-nested-seat --fullscreen &
> dm-tool add-nested-seat --screen 1900x1050 &
> export DISPLAY=:1
> #su janfi
> xfce4-session &
> sleep 30
> export DISPLAY=:0
>
>
>
> I wish to have the user janfi into my nested seat.
>
> Also if I use dm-tool with --fullscreen, the xfce screen size is probably huge and the windows don't appear on the real screen, I don't know how to fix that.
>
> If someone could help me please ?

So you'd want to have some sort of multi-seat but sharing the same
input devices (keyboard mouse)? Or would you have dedicated input
devices for each separate seat?

I don't think the former is possible with multi-seat. A simpler,
easier solution would be to use a nested Xserver such a Xephyr in
fullscreen mode on the monitor you want. You don't even need to get
the display manager involved with this.

Cheers
Olivier


More information about the Xfce mailing list