Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dwm suddenly refuses to start properly
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Sat Jun 23, 2018 10:40 pm    Post subject: Reply with quote

Quote:
** (lightdm-gtk-greeter:6519): WARNING **: [PIDs] Failed to execute command: /usr/lib/at-spi2-core/at-spi-bus-launcher

** (lightdm-gtk-greeter:6519): WARNING **: [PIDs] Failed to execute command: upstart

(lightdm-gtk-greeter:6519): Gtk-WARNING **: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)


Reviewing the files you posted (I forgot to comment on each of them...oops been trying to multitask with some programming assignments)

Here is the portion I would focus on first in terms of the reason tht the menubar is missing. It is a gtk-greeter issue.

According to the Arch linux forum: https://wiki.archlinux.org/index.php/LightDM
Quote:
It is possible to use LightDM without a greeter, but only if an automatic login is configured, otherwise you will need to install xorg-server and one of the greeter packages below.


So read that page again, and then I would say that the default greeter, which I assume that installing this package would help handle the issue of there being no automatic login and therefore the session gtk greeter is needed.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Sat Jun 23, 2018 10:44 pm    Post subject: Reply with quote

Quote:
I set both rc_logger and rc_verbose to "YES", restarted xdm - and: no log file. I have not modified the commented out path "/var/log/rc.log", so one should think that it should be there - but it is not.


In light of the abundance of other output you've provided lets skip this one...you can always figure that out later. For now, focus on the issue with the greeter and whether the correct flags for lightdm are there to utilize it is probably a top priority. Then be sure the software is all installed, by referring to the Portage tree and seeing if there may be other packages that you could be missing for the specific configuration like gtk-greeter

Can you check
Code:
$ emerge -av x11-misc/lightdm-gtk-greeter
and post back, if it is missing then go ahead and install it.
Back to top
View user's profile Send private message
pun_guin
Apprentice
Apprentice


Joined: 06 Feb 2018
Posts: 204

PostPosted: Sat Jun 23, 2018 10:54 pm    Post subject: Reply with quote

lightdm-gtk-greeter actually is installed. As far as I understand, it is what I use to start Window Maker...?
_________________
I already use the new Genthree.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Sun Jun 24, 2018 5:12 am    Post subject: Reply with quote

Hi again, a quick search online yielded yet another interesting way to diagnose the problem.

Which you can see here: https://astoryworthtelling.wordpress.com/2013/06/04/debugging-lightdm/

I can explain how in Gentoo to do this, while the preferred way may be to completely remove the service from the default runlevel and reboot the other way which is fine and will work as well is You could also just stop the xdm service with,
Code:
# rc-service xdm stop

then be sure to exit as root and change to a shell for regular user when running the following:
Code:
$ lightdm --test-mode --debug


This should produce some more information than presently available and might also contain a error that could provide a better idea of what's not working with menu bar, and keyboard(??) whether relating to the lightdm gtk greeter setting or something else entirely. Does that make sense?
Back to top
View user's profile Send private message
pun_guin
Apprentice
Apprentice


Joined: 06 Feb 2018
Posts: 204

PostPosted: Sun Jun 24, 2018 11:49 am    Post subject: Reply with quote

Unknown command 'lightdm'.

Huh?
_________________
I already use the new Genthree.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Sun Jun 24, 2018 9:33 pm    Post subject: Reply with quote

