fairyglade / ly

display manager with console UI
Do What The F*ck You Want To Public License
5.27k stars 307 forks source link

[i3][Manjaro] Black screen after login #455

Open sloorush opened 1 year ago

sloorush commented 1 year ago

I had a look at the following issues but could not find my solution:

I am not sure what information should I give so it will be easy to debug. I'm very new to desktop managers. Please let me know what all information will be necessary

It only happens when I chose i3 and if I chose xinitrc it opens my KDE plasma perfectly.

Also going into tty after the black screen, and starting i3 with startx gives a black screen. startx also gives a black screen on the tty when run without any options(just startx)

Other information:

My ly config file is at default. .xinitrc is executable

My .xinitrc:

#!/bin/bash
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

DEFAULT_SESSION=startplasma-x11

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"
fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

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

get_session(){
    local dbus_args=(--sh-syntax --exit-with-session)
    case $1 in
        awesome) dbus_args+=(awesome) ;;
        bspwm) dbus_args+=(bspwm-session) ;;
        budgie) dbus_args+=(budgie-desktop) ;;
        cinnamon) dbus_args+=(cinnamon-session) ;;
        deepin) dbus_args+=(startdde) ;;
        enlightenment) dbus_args+=(enlightenment_start) ;;
        fluxbox) dbus_args+=(startfluxbox) ;;
        gnome) dbus_args+=(gnome-session) ;;
        i3|i3wm) dbus_args+=(i3 --shmlog-size 0) ;;
        jwm) dbus_args+=(jwm) ;;
        kde) dbus_args+=(startplasma-x11) ;;
        lxde) dbus_args+=(startlxde) ;;
        lxqt) dbus_args+=(lxqt-session) ;;
        mate) dbus_args+=(mate-session) ;;
        xfce) dbus_args+=(xfce4-session) ;;
        openbox) dbus_args+=(openbox-session) ;;
        *) dbus_args+=($DEFAULT_SESSION) ;;
    esac

    echo "dbus-launch ${dbus_args[*]}"
}

exec $(get_session "$1")

Neofetch:

❯ neofetch
██████████████████  ████████   rush@rush 
██████████████████  ████████   --------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: TUF Gaming FX505DT_FX505DT 1.0 
████████            ████████   Kernel: 5.15.74-3-MANJARO 
████████  ████████  ████████   Uptime: 10 mins 
████████  ████████  ████████   Packages: 1658 (pacman), 101 (nix-user), 43 (nix-default) 
████████  ████████  ████████   Shell: zsh 5.9 
████████  ████████  ████████   Resolution: 1920x1080 
████████  ████████  ████████   WM: i3 
████████  ████████  ████████   Theme: Breeze [GTK2/3] 
████████  ████████  ████████   Icons: breeze [GTK2/3] 
████████  ████████  ████████   Terminal: konsole 
████████  ████████  ████████   CPU: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx (8) @ 2.300GHz 
                               GPU: NVIDIA GeForce GTX 1650 Mobile / Max-Q 
                               GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series 
                               Memory: 2566MiB / 15807MiB 

P.S. I am sorry if this is a very noob issue. Please let me know if any other debug information is needed

sloorush commented 1 year ago

@AnErrupTion Any chance I can use ly on manjaro right now?

Shinigami-alt commented 1 year ago

Not yet unfortunately

yum13241 commented 1 year ago

because manjaro does really weird crap with their repos and such. See Manjarno and Manjarno, but in a video.

Do NOT accuse me of hating on Manjaro, since stating facts is not hate. Try endeavorOS or Garuda.

sloorush commented 1 year ago

@yum13241, Yeah I know about it(nothing personal with manjaro), but I don't want to/cannot spend time to shift and set up a new os at the moment(also planning to shift to a new laptop), so managing stuff with manjaro on this machine.