Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-11-21 01:06:45

mabra
Member
Registered: 2015-09-05
Posts: 64
LinuxFirefox 115.0

Cannot start Lighdm in separate Xephy server

Hello!

I tried to start a ligdm session in a separate x-server (running xephyr on display=:7) and used:
>DISPLAY=:7 lightdm
wondering, that I need permissions ...
bash: lightdm: command not found

Then I tried:

sudo DISPLAY=:7 lightdm

** (lightdm:580779): WARNING **: 01:56:08.049: Failed to create IPv6 XDMCP socket: Unable to create socket: Address family not supported by protocol

** (lightdm:580779): WARNING **: 01:56:08.050: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?

I am looking for a way to run a second x-server with another user
(authenticated or not)

It is not a problem to run an xterm using ssh -X in it.

Similar problem for using xfce4-session:

$ DISPLAY=:7 xfce4-session
xfce4-session: Another session manager is already running

And also using startxfce4:

$ DISPLAY=:7 startxfce4
/usr/bin/startxfce4: X server already running on display :7
xfce4-session: Another session manager is already running

Any help would be great!
Manfred

(Using: debian 11 (bullseye), 6.1.0-0.deb11.21-amd64, xfce4 4.16)

Offline

#2 2024-11-21 12:40:16

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 929
LinuxFirefox 132.0

Re: Cannot start Lighdm in separate Xephy server

What if you were to ctrl-F2 and login as a second user the startxfce4 :1


But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell

Offline

#3 2024-11-28 22:27:12

mabra
Member
Registered: 2015-09-05
Posts: 64
LinuxFirefox 115.0

Re: Cannot start Lighdm in separate Xephy server

Hello!

eriefisher wrote:

What if you were to ctrl-F2 and login as a second user the startxfce4 :1

Thanks, but what I need is this session running just in a window (including, second step probably,
enabling cu&paste and sound).
Using

pkexec -u OtherUser bash -c 'DISPLAY=:5 startxfce4'

it works (and as I expected: no sound (like fast userswitching) and no cut&paste).
Its probably mostly a matter of systematic documentation, but I am not
finding somethings about it.

Thanks for your response!
Manfred

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.040 seconds, 7 queries executed - Memory usage: 522.05 KiB (Peak: 522.68 KiB) ]