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 03-07-2017, 05:33 PM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Slack wm are not logging out completely blackscreen with hyphen in upper left corner


I thought it was just Fluxbox that was doing this. But now that I got BlackBox running with dockapps .. I will configure, log out, log back in check to see if that works etc.. then after a bit I stop logging in and out and in, then just sit and watch a movie etc.. then get back to it, then when I log out, it does not completely log out. as the header question states.

It goes into the black screen and hangs with the hyphen up in the left corner. I end up having to hard shut it down and turn it back on again.

Does anyone know why it is not "killing" the wm fully to get back to the login screen (runlv 4). ??
 
Old 03-07-2017, 08:02 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I've not encountered this in years of using Fluxbox and Slackware.

Have you looked in the log files for some hints? I would start with /var/log/Xorg.0.log

Also, did the system work properly at one time, or has this been a constant behavior?
 
Old 03-07-2017, 08:14 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by frankbell View Post
I've not encountered this in years of using Fluxbox and Slackware.

Have you looked in the log files for some hints? I would start with /var/log/Xorg.0.log

Also, did the system work properly at one time, or has this been a constant behavior?
I've looked at xsession.errors - it has been a constant sporadic behavior. Just started looking to try and find out what login manager slack is using.

what should I look for in /var/log/Xorg.0.log, keywords?
 
Old 03-07-2017, 08:53 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Quote:
what should I look for in /var/log/Xorg.0.log
I have no idea; I stay out of log files except when absolutely necessary.

I'd look for some that looks odd or inconsistent or reports an error on closing.

By the way, tail is a very useful command for looking log files. I recommend using it with the -n switch, so you can tail the last n lines, rather than wade trough the whole thing.

Last edited by frankbell; 03-07-2017 at 08:55 PM.
 
Old 03-07-2017, 08:59 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by frankbell View Post
I have no idea; I stay out of log files except when absolutely necessary.
me too.


Quote:
Originally Posted by frankbell View Post
I'd look for some that looks odd or inconsistent or reports an error on closing.

By the way, tail is a very useful command for looking log files. I recommend using it with the -n switch, so you can tail the last n lines, rather than wade trough the whole thing.
Yep Tail know it, but it doesn't do much good if the errors are in the middle or top of the log file.

ran into that before too.

I installed lxdm and set it to kill=1 on the session during logout.. I'll wait and see if that changes the behavior or not.
 
Old 03-07-2017, 09:02 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
When I have an error such as this one and want to look at the log file, I try to recreate the error and look at the relevant log file(s) quick like a bunny while the error message, if any, is still near the end of the log(s).
 
Old 03-07-2017, 09:08 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by frankbell View Post
When I have an error such as this one and want to look at the log file, I try to recreate the error and look at the relevant log file(s) quick like a bunny while the error message, if any, is still near the end of the log(s).
yeaaahhhhh I See your point of view. but if it still does this then that will eliminate the login manager as the culprit. if not then it will point me in that direction of it is the login manager doing this.

"avoiding them log files"

same like swapping out cards to see if that fixes it or not methodology.

Last edited by BW-userx; 03-07-2017 at 09:10 PM.
 
Old 03-08-2017, 03:10 AM   #8
Qury
Member
 
Registered: Feb 2004
Location: Naas,IE
Distribution: Slackware
Posts: 212

Rep: Reputation: 184Reputation: 184
Try adding the following to /etc/lxdm/PostLogout

killall --user $USER -TERM
 
Old 03-08-2017, 04:32 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
This is most probably the consequence of an oddity in one of your customized WM startup scripts (/usr/bin/start<wm>, /etc/X11/xinit/xinitrc.<wm> ~/.fluxbox/startup, whatever).

Please post them if you want us to help you find the culprit.

Last edited by Didier Spaier; 03-08-2017 at 04:54 AM. Reason: Wrong path fixed.
 
Old 03-08-2017, 07:35 AM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
.xinit
Quote:
#!/bin/sh
#
# ~/.xinitrc
#
# executed by startx (run your window manager from here)

if [ -d /etc/x11/xinit/xinitrc.d ]; then
for f in /etc/x11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the window manager of your choice
it was doing this on and off for a while, it wasn't until I changed WM iceWM, then BlackBox just to see what that is is about because it is installed. It started doing it in them as well. That is when i decided to post on it.

Last edited by BW-userx; 03-08-2017 at 08:11 AM.
 
Old 03-08-2017, 08:05 AM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Qury View Post
Try adding the following to /etc/lxdm/PostLogout

killall --user $USER -TERM
I was using slacks default login manager, I just installed lxdm to see if that will fix it. if yes then it has to be something to do with the default login manager that slack uses. trial and error got a wait and see.
 
Old 03-08-2017, 08:27 AM   #12
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
.xinit
Code:
#!/bin/sh
#
# ~/.xinitrc
#
# executed by startx (run your window manager from here)

if [ -d /etc/x11/xinit/xinitrc.d ]; then
  for f in /etc/x11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the window manager of your choice
it was doing this on and off for a while, it wasn't until I changed WM iceWM, then BlackBox just to see what that is is about because it is installed. It started doing it in them as well. That is when i decided to post on it.
This script does nothing on Slackware if you use startx that does not source or exec ~/.xinit. Furthermore there is a typo as it is /etc/X11/xinit/ not /etc/x11/xinit.
 
Old 03-08-2017, 08:32 AM   #13
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by Didier Spaier View Post
This script does nothing on Slackware if you use startx that does not source or exec ~/.xinit. Furthermore there is a typo as it is /etc/X11/xinit/ not /etc/x11/xinit.
yeah I know on that first part, just showing what is in there due to whatever someone said in here about how one effects another, and I got nothing in there to effect anything.

typo???
oic it now. little x big X . that is a system written file not me written file.
 
Old 03-08-2017, 08:46 AM   #14
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Code:
userx@slackwhere⚡️~⚡️$locate kde
locate: fatal error: Could not find user database '/var/lib/slocate/slocate.db':  No such file or directory
am I doing something wrong here so I can find the kde stuff to give it a look over, cuz I think that is the login manager default in this slack.
 
Old 03-08-2017, 08:50 AM   #15
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
belay that last post. Fixed it.
Code:
userx@slackwhere⚡️~⚡️$sudo updatedb
http://www.linuxquestions.org/questi...ate-db-482616/
 
  


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] window that appear at the left upper corner, which command? DoME69 Programming 2 07-12-2011 08:44 AM
Mouse stuck in upper left corner. abejarano Linux - Hardware 4 04-18-2008 04:54 PM
blinking cursor on upper left corner l0rddarkf0rce Slackware 1 12-28-2007 04:34 PM
gdesklets stuck in upper left corner theturtlemoves Linux - Software 0 02-08-2006 12:57 PM
Mouse in Upper Left Corner KDE3 Rockzilla Linux - Newbie 3 10-03-2002 03:56 PM

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

All times are GMT -5. The time now is 01:11 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