You are not logged in.
Pages: 1
Hello!
Recently I have installed BSPWM, and set it up for automatic boot - but it won't boot directly. The only way I can get into BSPWM was if I used the tty.
Thank you, and have a great day!
Offline
Did you install a display manager? This is one of the last steps to setting up a fresh arch installation. For bspwm I recommend sddm or lightdm.
System Specs:
Intel Core i5-2400 Nvidia GTX 1050ti Logitech G402 Hyperion Fury (Mouse) BestBuy Essentials USB Keyboard
Software Specifications:
Desktop Environment: KDE Plasma Window Manager: KWin Operating System: Arch Linux (btw)
Offline
How did you enable autologin?
If you using xinit or startx, post xinitrc file and login shell initialization file.
I'm just someone. Please use [code] [/code] tags.
Offline
I did install a display manager, and here's my xinitrc & bash profile files:
xinitrc: http://ix.io/44sC
bash profile: http://ix.io/3T9P
Offline
I did install a display manager, and here's my xinitrc & bash profile files:
xinitrc: http://ix.io/44sC
bash profile: http://ix.io/3T9P
When a display manager is in use, the .xinitrc is completely ignored. If you used that alongside bspwm to autorun apps, you can just copy that over to ~/.config/bspwm/bspwmrc. What display manager exactly? You can probably configure autologin!
Last edited by JaydenDev (2022-07-15 20:23:43)
System Specs:
Intel Core i5-2400 Nvidia GTX 1050ti Logitech G402 Hyperion Fury (Mouse) BestBuy Essentials USB Keyboard
Software Specifications:
Desktop Environment: KDE Plasma Window Manager: KWin Operating System: Arch Linux (btw)
Offline
inter22 wrote:I did install a display manager, and here's my xinitrc & bash profile files:
xinitrc: http://ix.io/44sC
bash profile: http://ix.io/3T9PWhen a display manager is in use, the .xinitrc is completely ignored. If you used that alongside bspwm to autorun apps, you can just copy that over to ~/.config/bspwm/bspwmrc. What display manager exactly? You can probably configure autologin!
I am using LightDM for my display manager
Offline
In your xinitrc file add exec in bspwm line. Something like exec bspwm
And if you install a display manager, I think you need to enable the service of that display. But use xinit or a display manager.
For lightdm enable lightdm.service with systemctl, and install a lightdm-greeter: https://wiki.archlinux.org/title/LightDM#Greeter
Last edited by Adriik (2022-07-15 20:27:40)
I'm just someone. Please use [code] [/code] tags.
Offline
JaydenDev wrote:inter22 wrote:I did install a display manager, and here's my xinitrc & bash profile files:
xinitrc: http://ix.io/44sC
bash profile: http://ix.io/3T9PWhen a display manager is in use, the .xinitrc is completely ignored. If you used that alongside bspwm to autorun apps, you can just copy that over to ~/.config/bspwm/bspwmrc. What display manager exactly? You can probably configure autologin!
I am using LightDM for my display manager
edit '/etc/lightdm/lightdm.conf' with your preferred editor
find the following commented lines
#autologin-guest=false
#autologin-user=user
#autologin-user-timeout=0uncomment said lines, and set autologin-user to your username.
source: here
Last edited by JaydenDev (2022-07-15 20:28:00)
System Specs:
Intel Core i5-2400 Nvidia GTX 1050ti Logitech G402 Hyperion Fury (Mouse) BestBuy Essentials USB Keyboard
Software Specifications:
Desktop Environment: KDE Plasma Window Manager: KWin Operating System: Arch Linux (btw)
Offline
inter22 wrote:JaydenDev wrote:When a display manager is in use, the .xinitrc is completely ignored. If you used that alongside bspwm to autorun apps, you can just copy that over to ~/.config/bspwm/bspwmrc. What display manager exactly? You can probably configure autologin!
I am using LightDM for my display manager
edit '/etc/lightdm/lightdm.conf' with your preferred editor
find the following commented lines
#autologin-guest=false #autologin-user=user #autologin-user-timeout=0uncomment said lines, and set autologin-user to your username.
source: here
Hey! I'm trying to edit the file, but my password isn't working when trying to sudo. It works when I tried to change the password. What should I do?
Offline
source: here
Have you tested those instructions? They do not match LightDM#Enabling_autologin.
Edit:
Hey! I'm trying to edit the file, but my password isn't working when trying to sudo. It works when I tried to change the password. What should I do?
Have you been able to use sudo successfully with that user previously? If not have you configured sudo so it should be useable by your user?
Last edited by loqs (2022-07-15 20:51:37)
Offline
JaydenDev wrote:source: here
Have you tested those instructions? They do not match LightDM#Enabling_autologin.
Edit:inter22 wrote:Hey! I'm trying to edit the file, but my password isn't working when trying to sudo. It works when I tried to change the password. What should I do?
Have you been able to use sudo successfully with that user previously? If not have you configured sudo so it should be useable by your user?
Yes, I have been able to use sudo before.
Offline
Check the output of `faillock` see if lists three entries marked as valid. If so reset faillock with `faillock --reset` Security#Lock_out_user_after_three_failed_login_attempts
If that is not the cause, check the system journal. If you user is not in the wheel, adm or systemd-journal group use su or login as root as sudo is refusing access.
Offline
Check the output of `faillock` see if lists three entries marked as valid. If so reset faillock with `faillock --reset` Security#Lock_out_user_after_three_failed_login_attempts
If that is not the cause, check the system journal. If you user is not in the wheel, adm or systemd-journal group use su or login as root as sudo is refusing access.
Thank you! I had to reset faillock to get sudo to work
Offline
I enabled autologin, and yet I still can't automatically get into BSPWM.
Offline
Please post the config files you modified to enable autologin / autostart of bspwm.
Edit:
Is autologin now functioning but now starting bspwm? If so what is starting?
Last edited by loqs (2022-07-15 22:04:04)
Offline
Please post the config files you modified to enable autologin / autostart of bspwm.
Edit:
Is autologin now functioning but now starting bspwm? If so what is starting?
Hey, sorry for the wait. I had to login, and here is the autologin from lightdm.conf: http://ix.io/44t2
Offline
What if you change
autologin-session=Xfce Sessionto
autologin-session=bspwmOr comment that entry out and use ~/.dmrc
I assume you added your user to the autologin group as documented in LightDM#Enabling_autologin
Offline
What if you change
autologin-session=Xfce Sessionto
autologin-session=bspwmOr comment that entry out and use ~/.dmrc
I assume you added your user to the autologin group as documented in LightDM#Enabling_autologin
Sorry for the long wait again, but both of those options did not work. When I changed Xfce Session to bspwm, it showed a black screen. When I used dmrc, it went to Xfce.
Offline
You had Xinit#Autostart_X_at_login configured if you changed 'bspwm' to 'exec bspwm' on the last line of .xinitrc and stopped lightdm does that work?
Offline
You had Xinit#Autostart_X_at_login configured if you changed 'bspwm' to 'exec bspwm' on the last line of .xinitrc and stopped lightdm does that work?
I changed that before, yes
Offline
loqs wrote:You had Xinit#Autostart_X_at_login configured if you changed 'bspwm' to 'exec bspwm' on the last line of .xinitrc and stopped lightdm does that work?
I changed that before, yes
Then after rebooting with lightdm disabled, on tty1 is your user autologged in and X started running bspwm?
Edit:
lightdm has to be disabled as it conflicts with getty@tty1.service preventing the getty from starting.
Last edited by loqs (2022-07-16 00:45:28)
Offline
inter22 wrote:loqs wrote:You had Xinit#Autostart_X_at_login configured if you changed 'bspwm' to 'exec bspwm' on the last line of .xinitrc and stopped lightdm does that work?
I changed that before, yes
Then after rebooting with lightdm disabled, on tty1 is your user autologged in and X started running bspwm?
Edit:
lightdm has to be disabled as it conflicts with getty@tty1.service preventing the getty from starting.
I disabled lightdm using
sudo systemctl stop lightdm.service, and it's still not booting into BSPWM.
Offline
After lightdm stopped on tty1 did a tty start on it? If not you may need to disable lightdm then reboot. If a tty did start, did it autologin? If not after you logged in did it start X? If X started what was started under X or did X just exit?
Offline
After lightdm stopped on tty1 did a tty start on it? If not you may need to disable lightdm then reboot. If a tty did start, did it autologin? If not after you logged in did it start X? If X started what was started under X or did X just exit?
Hey, no it didn't start the tty and no it didn't auto login. When I logged in it went to my (I'm guessing) Xfce desktop.
Offline
I disabled lightdm using
sudo systemctl stop lightdm.service, and it's still not booting into BSPWM.
That doesn't *disable* but *stop* lightdm and "boot" implies "reboot" what makes the previous "systemctl stop lightdm.service" irrelevant.
1. Do you want to use lightdm or are you actually fine w/ xinit?
2. To avoid booting into lightdm run
sudo systemctl disable lightdm3. reboot, describe what happens.
4. if it doesn't work post the output of
grep $(id -un) /etc/passwdand what your shell profile, shell rc and xinitrc presently look like.
Offline
Pages: 1