#Won’t go past the login screen.
222 messages · Page 1 of 1 (latest)
I have them installed for a while now. I don’t think that’s the case, lemme check ig.
if you see your cursor then yeah, something is wrong with your config
No, I don’t see the cursor.
I am not that dumb turns out, it doesn’t work.
mmh could it be an issue with your graphic driver?
How do I know?
startx if you have xorg-xinit
How do I do that?
from the login prompt? or you don't have one?
what do you see after the boot?
I use lemur, yes.
Just black
How do I do that?
you can switch to another tty with ctrl+alt+f3 to f6
and try to run i3 from there
also I'm not familiar with lemurs, but looking at their doc, you can also check that your i3 script is in /etc/lemurs/i3 and had the execute permission
@real cipher , sorry for the wait time, I’m back.
The monitors now started flickering
@crystal mason mmh can you check if you own Xauthority? ls -l .Xauthority
is the file owned by your username?
@crystal mason rm .Xauthority and try again
Ok brb
wait what, did you delete the file right?
Yes
ls -l .Xauthority again, is it still root
?
if yes it looks like root is trying to start X everytime
Cannot access it because it don’t exist
can you type whoami
and also stat /home/mortadelas
@crystal mason can you type ls -ld /home/mortadelas
to make sure you have rw permissions
ok good, try to reboot and login again
Nothing.
can you ls -l .Xauthority now?
that really shouldn't be owned by root
not sure what is creating it, but try to set it manually
How?
chown your_username .Xauthority
i3 worked okay, I rebooted to go into dwm, it didn’t work, and now neither of them work.
it worked running from startx or from lemurs?
yeah because I'm sure Xauthority is back to root
How do I fix this permanantelt?
@crystal mason still wondering why Xauth keeps resetting as root
Idk, do you know if anyone else can help?
mmh I can ask
Please do
meanwhile, can you run provide some more information:
ls -l ~
then run cat on your startup scripts in /etc/lemurs/wm or wherever your startup scripts are
Hmm
Idk
But it worked for a while now?
Reinstall?
try to install another dm light lightdm
disable lemurs, turn on lightdm, login, remote lemurs and try to install it again
then replace lightdm with lemurs again
Can you help me do it step by step please? I don’t got a working computer so
so, login with your username
Yes
then run systemctl disable lemurs.service
lemurs not display-manager, my bad
then pacman -Rns lemurs-git
then pacman -S lightdm lightdm-gtk-greeter
It’s installing
I did it as root though
It’s alright though, right?
*with sudo
Okay done
sudo is not root, sudo lets you run commands with elevated privileges but they command is still ran as your username
ok next open /etc/lightdm/lightdm.conf with a text editor
edit this line
[Seat:*]
...
greeter-session=lightdm-yourgreeter-greeter
...
set greeter-session=lightdm-gtk-greeter
then systemctl enable lightdm.service
Now reboot?
yes
Now, log in?
yes, select the wm you want in the corner and try to login
What corner?
Oh yes my
B
It tries to boot, goes black for a couple of seconds, and then it goes back to the login screen.
@crystal mason can you show the logs? /var/log/lightdm/lightdm.log
Did you have an .xinitrc file when running startx?
Otherwise it uses the default in /etc
This might not help, but I define my own .Xauthority .xserverrc .xinitrc for startx, all of which I put inside .config/ to keep my home tidy. Perhaps defining these manually would help your case, apart from the tidiness reason.
In .profile (or any startup script you might have)
exec startx $HOME/.config/.xinitrc -- $HOME/.config/.xserverrc
.xserverrc
exec /usr/bin/Xorg -nolisten tcp -nolisten local "$@" vt$XDG_VTNR
.xinitrc
# load package-managed config additions.
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xset r rate 330 30 &
xset -b &
xsetroot -solid '#11111d' &
xbindkeys -f $HOME/.config/.xbindkeysrc &
xrdb -load $HOME/.config/.Xresources
xrandr --output eDP-1 --mode 1920x1080
xrandr --output HDMI-1 --auto --right-of eDP-1
exec dwm
For your issue, you might just try the very first line before calling startx (or anything else you use to start the session), and nevermind all my other configs:
export XAUTHORITY="$HOME/.config/.Xauthority"
Wait
I think I’d pasted some shit on a .something file
Nope, not it.
.profile doesn’t exist, neither does zserverrc
.xinitrc only has exec i3.
Idk if it’s bad, because I want to also use dwm.
put exec dwm in .xinitrc instead of exec i3
then call startx or exec startx from the tty, rather than startx dwm
I get this error
Yeah I think so
also, remove .Xauthority again before trying this
Isn’t the issue that something keeps making an .Xauthority file?
show vim fullscreen with .xinitrc
Wait
yeah, .Xauthority is supposed to be created.
I’m in dwm
haha nice
?
And I didn’t delete .cauthority
Lemme reboot to demonstrate.
I am in lightdm or whatever this is, dk why I uninstalled lemur. There isn’t a dwm option, and when I try to boot to i3, I get kicked back to a black screen.
add this in .xinitrc before exec dwm
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
make sure .xinitrc is in home. i.e. ~/.xinitrc
you'll either use startx or a display manager
pick a path :)
also try startx ~/.xinitrc
or wherever the .xinitrc is. (should be there)
delete .Xauthority before trying any new things, since it seems it gets created owned by root for some reason currently
XAuthority not writable, changed will be ignored.
Xauth timeout in locking xauthority file in blah blah
Did you do the latest suggestions after deleting .Xauthority?
I waited it out after it said this to see what would happen, it goes to a black screen, and it flickers.
Oh no
I forgot
unless you delete it, nothing will change, as the unwriteable .Xauthority is the only issue you have :)
but it is strange, I don't remember having run into anything like this about X11
I gotta go to school. Hopefully you’ll be up in about 10 hours.
yeah, will try to help more. have a good day!
btw, I'm sure this can be solved, but in case you might consider it; I moved to dwl on Wayland from dwm, and I really like it.
If you do not think you have some required applications that might have trouble on Wayland, you could prefer it.
I have an nvidia card. Doesn’t wayland have issues with nvidia?
And what apps could have trouble in wayland?
If desktop, yeah forget Wayland.
If laptop with iGPU + Nvidia, it works perfectly fine. Unless your external display ports are wired through the Nvidia GPU.
It’s desktop
:(
@quiet swift
Turns out those ten hours became 36 hours
Anyways
Im back and I have a lot of time.
@real cipher perhaps you could help?
Sorry for @ing
@crystal mason if you have a working xinitrc startx will read from there and start your wm
and can just used startx
if you are not sure of what's inside your xinitrc or want to start x with something else you can directly call for the bin
like startx /usr/bin/i3
can I also ask you how you have installed arch?
Normal old fashioned way
@crystal mason still having the Xauthority issue?
Wait
mmh?
I'd try to reboot to make sure it works fine first
Yeah brb
then yeah you could try to switch back to lemurs
Nah
just install lemurs, make sure that you have the wm scripts, then disable the lightdm service and start the lemurs service
Yeah
Hopefully nothing fucks up
While we’re at it
Do you know some things about dwm?
I get some compiling errors
nah, I have only extensively used awesome wm and sway
Here is the errors I get
In case you can help
Also, why do I get these in lemur? I also got them before.
probably a syntax error somewhere in the code
Yeah imma send this to a c server
nah, you can ask here too, just people are going to need the full code or at least the function where that fails
I have no idea, looks like something related to nvidia
and your Xbox Wireless Controller Adapter firmware
That's alright. Btw, here is what probably causes the issue when compiling.
@crystal mason
?
line 189 of your code
What do I do?
see the line above 189? that's how a modkey should look like
you just typed { MODKEY, that's it
missing parameters, no closing },
Ohhh
remove that whole line
Now I get this. It's just warnings
Can I fix them?
Nvm
I see it
It's alright
Thank you for everything
I cannot thank you enough
np good luck 😅
Have a really great day!
Good luck with dwm! Hope you like it.
I see you installed quite a few patches. I guess you will try out the different layouts and features.
I would try to keep it simple. See if you are actually using the patches, and try to do more with what is offered by default in dwm, using only few patches to alter some specific things in case it really feels more natural or more convenient to you.
- pertag is an essential for me, and many dwm users.
- losefullscreen or focusfullscreen; I find quite useful. With focusfullscreen, you can forget about monocle mode.
Other stuff is quite optional for me.
- removeborder or smartborders; makes for a cleaner look when you have only one window.
- status2d; gives colors to your status bar.
- focusmonmouse; moves your mouse cursor to the other monitor when you switch to it.