Did you go ahead and try and root...as well (it isn't really recommended to do this usually, so if you have another user or else just add a new user). NOTE: I added another post below that explains better for here.

Start reading here for diagnosing or troubleshooting
This is beginning to sound like an issue with user and permissions of your daily user. Have you checked for lightdm with locate command or else just like this:

Code:
ls /usr/sbin /usr/bin | grep lightdm


What about
Code:
equery l lightdm

If installed then next you should check the file list that was installed with it
[/code]
Code:
equery f


Last edited by LIsLinuxIsSogood on Sun Jun 24, 2018 9:44 pm; edited 2 times in total
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Sun Jun 24, 2018 9:40 pm    Post subject: Reply with quote

Can you please provide visible proof of lightdm and lightdm-gtk-greeter being installed? I know you did a while ago, already include the emerge --info for one or both of these, but just to make sure that it was both and not just 1 of them. And be sure to locate the lightdm binary executable file for whatever information might be missing from it like a missing execute flag on permissions or else wrong ownership. Also test what happens when launching lightdm as a different user, since that is an easy thing to do and also will take some of the guessing out of the picture. If it works with another user than you know that whatever is causing the problem is with the particular user profile you are using. When adding a user for this purpose be sure to pass the argument for group membership and add to the following groups:

Code:
# useradd -m -G users,wheel,audio -s /bin/bash larry


By adding the wheel group and users you pretty much guarantee that if the program is correctly configured (lightdm) the new user should have access to the basic functionality. Later, you can compare the group membership to back track and see if a clean profile fixes the two issues...calling it two issues because you have the dwm problem with lightdm, and then the lightdm problem itself which is how to start the application as a regular user.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Mon Jun 25, 2018 1:55 am    Post subject: Reply with quote

From the log of lightdm, please also post if there is any contents to the .xsession-errors file.

We need to increase the logging verbosity on Xorg log it isn't enough.

Post back here with that and maybe something else like why you think the loss of keyboard input is at all related to the disappearance of the dwm bar or display objects like that menubar.

There's really a need for some more specifying for your initial question thus the missing actual error outputs that we need to diagnose.

Try starting here for diganosing:
The GUI is a highly dependent thing on many system applications so 1 log isn't going to do it, or just 1 place to look.

Here are some sources that could possibly help to identify the problematic dwm/lightdm DE functionality:
1) Xorg server (Xserver)
**What I noticed in your Xorg.log is that it is not set to verbose enough logging, so I think increasing that would be good. I forgot how, but look it up on google or else I will and can post that soon.
2) Software configurations (outside of X11, like openrc service for display manager xdm)
3) Policykit/Consolekit
**Note I just noticed that did show up in one of the logs for lightdm, so debugging that could help as well. The log faculty for consolekit can be internal or through the other systems it relies on like dbus, user logs, authentication and security logs etc.
4) There may be other possible conflicts between applications and services like between your login manager lightdm, and some module in either X or else in the kernel potentially although doubtful.
**Either way since there are many potential sources of hardware/software issues here, and also many logging faculties available let's restart this dialogue by having you answer a few questions...

1) When you installed gentoo, or since did you set up any system logging? Using which logging tool there are a few available? Syslog, sysklogd, metalog
2) In your /var/log folder can you please post contents of the names of files there so that we can see if the log may exist already that could have captured the information you are needing, or if you will need to turn on logging features for that?
3) Have you ever configured the system logger in any way from question #1
4) Have you already checked each of the active logs in the /var/log folder and either used grep or just some search for likely errors contributing at the time of the system crash?
5) Then terms of actually fixing it, did you follow the wiki or how did you install/setup the display manager for lightdm, and dwm.

The wiki does get lost (I feel) when addressing how to troubleshoot things, but then again if that were the point of the wiki that would be an entirely different site I suppose.

6) Lastly, are there any other problems going on with either GUI (under dwm or windowmake) that would lead you to believe that some particular system is responsible for the problem? And if so this goes back to question #2 about making sure to turn on the system wide logging facility for that

The package you want to install if you don't have experience with logging in linux is sysklogd

Hopefully this helps
Back to top
View user's profile Send private message
pun_guin
Apprentice
Apprentice


Joined: 06 Feb 2018
Posts: 204

PostPosted: Tue Jun 26, 2018 9:45 pm    Post subject: Reply with quote

Hey,

I'll be back on Thursday, just in case you think I disappeared.
Will try then and report back!
_________________
I already use the new Genthree.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Wed Jun 27, 2018 4:09 am    Post subject: Reply with quote

OK
Back to top
View user's profile Send private message
pun_guin
Apprentice
Apprentice


Joined: 06 Feb 2018
Posts: 204

PostPosted: Thu Jun 28, 2018 8:56 pm    Post subject: Reply with quote

It's not easy answering all questions... Coming.
_________________
I already use the new Genthree.
Back to top
View user's profile Send private message
pun_guin
Apprentice
Apprentice


Joined: 06 Feb 2018
Posts: 204

PostPosted: Thu Jun 28, 2018 9:01 pm    Post subject: Reply with quote

LIsLinuxIsSogood wrote:
Code:
ls /usr/sbin /usr/bin | grep lightdm


lightdm
lightdm-gtk-greeter

Quote:

What about
Code:
equery l lightdm

If installed then next you should check the file list that was installed with it
[/code]
Code:
equery f


Code:
 * Searching for lightdm ...
[IP-] [  ] x11-misc/lightdm-1.18.3-r1:0


Code:
 * Contents of x11-misc/lightdm-1.18.3-r1:
