Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Display manager for kde5/openrc with multiseat?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Apollo_Futurae
n00b
n00b


Joined: 17 May 2005
Posts: 18
Location: Amsterdam, Netherlands

PostPosted: Mon May 30, 2016 1:02 pm    Post subject: Display manager for kde5/openrc with multiseat? Reply with quote

For some time, I have been using a multiseat setup, with kde4 and kdm, under openrc. It is working nicely.

Now, I'm considering upgrading to kde5, but it's not clear to me what display manager I could use:
  • the preferred new display manager, sddm, does not currently handle multiseat;
  • I would like to stay on openrc and keep out systemd as much as possible, so LightDM is then not an option, or is it?
  • Is it even possible to use kdm with kde5? This is not clear to me from the kde upgrade guide.
What would be the best bet?
Back to top
View user's profile Send private message
kensington
Developer
Developer


Joined: 02 Jan 2013
Posts: 177
Location: Australia

PostPosted: Wed Jun 01, 2016 2:42 pm    Post subject: Reply with quote

I've used LightDM with Plasma 5 and OpenRC in the past and it worked fine

As for KDM, I've heard mixed reports but wouldn't recommend it - it's completely unsupported upstream and will be removed along with the rest of Plasma 4.
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 265

PostPosted: Fri Feb 03, 2017 8:32 am    Post subject: Time to give up kde multiseat :( Reply with quote

Can someone who knows how to aply these kde settings to lightdm.conf help me please. Theres 3 seats started with kdm..

[X-:0-Core]
AutoLoginEnable=false
AutoLoginLocked=false
AutoLoginUser=markus
ClientLogFile=.xsession-errors
ServerCmd=/usr/bin/X -nolisten tcp -novtswitch -config /etc/X11/xorg_left.conf -br -sharevts vt12

[X-:0-Greeter]
DefaultUser=mari

[X-:1-Core]
ClientLogFile=.xsession-errors1
ServerCmd=/usr/bin/X -nolisten tcp -novtswitch -config /etc/X11/xorg_right.conf -br vt12

[X-:2-Core]
ClientLogFile=.xsession-errors2
ServerCmd=/usr/bin/X -nolisten tcp -novtswitch -config /etc/X11/xorg_middle.conf -br -sharevts vt12

THis was so easy and it has worked like a dream with games and all :)

But how to apply that to lightdm.conf ??

[Seat:*]
#type=local
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-backend=
#xserver-command=X
#xmir-command=Xmir
#xserver-config=
#xserver-layout=
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#unity-compositor-command=unity-system-compositor
#unity-compositor-timeout=60
#greeter-session=example-gtk-gnome
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
#allow-guest=true
#guest-session=
session-wrapper=/etc/lightdm/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3343
Location: Rasi, Finland

PostPosted: Fri Feb 03, 2017 10:55 pm    Post subject: Reply with quote

To me those settings look very much like LightDM configs.
Here's my two-seated config:
lightdm.conf:
[LightDM]
greeter-user=lightdm
minimum-display-number=0
minimum-vt=7
lock-memory=true
log-directory=/var/log/lightdm
run-directory=/var/run/lightdm
cache-directory=/var/cache/lightdm
remote-sessions-directory=/usr/share/lightdm/remote-sessions
greeters-directory=/usr/share/lightdm/greeters:/usr/share/xgreeters
backup-logs=true

[Seat:*]
type=xlocal
xserver-allow-tcp=false
greeter-hide-users=false
autologin-guest=false
allow-guest=true
greeter-allow-guest=true
greeter-session=lightdm-gtk-greeter

[Seat:seat0]
xserver-command=/usr/bin/X -screen screen0
display-setup-script=/etc/lightdm/seat0-setup.sh debug display

[Seat:seat1]
xserver-command=/usr/bin/X -screen screen1
display-setup-script=/etc/lightdm/seat1-setup.sh display

[XDMCPServer]
enabled=false

[VNCServer]
Hope this helps.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 265

PostPosted: Sat Feb 04, 2017 8:11 am    Post subject: Reply with quote

I think it should work with this server command below.. But not able to verify that because I havent updated anything else but system because this kdm thing (few months now). I havent had time to think this and we really need those three seats :) Lightdm command produses some icu 57 missing error so this could take a few days :)

xserver-command=/usr/bin/X -screen screen0 -config /etc/X11/xorg_left.conf

Or does it have to be scripted that config for it to work? Or what there is in display-setup-script?
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3343
Location: Rasi, Finland

PostPosted: Sun Feb 05, 2017 11:33 pm    Post subject: Reply with quote

Nreal wrote:
Or does it have to be scripted that config for it to work? Or what there is in display-setup-script?
I have there only monitor detection functions and xrandr commands that try to set up monitors in a smart way. Not really needed normally.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum