LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-28-2019, 10:42 AM   #16
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Original Poster
Rep: Reputation: 260Reputation: 260Reputation: 260

@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?

Last edited by bamunds; 02-28-2019 at 12:12 PM.
 
Old 02-28-2019, 01:32 PM   #17
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Quote:
Originally Posted by bamunds View Post
@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
 
2 members found this post helpful.
Old 02-28-2019, 07:42 PM   #18
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Original Poster
Rep: Reputation: 260Reputation: 260Reputation: 260
@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.
 
Old 03-02-2019, 08:39 PM   #19
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Original Poster
Rep: Reputation: 260Reputation: 260Reputation: 260
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Atolm GTK Theme + Clarity Icon Theme = Perfect for Dark Theme Fans LXer Syndicated Linux News 0 02-26-2011 11:50 PM
[SOLVED] xdm init script problem - "invoke-rc.d xdm start" fails ? Vilius Debian 2 09-13-2010 12:15 AM
openoffice force default theme / no theme | dark theme fix H_TeXMeX_H LinuxQuestions.org Member Success Stories 1 03-08-2010 12:56 PM
disabling XDM-AUTHORIZATION-1 in xdm shpenat Linux - Desktop 0 03-18-2009 09:11 AM
XDM opens XDM after login jpbarto Linux - Software 1 01-26-2004 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration