LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   xdm-slackware-theme multimonitor can't see Button_Bar? (https://www.linuxquestions.org/questions/slackware-14/xdm-slackware-theme-multimonitor-cant-see-button_bar-4175643432/)

bamunds 02-28-2019 10:42 AM

@phenixia2003 To stay with XDM rather than moving on to SDDM for multi-user simultaneous logins, I've created a second server startup by adding :1 /usr/bin/X :1 vt8 to the /etc/X11/xdm/Xservers file. The :0 server appearance hasn't changed but the new second server is not receiving the background and buttonbar treatments. Any suggestions on what needs to be added in to slackware/Xstartup or slackware/Xsetup? But maybe there need to be two Xsetup, one for Xsetup_0 and another for Xsetup_1?

phenixia2003 02-28-2019 01:32 PM

Quote:

Originally Posted by bamunds (Post 5968210)
@phenixia2003 To stay with XDM rather than moving on to SDDM for multi-user simultaneous logins, I've created a second server startup by adding :1 /usr/bin/X :1 vt8 to the /etc/X11/xdm/Xservers file. The :0 server appearance hasn't changed but the new second server is not receiving the background and buttonbar treatments. Any suggestions on what needs to be added in to slackware/Xstartup or slackware/Xsetup? But maybe there need to be two Xsetup, one for Xsetup_0 and another for Xsetup_1?

I got it to work here (default configuration, i.e. with button bar on the bottom). Here is how I proceeded:

1. in Xservers, I added the line :
Code:

:1 local /usr/bin/X :1 vt8
2. in /etc/X11/xdm/slackware/xdm-config, I added the line :
Code:

DisplayManager._1.setup: /etc/X11/xdm/slackware/Xsetup
If you want to have different backgrounds, you'll need to :

1. copy /etc/X11/xdm/slackware/Xsetup to /etc/X11/xdm/slackware/Xsetup_1

2. copy /etc/X11/xdm/slackware/Xsetup.conf to /etc/X11/xdm/slackware/Xsetup_1.conf

3. open /etc/X11/xdm/slackware/Xsetup_1.conf, then change the line 170 to point to the wallpaper you want :
Code:

XDMBGIMG=/path/to/my/wallpaper/for/vt8
4. open /etc/X11/slackware/Xsetup_1, the change the line 75-76 to:
Code:

if [ -f /etc/X11/xdm/slackware/Xsetup_1.conf ] ; then
  . /etc/X11/xdm/slackware/Xsetup_1.conf

5. in /etc/X11/xdm/slackware/xdm-config, change the line :
Code:

DisplayManager._1.setup: /etc/X11/xdm/slackware/Xsetup
to:
Code:

DisplayManager._1.setup: /etc/X11/xdm/slackware/Xsetup_1
--
SeB

bamunds 02-28-2019 07:42 PM

@phenixia2003
Wow. Thanks, I was DDG'ing and RTFM man xdm and was only getting a guess that I might need separate files to do this, but wasn't figuring out how to name them. So this really helps. I know that most expert help here doesn't provide a recipe normally, but just hints on how to proceed. So this was a real treat. Thanks SeB your the best. Cheers.

bamunds 03-02-2019 08:39 PM

All I need now is a gdmflexiserver that would work with XFCE and XDM. The fake gdmflexiserver command script I developed for XFCE under SDDM doesn't work with XDM. Apparently SDDM uses a org.freedesktop service, which communicates through the dbus services. XDM doesn't communicate through the dbus so the qdbus command has no effect. Actually I also notice that under XDM that Keepassxc also doesn't lock the database when going into screensaver or lock screen. Keepassxc is also expecting signals through org.freedesktop.services. At a minimum I'd like to develop a script for changing user, which would prompt if you want to change to screen vt7 or screen vt8 The scripts are developed for working under SDDM as the display manager, so I'll just have to make a bash knock off to work with XDM, and remember to lock the KeepassXC database before exiting. I'd prefer to stay with XDM, since SDDM is an aging version now. Cheers.


All times are GMT -5. The time now is 08:49 PM.