Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Issues with xfce OpenRC (Read 239 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Issues with xfce OpenRC

Yesterday i installed artix-base-openrc and xfce DE. I am having 3 issues.
1. When i am presented with lightdm gtk to login. I enter my password and then it blinks and ask for password again. after entering password for 2nd time. it shows me desktop screen.
2. often librewolf stops launching and after logging in again, it starts to launch without changing anything.

3. the screen brightness is always set to maximum after every restart.
Please help.

Re: Issues with xfce OpenRC

Reply #1
Quote
1. When i am presented with lightdm gtk to login. I enter my password and then it blinks and ask for password again. after entering password for 2nd time. it shows me desktop screen.
Do you have a hostname? Check /etc/hostname and /etc/hosts, they should be configured like so: https://wiki.artixlinux.org/Main/Installation#Network_configuration
Quote
2. often librewolf stops launching and after logging in again, it starts to launch without changing anything.
This is very vague, maybe see if this happens again after solving the lightdm thing?
Quote
3. the screen brightness is always set to maximum after every restart.
This is actually intended, if you want to save brightness then install backlight-openrc and enable it:
Code: [Select]
sudo rc-update add backlight default

Re: Issues with xfce OpenRC

Reply #2
Quote
1. When i am presented with lightdm gtk to login. I enter my password and then it blinks and ask for password again. after entering password for 2nd time. it shows me desktop screen.
Do you have a hostname? Check /etc/hostname and /etc/hosts, they should be configured like so: https://wiki.artixlinux.org/Main/Installation#Network_configuration
Quote
2. often librewolf stops launching and after logging in again, it starts to launch without changing anything.
This is very vague, maybe see if this happens again after solving the lightdm thing?
Quote
3. the screen brightness is always set to maximum after every restart.
This is actually intended, if you want to save brightness then install backlight-openrc and enable it:
Code: [Select]
sudo rc-update add backlight default
okay i added backlight-openrc and brightness issue is solved. but i have hostname and hosts set correctly and issue still remains


 

Re: Issues with xfce OpenRC

Reply #4
Quote
but i have hostname and hosts set correctly and issue still remains
Hm, this is weird. Seems like a common cause of this issue is the hostname, I can't really find anything else. What does running hostname from a terminal output?

And it doesn't look like there's anything critical in the xsessionerrors, though the pulseaudio warning is a bit concerning. Do you have sound? Are you using pipewire or pulseaudio?

Re: Issues with xfce OpenRC

Reply #5
Quote
but i have hostname and hosts set correctly and issue still remains
Hm, this is weird. Seems like a common cause of this issue is the hostname, I can't really find anything else. What does running hostname from a terminal output?

And it doesn't look like there's anything critical in the xsessionerrors, though the pulseaudio warning is a bit concerning. Do you have sound? Are you using pipewire or pulseaudio?
hostname command outputs systemhostname. no i downloaded pipewire and struggling to get it work. i have no sound. followed artix wiki and created .xinitrc file and pasted the commands but i still have no sound

Re: Issues with xfce OpenRC

Reply #6
Quote
followed artix wiki and created .xinitrc file and pasted the commands but i still have no sound
What commands exactly? Post your .xinitrc

Re: Issues with xfce OpenRC

Reply #7
Quote
followed artix wiki and created .xinitrc file and pasted the commands but i still have no sound
What commands exactly? Post your .xinitrc
Code: [Select]
/usr/bin/pipewire &
 /usr/bin/pipewire-pulse &
 /usr/bin/wireplumber &
 exec openbox-session

Re: Issues with xfce OpenRC

Reply #8
Quote
exec openbox-session
You're using XFCE, not openbox, this line is basically trying to start a window manager that doesn't exist on your system. This is only an example from the wiki, you have to change it according to your use case, which means your .xinitrc should look like so:
Code: [Select]
/usr/bin/pipewire &
 /usr/bin/pipewire-pulse &
 /usr/bin/wireplumber &
exec startxfce4
Reboot and see if lightdm works normally now

EDIT: Hm, well actually it looks like lightdm doesn't even use .xinitrc, so this file shouldn't even matter. Sorry, I've never really worked with login managers, mostly use startx

Re: Issues with xfce OpenRC

Reply #9
Quote
exec openbox-session
You're using XFCE, not openbox, this line is basically trying to start a window manager that doesn't exist on your system. This is only an example from the wiki, you have to change it according to your use case, which means your .xinitrc should look like so:
Code: [Select]
/usr/bin/pipewire &
 /usr/bin/pipewire-pulse &
 /usr/bin/wireplumber &
exec startxfce4
Reboot and see if lightdm works normally now

EDIT: Hm, well actually it looks like lightdm doesn't even use .xinitrc, so this file shouldn't even matter. Sorry, I've never really worked with login managers, mostly use startx
it worked. after folowing it . now gets to desktop on just 1 login. however i gave up on pipewire and installed pulseaudio and removed xinitrc file and now sounds also works and lightdm problem solved too.