LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-13-2020, 09:10 AM   #16
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 415

Original Poster
Rep: Reputation: 55

Some "news".
After removed lxdm, I install slim.
Configured for autologin and setup sessreg(otherwise w is still empty) after removed lastlog,wtmp and utmp and recreated with correct permissions, w finally display X11 line..but not the pts

Code:
15:09:52 up  3:11,  4 users,  load average: 0,39, 0,29, 0,34
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
root     tty3     -                15:08    1:50   0.04s  0.04s -bash
user     :0.0     :0.0             15:08    ?xdm?  3:12   0.05s /bin/bash -login /home/user//.xinitrc
 
Old 03-13-2020, 01:55 PM   #17
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Possibly lxdm is designed that way?

Perhaps find a Live ISO that uses lxdm (lxde). Look for the same behavior. I think lxdm is abandoned. Patching would have to be a local effort.
 
Old 03-14-2020, 04:04 PM   #18
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 415

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by upnort View Post
Possibly lxdm is designed that way?

Perhaps find a Live ISO that uses lxdm (lxde). Look for the same behavior. I think lxdm is abandoned. Patching would have to be a local effort.
I'm using slim, nothing change.
Is recorded the X session but not the pts
 
Old 03-15-2020, 08:48 AM   #19
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by camerabambai View Post
I'm using slim, nothing change.
Is recorded the X session but not the pts
You do know that slim seems to be abandoned? From wikipedia
Quote:
As of March, 2016, SLiM seems to be abandoned. It is not fully compatible with systemd.
On github the last release even is 1.3.6, all the way back to 2013

There is a warning too about lxdm when you're not using lxde as your DE
Quote:
If you want to have a choice between starting in LXDE or other options (including simply Openbox) then it's important not to use LXDM versions earlier than 0.3.0, as they have a bug which interferes with sessions other than LXDE. The bug was worked around by adding support for .dmrc in LXDM 0.3.0.
The latest release of lxdm on github is 0.5.3, released in 2015!

Officially in Slackware only gdm, kdm (from KDE 4) or SDDM (Plasma 5) or LightDM are supported as far as I know, for all others you are "on your own".
 
1 members found this post helpful.
Old 03-16-2020, 05:47 PM   #20
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 415

Original Poster
Rep: Reputation: 55
I have removed slim and installed lightdm.

w show this

Code:
w
 23:44:18 up 10:45,  1 user,  load average: 0,63, 0,58, 0,68
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
user     tty7     :0               23:43   10:45m  2.92s  0.05s /bin/sh /etc/xdg/xfce4/xinitrc
Is not empty and I also resolved the missing pts recording by xfce4-terminal, so the problem is closed, thanks all for help.

Last edited by camerabambai; 03-16-2020 at 06:01 PM.
 
Old 03-16-2020, 05:52 PM   #21
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 415

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by upnort View Post
Is lightdm supported in Slackware? What version of Slackware?
On current yes, I have installed the git version + the 2.0.6 version of gtk-greeter.
I don't know on 14.2
 
Old 03-16-2020, 05:56 PM   #22
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 415

Original Poster
Rep: Reputation: 55
I see a strange thing, If I use xterm, every terminal is correctly recorded

Code:
 23:54:59 up 10:56,  3 users,  load average: 1,28, 0,88, 0,73
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
user     tty7     :0               23:43   10:55m 26.15s  0.05s /bin/sh /etc/xdg/xfce4/xinitrc
user     pts/2    :0.0             23:54   39.00s  0.08s  0.05s xterm
user     pts/3    :0.0             23:54   38.00s  0.03s  0.03s bash
If I run xfce4-terminal not, why?

EDIT: Solution found..open preferences of xfce4-terminal and set "update utmp/wtmp"

Last edited by camerabambai; 03-16-2020 at 06:01 PM.
 
  


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
[SOLVED] rsync: How to use -prune-empty-dirs with the options: "+ */", "+ *.c" AND "- *"? andrew.comly Linux - Server 2 12-14-2015 06:19 AM
Scripting Help--Check empty string condition (not null, but empty!) sungchoiok Linux - Newbie 4 01-01-2012 03:46 PM
[SOLVED] [BASH] non-empty variable before loop end, is empty after exiting loop aitor Programming 2 08-26-2010 09:57 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
Gentoo VNC, empty dialog box !! "Question" window is empty ! TheHushedCaskeT Linux - Software 0 02-01-2005 10:14 PM

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

All times are GMT -5. The time now is 04:20 PM.

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