/etc
/etc/dbus-1
/etc/dbus-1/system.d
/etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
/etc/lightdm
/etc/lightdm/Xsession
/etc/lightdm/keys.conf
/etc/lightdm/lightdm.conf
/etc/lightdm/users.conf
/etc/pam.d
/etc/pam.d/lightdm
/etc/pam.d/lightdm-autologin
/etc/pam.d/lightdm-greeter
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/lightdm.service
/usr
/usr/bin
/usr/bin/dm-tool
/usr/include
/usr/include/lightdm-gobject-1
/usr/include/lightdm-gobject-1/lightdm
/usr/include/lightdm-gobject-1/lightdm.h
/usr/include/lightdm-gobject-1/lightdm/greeter.h
/usr/include/lightdm-gobject-1/lightdm/language.h
/usr/include/lightdm-gobject-1/lightdm/layout.h
/usr/include/lightdm-gobject-1/lightdm/power.h
/usr/include/lightdm-gobject-1/lightdm/session.h
/usr/include/lightdm-gobject-1/lightdm/system.h
/usr/include/lightdm-gobject-1/lightdm/user.h
/usr/lib64
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/LightDM-1.typelib
/usr/lib64/liblightdm-gobject-1.so -> liblightdm-gobject-1.so.0.0.0
/usr/lib64/liblightdm-gobject-1.so.0 -> liblightdm-gobject-1.so.0.0.0
/usr/lib64/liblightdm-gobject-1.so.0.0.0
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/liblightdm-gobject-1.pc
/usr/libexec
/usr/libexec/lightdm-guest-session
/usr/sbin
/usr/sbin/lightdm
/usr/share
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/dm-tool
/usr/share/bash-completion/completions/lightdm
/usr/share/doc
/usr/share/doc/lightdm-1.18.3-r1
/usr/share/doc/lightdm-1.18.3-r1/NEWS.bz2
/usr/share/doc/lightdm-1.18.3-r1/README.gentoo.bz2
/usr/share/doc/lightdm-1.18.3-r1/html
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/core.html
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/home.png
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/index.html
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/left-insensitive.png
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/left.png
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/lightdm-gobject-1-Greeter-Interface.html
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/lightdm-gobject-1-Keyboard-Layout.html
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/lightdm-gobject-1-Languages.html
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/lightdm-gobject-1-Power-Management.html
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/lightdm-gobject-1-Sessions.html
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/lightdm-gobject-1-System-Information.html
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/lightdm-gobject-1-User-Accounts.html
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/lightdm-gobject-1.devhelp2
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/right-insensitive.png
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/right.png
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/style.css
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/up-insensitive.png
/usr/share/doc/lightdm-1.18.3-r1/html/lightdm-gobject-1/up.png
/usr/share/gir-1.0
/usr/share/gir-1.0/LightDM-1.gir
/usr/share/locale
/usr/share/locale/af
/usr/share/locale/af/LC_MESSAGES
/usr/share/locale/af/LC_MESSAGES/lightdm.mo
/usr/share/locale/an
/usr/share/locale/an/LC_MESSAGES
/usr/share/locale/an/LC_MESSAGES/lightdm.mo
/usr/share/locale/ar
/usr/share/locale/ar/LC_MESSAGES
/usr/share/locale/ar/LC_MESSAGES/lightdm.mo
/usr/share/locale/ast
/usr/share/locale/ast/LC_MESSAGES
/usr/share/locale/ast/LC_MESSAGES/lightdm.mo
/usr/share/locale/az
/usr/share/locale/az/LC_MESSAGES
/usr/share/locale/az/LC_MESSAGES/lightdm.mo
/usr/share/locale/be
/usr/share/locale/be/LC_MESSAGES
/usr/share/locale/be/LC_MESSAGES/lightdm.mo
/usr/share/locale/bg
/usr/share/locale/bg/LC_MESSAGES
/usr/share/locale/bg/LC_MESSAGES/lightdm.mo
/usr/share/locale/bn
/usr/share/locale/bn/LC_MESSAGES
/usr/share/locale/bn/LC_MESSAGES/lightdm.mo
/usr/share/locale/bo
/usr/share/locale/bo/LC_MESSAGES
/usr/share/locale/bo/LC_MESSAGES/lightdm.mo
/usr/share/locale/br
/usr/share/locale/br/LC_MESSAGES
/usr/share/locale/br/LC_MESSAGES/lightdm.mo
/usr/share/locale/bs
/usr/share/locale/bs/LC_MESSAGES
/usr/share/locale/bs/LC_MESSAGES/lightdm.mo
/usr/share/locale/ca
/usr/share/locale/ca/LC_MESSAGES
/usr/share/locale/ca/LC_MESSAGES/lightdm.mo
/usr/share/locale/ca@valencia
/usr/share/locale/ca@valencia/LC_MESSAGES
/usr/share/locale/ca@valencia/LC_MESSAGES/lightdm.mo
/usr/share/locale/ckb
/usr/share/locale/ckb/LC_MESSAGES
/usr/share/locale/ckb/LC_MESSAGES/lightdm.mo
/usr/share/locale/cs
/usr/share/locale/cs/LC_MESSAGES
/usr/share/locale/cs/LC_MESSAGES/lightdm.mo
/usr/share/locale/da
/usr/share/locale/da/LC_MESSAGES
/usr/share/locale/da/LC_MESSAGES/lightdm.mo
/usr/share/locale/de
/usr/share/locale/de/LC_MESSAGES
/usr/share/locale/de/LC_MESSAGES/lightdm.mo
/usr/share/locale/el
/usr/share/locale/el/LC_MESSAGES
/usr/share/locale/el/LC_MESSAGES/lightdm.mo
/usr/share/locale/en_AU
/usr/share/locale/en_AU/LC_MESSAGES
/usr/share/locale/en_AU/LC_MESSAGES/lightdm.mo
/usr/share/locale/en_CA
/usr/share/locale/en_CA/LC_MESSAGES
/usr/share/locale/en_CA/LC_MESSAGES/lightdm.mo
/usr/share/locale/en_GB
/usr/share/locale/en_GB/LC_MESSAGES
/usr/share/locale/en_GB/LC_MESSAGES/lightdm.mo
/usr/share/locale/eo
/usr/share/locale/eo/LC_MESSAGES
/usr/share/locale/eo/LC_MESSAGES/lightdm.mo
/usr/share/locale/es
/usr/share/locale/es/LC_MESSAGES
/usr/share/locale/es/LC_MESSAGES/lightdm.mo
/usr/share/locale/et
/usr/share/locale/et/LC_MESSAGES
/usr/share/locale/et/LC_MESSAGES/lightdm.mo
/usr/share/locale/eu
/usr/share/locale/eu/LC_MESSAGES
/usr/share/locale/eu/LC_MESSAGES/lightdm.mo
/usr/share/locale/fa
/usr/share/locale/fa/LC_MESSAGES
/usr/share/locale/fa/LC_MESSAGES/lightdm.mo
/usr/share/locale/fi
/usr/share/locale/fi/LC_MESSAGES
/usr/share/locale/fi/LC_MESSAGES/lightdm.mo
/usr/share/locale/fo
/usr/share/locale/fo/LC_MESSAGES
/usr/share/locale/fo/LC_MESSAGES/lightdm.mo
/usr/share/locale/fr
/usr/share/locale/fr/LC_MESSAGES
/usr/share/locale/fr/LC_MESSAGES/lightdm.mo
/usr/share/locale/fy
/usr/share/locale/fy/LC_MESSAGES
/usr/share/locale/fy/LC_MESSAGES/lightdm.mo
/usr/share/locale/gd
/usr/share/locale/gd/LC_MESSAGES
/usr/share/locale/gd/LC_MESSAGES/lightdm.mo
/usr/share/locale/gl
/usr/share/locale/gl/LC_MESSAGES
/usr/share/locale/gl/LC_MESSAGES/lightdm.mo
/usr/share/locale/gu
/usr/share/locale/gu/LC_MESSAGES
/usr/share/locale/gu/LC_MESSAGES/lightdm.mo
/usr/share/locale/he
/usr/share/locale/he/LC_MESSAGES
/usr/share/locale/he/LC_MESSAGES/lightdm.mo
/usr/share/locale/hi
/usr/share/locale/hi/LC_MESSAGES
/usr/share/locale/hi/LC_MESSAGES/lightdm.mo
/usr/share/locale/hr
/usr/share/locale/hr/LC_MESSAGES
/usr/share/locale/hr/LC_MESSAGES/lightdm.mo
/usr/share/locale/hu
/usr/share/locale/hu/LC_MESSAGES
/usr/share/locale/hu/LC_MESSAGES/lightdm.mo
/usr/share/locale/ia
/usr/share/locale/ia/LC_MESSAGES
/usr/share/locale/ia/LC_MESSAGES/lightdm.mo
/usr/share/locale/id
/usr/share/locale/id/LC_MESSAGES
/usr/share/locale/id/LC_MESSAGES/lightdm.mo
/usr/share/locale/is
/usr/share/locale/is/LC_MESSAGES
/usr/share/locale/is/LC_MESSAGES/lightdm.mo
/usr/share/locale/it
/usr/share/locale/it/LC_MESSAGES
/usr/share/locale/it/LC_MESSAGES/lightdm.mo
/usr/share/locale/ja
/usr/share/locale/ja/LC_MESSAGES
/usr/share/locale/ja/LC_MESSAGES/lightdm.mo
/usr/share/locale/kk
/usr/share/locale/kk/LC_MESSAGES
/usr/share/locale/kk/LC_MESSAGES/lightdm.mo
/usr/share/locale/km
/usr/share/locale/km/LC_MESSAGES
/usr/share/locale/km/LC_MESSAGES/lightdm.mo
/usr/share/locale/kn
/usr/share/locale/kn/LC_MESSAGES
/usr/share/locale/kn/LC_MESSAGES/lightdm.mo
/usr/share/locale/ko
/usr/share/locale/ko/LC_MESSAGES
/usr/share/locale/ko/LC_MESSAGES/lightdm.mo
/usr/share/locale/ku
/usr/share/locale/ku/LC_MESSAGES
/usr/share/locale/ku/LC_MESSAGES/lightdm.mo
/usr/share/locale/lb
/usr/share/locale/lb/LC_MESSAGES
/usr/share/locale/lb/LC_MESSAGES/lightdm.mo
/usr/share/locale/lt
/usr/share/locale/lt/LC_MESSAGES
/usr/share/locale/lt/LC_MESSAGES/lightdm.mo
/usr/share/locale/lv
/usr/share/locale/lv/LC_MESSAGES
/usr/share/locale/lv/LC_MESSAGES/lightdm.mo
/usr/share/locale/mhr
/usr/share/locale/mhr/LC_MESSAGES
/usr/share/locale/mhr/LC_MESSAGES/lightdm.mo
/usr/share/locale/mi
/usr/share/locale/mi/LC_MESSAGES
/usr/share/locale/mi/LC_MESSAGES/lightdm.mo
/usr/share/locale/ml
/usr/share/locale/ml/LC_MESSAGES
/usr/share/locale/ml/LC_MESSAGES/lightdm.mo
/usr/share/locale/mr
/usr/share/locale/mr/LC_MESSAGES
/usr/share/locale/mr/LC_MESSAGES/lightdm.mo
/usr/share/locale/ms
/usr/share/locale/ms/LC_MESSAGES
/usr/share/locale/ms/LC_MESSAGES/lightdm.mo
/usr/share/locale/my
/usr/share/locale/my/LC_MESSAGES
/usr/share/locale/my/LC_MESSAGES/lightdm.mo
/usr/share/locale/nb
/usr/share/locale/nb/LC_MESSAGES
/usr/share/locale/nb/LC_MESSAGES/lightdm.mo
/usr/share/locale/nl
/usr/share/locale/nl/LC_MESSAGES
/usr/share/locale/nl/LC_MESSAGES/lightdm.mo
/usr/share/locale/nn
/usr/share/locale/nn/LC_MESSAGES
/usr/share/locale/nn/LC_MESSAGES/lightdm.mo
/usr/share/locale/oc
/usr/share/locale/oc/LC_MESSAGES
/usr/share/locale/oc/LC_MESSAGES/lightdm.mo
/usr/share/locale/pa
/usr/share/locale/pa/LC_MESSAGES
/usr/share/locale/pa/LC_MESSAGES/lightdm.mo
/usr/share/locale/pl
/usr/share/locale/pl/LC_MESSAGES
/usr/share/locale/pl/LC_MESSAGES/lightdm.mo
/usr/share/locale/pt
/usr/share/locale/pt/LC_MESSAGES
/usr/share/locale/pt/LC_MESSAGES/lightdm.mo
/usr/share/locale/pt_BR
/usr/share/locale/pt_BR/LC_MESSAGES
/usr/share/locale/pt_BR/LC_MESSAGES/lightdm.mo
/usr/share/locale/ro
/usr/share/locale/ro/LC_MESSAGES
/usr/share/locale/ro/LC_MESSAGES/lightdm.mo
/usr/share/locale/ru
/usr/share/locale/ru/LC_MESSAGES
/usr/share/locale/ru/LC_MESSAGES/lightdm.mo
/usr/share/locale/sc
/usr/share/locale/sc/LC_MESSAGES
/usr/share/locale/sc/LC_MESSAGES/lightdm.mo
/usr/share/locale/sd
/usr/share/locale/sd/LC_MESSAGES
/usr/share/locale/sd/LC_MESSAGES/lightdm.mo
/usr/share/locale/shn
/usr/share/locale/shn/LC_MESSAGES
/usr/share/locale/shn/LC_MESSAGES/lightdm.mo
/usr/share/locale/si
/usr/share/locale/si/LC_MESSAGES
/usr/share/locale/si/LC_MESSAGES/lightdm.mo
/usr/share/locale/sk
/usr/share/locale/sk/LC_MESSAGES
/usr/share/locale/sk/LC_MESSAGES/lightdm.mo
/usr/share/locale/sl
/usr/share/locale/sl/LC_MESSAGES
/usr/share/locale/sl/LC_MESSAGES/lightdm.mo
/usr/share/locale/sq
/usr/share/locale/sq/LC_MESSAGES
/usr/share/locale/sq/LC_MESSAGES/lightdm.mo
/usr/share/locale/sr
/usr/share/locale/sr/LC_MESSAGES
/usr/share/locale/sr/LC_MESSAGES/lightdm.mo
/usr/share/locale/sv
/usr/share/locale/sv/LC_MESSAGES
/usr/share/locale/sv/LC_MESSAGES/lightdm.mo
/usr/share/locale/ta
/usr/share/locale/ta/LC_MESSAGES
/usr/share/locale/ta/LC_MESSAGES/lightdm.mo
/usr/share/locale/te
/usr/share/locale/te/LC_MESSAGES
/usr/share/locale/te/LC_MESSAGES/lightdm.mo
/usr/share/locale/tg
/usr/share/locale/tg/LC_MESSAGES
/usr/share/locale/tg/LC_MESSAGES/lightdm.mo
/usr/share/locale/th
/usr/share/locale/th/LC_MESSAGES
/usr/share/locale/th/LC_MESSAGES/lightdm.mo
/usr/share/locale/tl
/usr/share/locale/tl/LC_MESSAGES
/usr/share/locale/tl/LC_MESSAGES/lightdm.mo
/usr/share/locale/tr
/usr/share/locale/tr/LC_MESSAGES
/usr/share/locale/tr/LC_MESSAGES/lightdm.mo
/usr/share/locale/ug
/usr/share/locale/ug/LC_MESSAGES
/usr/share/locale/ug/LC_MESSAGES/lightdm.mo
/usr/share/locale/uk
/usr/share/locale/uk/LC_MESSAGES
/usr/share/locale/uk/LC_MESSAGES/lightdm.mo
/usr/share/locale/uz
/usr/share/locale/uz/LC_MESSAGES
/usr/share/locale/uz/LC_MESSAGES/lightdm.mo
/usr/share/locale/vi
/usr/share/locale/vi/LC_MESSAGES
/usr/share/locale/vi/LC_MESSAGES/lightdm.mo
/usr/share/locale/wae
/usr/share/locale/wae/LC_MESSAGES
/usr/share/locale/wae/LC_MESSAGES/lightdm.mo
/usr/share/locale/zh_CN
/usr/share/locale/zh_CN/LC_MESSAGES
/usr/share/locale/zh_CN/LC_MESSAGES/lightdm.mo
/usr/share/locale/zh_HK
/usr/share/locale/zh_HK/LC_MESSAGES
/usr/share/locale/zh_HK/LC_MESSAGES/lightdm.mo
/usr/share/locale/zh_TW
/usr/share/locale/zh_TW/LC_MESSAGES
/usr/share/locale/zh_TW/LC_MESSAGES/lightdm.mo
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/dm-tool.1.bz2
/usr/share/man/man1/lightdm.1.bz2
/var
/var/lib
/var/lib/lightdm-data

