#Won’t go past the login screen.

222 messages · Page 1 of 1 (latest)

real cipher
#

you are probably just logged on basic i3/dwm with no bar and no wallpaper ...

crystal mason
real cipher
#

if you see your cursor then yeah, something is wrong with your config

crystal mason
#

I am not that dumb turns out, it doesn’t work.

real cipher
#

mmh could it be an issue with your graphic driver?

crystal mason
real cipher
crystal mason
real cipher
#

what do you see after the boot?

crystal mason
crystal mason
crystal mason
real cipher
#

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

crystal mason
#

@real cipher , sorry for the wait time, I’m back.

#

The monitors now started flickering

real cipher
#

@crystal mason mmh can you check if you own Xauthority? ls -l .Xauthority

#

is the file owned by your username?

real cipher
#

@crystal mason rm .Xauthority and try again

crystal mason
#

Ok brb

real cipher
#

wait what, did you delete the file right?

crystal mason
real cipher
#

ls -l .Xauthority again, is it still root

#

?

#

if yes it looks like root is trying to start X everytime

crystal mason
real cipher
crystal mason
#

Yes

real cipher
#

and also stat /home/mortadelas

crystal mason
real cipher
#

@crystal mason can you type ls -ld /home/mortadelas

#

to make sure you have rw permissions

real cipher
#

ok good, try to reboot and login again

crystal mason
crystal mason
real cipher
#

can you ls -l .Xauthority now?

crystal mason
real cipher
#

that really shouldn't be owned by root

#

not sure what is creating it, but try to set it manually

real cipher
#

chown your_username .Xauthority

crystal mason
real cipher
#

it worked running from startx or from lemurs?

crystal mason
real cipher
#

yeah because I'm sure Xauthority is back to root

crystal mason
real cipher
#

@crystal mason still wondering why Xauth keeps resetting as root

crystal mason
real cipher
#

mmh I can ask

crystal mason
real cipher
# crystal mason 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

crystal mason
real cipher
#

oh wait, could it be that you compiled your lemurs from root?

#

@crystal mason

crystal mason
#

Idk

#

But it worked for a while now?

#

Reinstall?

real cipher
#

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

crystal mason
real cipher
#

so, login with your username

crystal mason
#

Yes

real cipher
#

then run systemctl disable lemurs.service

#

lemurs not display-manager, my bad

#

then pacman -Rns lemurs-git

#

then pacman -S lightdm lightdm-gtk-greeter

crystal mason
#

It’s installing

#

I did it as root though

#

It’s alright though, right?

#

*with sudo

#

Okay done

real cipher
#

sudo is not root, sudo lets you run commands with elevated privileges but they command is still ran as your username

crystal mason
#

Yeah I forgor

#

Now what?

real cipher
#

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

crystal mason
real cipher
#

yes

crystal mason
real cipher
#

yes, select the wm you want in the corner and try to login

crystal mason
#

Oh yes my

#

B

#

It tries to boot, goes black for a couple of seconds, and then it goes back to the login screen.

real cipher
#

@crystal mason can you show the logs? /var/log/lightdm/lightdm.log

real cipher
#

mmh can you jump to another tty again

#

and check ls -l .Xauthority

quiet swift
#

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"

crystal mason
#

I think I’d pasted some shit on a .something file

crystal mason
#

.profile doesn’t exist, neither does zserverrc

#

.xinitrc only has exec i3.

#

Idk if it’s bad, because I want to also use dwm.

quiet swift
#

put exec dwm in .xinitrc instead of exec i3

#

then call startx or exec startx from the tty, rather than startx dwm

quiet swift
#

the same?

#

is .xinitrc in ~/

crystal mason
quiet swift
#

also, remove .Xauthority again before trying this

crystal mason
quiet swift
#

show vim fullscreen with .xinitrc

crystal mason
#

Wait

quiet swift
#

yeah, .Xauthority is supposed to be created.

crystal mason
#

I’m in dwm

quiet swift
#

haha nice

crystal mason
#

But if I reboot

#

I won’t be able to do so

quiet swift
#

?

crystal mason
#

And I didn’t delete .cauthority

crystal mason
#

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.

quiet swift
#

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

crystal mason
#

XAuthority not writable, changed will be ignored.

#

Xauth timeout in locking xauthority file in blah blah

quiet swift
#

Did you do the latest suggestions after deleting .Xauthority?

crystal mason
#

I waited it out after it said this to see what would happen, it goes to a black screen, and it flickers.

crystal mason
#

I forgot

quiet swift
#

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

crystal mason
#

I gotta go to school. Hopefully you’ll be up in about 10 hours.

quiet swift
#

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.

crystal mason
#

And what apps could have trouble in wayland?

quiet swift
#

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.

crystal mason
#

It’s desktop

quiet swift
#

:(

crystal mason
#

Yeah

#

Anyways

#

See ya in 10 hours or more

crystal mason
#

@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

real cipher
#

@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?

crystal mason
real cipher
#

@crystal mason still having the Xauthority issue?

real cipher
#

mmh?

crystal mason
#

I can boot from the light den thing

#

Can I go back to lemur now?

real cipher
#

I'd try to reboot to make sure it works fine first

crystal mason
#

Yeah brb

real cipher
#

then yeah you could try to switch back to lemurs

crystal mason
#

IT WORKSSSS

#

Hehehehehehh

real cipher
#

you can leave lightdm installed

#

just in case

crystal mason
#

Nah

real cipher
#

just install lemurs, make sure that you have the wm scripts, then disable the lightdm service and start the lemurs service

crystal mason
#

Yeah

#

Hopefully nothing fucks up

#

While we’re at it

#

Do you know some things about dwm?

#

I get some compiling errors

real cipher
#

nah, I have only extensively used awesome wm and sway

crystal mason
#

Here is the errors I get

#

In case you can help

#

Also, why do I get these in lemur? I also got them before.

real cipher
#

probably a syntax error somewhere in the code

crystal mason
real cipher
crystal mason
#

It’s alright for now, I’ll see

#

What are the errors that pop up in lemur?

real cipher
#

I have no idea, looks like something related to nvidia

#

and your Xbox Wireless Controller Adapter firmware

crystal mason
#

That's alright. Btw, here is what probably causes the issue when compiling.

real cipher
#

@crystal mason

crystal mason
real cipher
#

line 189 of your code

crystal mason
real cipher
#

see the line above 189? that's how a modkey should look like

#

you just typed { MODKEY, that's it

#

missing parameters, no closing },

crystal mason
#

Ohhh

real cipher
#

remove that whole line

crystal mason
#

Done

#

Thanlks

crystal mason
#

Can I fix them?

#

Nvm

#

I see it

#

It's alright

#

Thank you for everything

#

I cannot thank you enough

real cipher
#

np good luck 😅

crystal mason
quiet swift
#

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.