_________________
I already use the new Genthree.
Back to top
View user's profile Send private message
pun_guin
Apprentice
Apprentice


Joined: 06 Feb 2018
Posts: 204

PostPosted: Thu Jun 28, 2018 9:10 pm    Post subject: Reply with quote

I lost everything I had written when capturing ls output... so I'll just write shorter now.

LIsLinuxIsSogood wrote:
From the log of lightdm, please also post if there is any contents to the .xsession-errors file.


Not with dwm.

Quote:
We need to increase the logging verbosity on Xorg log it isn't enough.


To what?

Quote:
why you think the loss of keyboard input is at all related to the disappearance of the dwm bar or display objects like that menubar.


The loss of dwm hotkey functionality, NOT the loss of keyboard input. I can switch to TTYs. I can't use dwm.

Quote:
**What I noticed in your Xorg.log is that it is not set to verbose enough logging, so I think increasing that would be good. I forgot how, but look it up on google or else I will and can post that soon.


To what?

Quote:
2) Software configurations (outside of X11, like openrc service for display manager xdm)


Code:
# cat /etc/conf.d/xdm
# We always try and start X on a static VT. The various DMs normally default
# to using VT7. If you wish to use the xdm init script, then you should ensure
# that the VT checked is the same VT your DM wants to use. We do this check to
# ensure that you haven't accidentally configured something to run on the VT
# in your /etc/inittab file so that you don't get a dead keyboard.
CHECKVT=7

# What display manager do you use ?  [ xdm | gdm | kdm | gpe | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="lightdm"


What else?

Quote:
3) Policykit/Consolekit
**Note I just noticed that did show up in one of the logs for lightdm, so debugging that could help as well. The log faculty for consolekit can be internal or through the other systems it relies on like dbus, user logs, authentication and security logs etc.


What do I need to do?

(I still doubt that LightDM is the culprit. Window Maker works with LightDM - StumpWM does too, I just tested that. Only dwm refuses to work.)

Quote:
1) When you installed gentoo, or since did you set up any system logging? Using which logging tool there are a few available? Syslog, sysklogd, metalog


Not knowingly.

Quote:
2) In your /var/log folder can you please post contents of the names of files there so that we can see if the log may exist already that could have captured the information you are needing, or if you will need to turn on logging features for that?


Code:
# ls /var/log
auth.log       daemon.log       debug.0           emerge.log     kern.log.3.gz  mail.err.1.gz   mail.log       mail.warn.1.gz  messages.3.gz  syslog.1.gz  tallylog       wtmp
auth.log.0     daemon.log.0     debug.1.gz        genkernel.log  lastlog        mail.err.2.gz   mail.log.0     mail.warn.2.gz  portage        syslog.2.gz  user.log       Xorg.0.log
auth.log.1.gz  daemon.log.1.gz  debug.2.gz        kern.log       lightdm        mail.info       mail.log.1.gz  messages        rc.log         syslog.3.gz  user.log.0     Xorg.0.log.old
auth.log.2.gz  daemon.log.2.gz  debug.3.gz        kern.log.0     lpr.log        mail.info.0     mail.log.2.gz  messages.0      sandbox        syslog.4.gz  user.log.1.gz  Xorg.1.log
auth.log.3.gz  daemon.log.3.gz  dmesg             kern.log.1.gz  mail.err       mail.info.1.gz  mail.warn      messages.1.gz   syslog         syslog.5.gz  user.log.2.gz  Xorg.1.log.old
ConsoleKit     debug            emerge-fetch.log  kern.log.2.gz  mail.err.0     mail.info.2.gz  mail.warn.0    messages.2.gz   syslog.0       syslog.6.gz  user.log.3.gz


Quote:
4) Have you already checked each of the active logs in the /var/log folder and either used grep or just some search for likely errors contributing at the time of the system crash?


Yes. grep -E dwm * does only show results from emerging though.

Quote:
5) Then terms of actually fixing it, did you follow the wiki or how did you install/setup the display manager for lightdm, and dwm.


Yes. And it worked for a day or so - and then it stopped and I have no clue why.
LightDM itself still seems to work fine with everything but dwm.

Quote:
6) Lastly, are there any other problems going on with either GUI (under dwm or windowmake) that would lead you to believe that some particular system is responsible for the problem? And if so this goes back to question #2 about making sure to turn on the system wide logging facility for that


Everything but dwm is smooth and silky. :)
edit: While typing this, I noticed that Firefox has a mouse offset problem in StumpWM, I need to click higher than the target element. But no issues in Window Maker.

Quote:
The package you want to install if you don't have experience with logging in linux is sysklogd


Trying...
_________________
I already use the new Genthree.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Thu Jun 28, 2018 9:34 pm    Post subject: Reply with quote

Quote:
Everything but dwm is smooth and silky. :)

Please provide some further description again, so that we can perhaps open this up to some other people to respond. I am actually unable to help since it is unclear to me what the problem is. I had thought that we ruled out dwm being a problem earlier when using the command line to start it.

You may want to consider switching login managers if this is really getting in the way. Some people just write their own scripts for it or go without a LM altogether and are not with anything less for it.

Anyway, sorry I didn't look more carefully over this week, but I think your post here is actually a very good example of why it makes it really difficult without any error output to diagnose issues.

Can you do another test to check if the logs are showing stuff and post pack...first reproduce the issue (with the dwm session), taking note of the system time you logged in and were missing whatever functionality was supposed to be there...then a fairly inefficient way but still much easier than this back and forth discussion would be that you should open each of the following logs and look for some error messages. (For that try things like grep error, for that). The logs you would want to check include the user.log and syslog.log and maybe the Xorg.log as well, but probably not since it doesn't seem like that is it. Maybe also check the messages or kernel log.

Each log is timestamped, so you shouldn't have to grep but if you are going to filter the logs then look for things like grep error, or grep failure. As opposed to using the program name it is not as common.
Back to top
View user's profile Send private message
pun_guin
Apprentice
Apprentice


Joined: 06 Feb 2018
Posts: 204

PostPosted: Thu Jun 28, 2018 10:15 pm    Post subject: Reply with quote

LIsLinuxIsSogood wrote:
I had thought that we ruled out dwm being a problem earlier when using the command line to start it.


But everything except dwm works...
I am currently performing a deep update of @world, maybe that magically fixes things. I'm out of ideas, really. :?
130 packages to be updated... :lol:

LIsLinuxIsSogood wrote:
You may want to consider switching login managers if this is really getting in the way.


Which one is lightweight as well and won't force me to pull in half of GNOME or KDE?

LIsLinuxIsSogood wrote:
The logs you would want to check include the user.log and syslog.log and maybe the Xorg.log as well, but probably not since it doesn't seem like that is it. Maybe also check the messages or kernel log.


Done. Nothing related to dwm not working...
This is somewhat frustrating, honestly.

Waiting for the updates to complete... :?
_________________
I already use the new Genthree.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Thu Jun 28, 2018 10:30 pm    Post subject: Reply with quote

Don't use the ruling out technique unless there are no other options present. Your updates are important, I think. Many times dependent library packages need updating. Another tool you can use to test that is ldd, which works by checking the status of the linked libraries to a particular application that is running.

I think after your updates if the problem persists then that may be the thing to check, and if not then I am throwing my hands up and saying you should switch login managers. How about xdm doesn't look pretty but if what you are going for is functional it is definitely that.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Thu Jun 28, 2018 10:31 pm    Post subject: Reply with quote

Quote:
Waiting for the updates to complete... :?


I don't know why I had just assumed that this was attempted already, but 99% of the time this could fix the problem :)
Back to top
View user's profile Send private message
pun_guin
Apprentice
Apprentice


Joined: 06 Feb 2018
Posts: 204

PostPosted: Thu Jun 28, 2018 10:36 pm    Post subject: Reply with quote

I usually don't --deep unless I have a good reason to do so, e.g. a new compiler or a new kernel or something. Hmm, this may take a while.
Let's hope the best. :lol:
_________________
I already use the new Genthree.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Thu Jun 28, 2018 10:45 pm    Post subject: Reply with quote

Yeah that's ok, but if you look at the list of dependencies for dwm and lightdm and see if any of those packages may be installing, could be a waste of time if it isn't but would be cool to see otherwise. Updating is a must do in many linux environments (such as gui) which is why so many distros choose to basically push their updates now. Gentoo leaves it up to you when to do it, but if you go too long between updates that is a good way to end up in a nightmare of sorts for Portage. Hope it helped.
Back to top
View user's profile Send private message
pun_guin
Apprentice
Apprentice


Joined: 06 Feb 2018
Posts: 204

PostPosted: Fri Jun 29, 2018 6:36 pm    Post subject: Reply with quote

It did not.
_________________
I already use the new Genthree.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Fri Jun 29, 2018 8:09 pm    Post subject: Reply with quote

Too bad about the updates.

For completeness post ~/.xinitrc

Thanks
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Fri Jun 29, 2018 8:20 pm    Post subject: Reply with quote

Quote:
Unknown command 'lightdm'

Were you able to get lightdm to start from the command line? Yes or no.
Back to top
View user's profile Send private message
pun_guin
Apprentice
Apprentice


Joined: 06 Feb 2018
Posts: 204

PostPosted: Fri Jun 29, 2018 8:48 pm    Post subject: Reply with quote

Well, no, because of "unknown command". That's still the case, by the way. I need to start it over xdm. I wonder if that was a mistake...

There is no ~/.xinitrc.
_________________
I already use the new Genthree.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Fri Jun 29, 2018 9:22 pm    Post subject: Reply with quote

fyi the file you mentioned having not changed was actually changed I just compare it to the lightdm.conf from a fresh install and it looks different at somewhere in the middle of the file you may want to check in on that.

Also, I faithfully resign from this chance to help another gentoo-er as I think this issue (using lightdm as a login manager with dwm...seems like something impossible to solve without some more physical evidence or error messages). The OP has provided all the logs that were asked of him, and other than perhaps being somewhat limited in his follow through on testing to make the changes for certain things avoided being non-compliant and therefore hopefully will get the help he needs from someone else in finding the source of the error leading to a missing menu bar and hotkeys in dwm.

For what it is worth, the focus of the issue being lightdm can probably be disregarded, as could Xorg but for the fact that something is definitely up with the session manageent, and the first place to start debugging that problem in my epxerience is with X. Sorry I couldn't be of more help and bottom line I understand how problems with gui are incredibly frustrating and make the system feel/seem unusable totally. Have you considered returning to another more simple way of getting logged in that doesn't make use of a service for the login manager, maybe using the xinitrc approach or another Xorg approach to setting the session...at least until you've figured out why dwm doesn't seem to work otherwise?? In other words somewhere in here I think you confirmed that with startx everything works fine. So if your goal is to just login and get to work then you can do that by using startx. If your goal is diagnose what is wrong with lightdm, which is what appears to be then sorry I couldn't be of more help. anyways, in the process I did install lightdm and am going to start tinkering with it now and if something occurs to me about the reason that somehow could play into things then I will be sure to mention it later.

FYI, losing function for a specific application like a window manager is often best dealt with in other venues online, like a more populated distro that has tons more users and therefore handles that kind of thing easily, have you searched the Ubuntu forums for this problem?
Back to top
View user's profile Send private message
pun_guin
Apprentice
Apprentice


Joined: 06 Feb 2018
Posts: 204

PostPosted: Fri Jun 29, 2018 10:24 pm    Post subject: Reply with quote

It is really, absolutely, no problem. You tried your best and you don't owe me anything. After all, this is entirely unpaid. :)
I might take my business :D elsewhere (= ask in a different forum), but I made the experience that most Linux forums are not really populated by people with the Gentoo community's patience and/or clue about what happens...

I'll let this issue rest for a while, maybe I'll have an epiphany yet. :)

I'm not relying on dwm at all, I also have StumpWM and Window Maker - I just wondered why it stopped working all of a sudden. Don't worry.
Sticking with startx would probably take some of the flexibility off my log-in process, but I'll keep that in mind as a last resort.
_________________
I already use the new Genthree.
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
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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