#Blank screen on arch linux gnome

254 messages · Page 1 of 1 (latest)

wary hare
#

Can someone help me i got this blank screen after installing a rice with gnome from youtube (just for testing) and now when i boot normally i cant even login when i go to tty,so i need to put the systemd.unit=multi-user.target in grub but thats temporary,and then when i login from tty and put the code systemctl restart gdm.service it seems it worked and put me to the login but the login is now also a blank screen.

vestal stone
#

this might just be a display manager issue

#

try getting into tty (systemd.unit=multi-user.target)

#

and install another display manager, like lightdm as an example

#
sudo pacman -Syu
sudo pacman -S lightdm
sudo systemctl enable lightdm
sudo systemctl enable --now lightdm
wary hare
vestal stone
wary hare
vestal stone
#

get into a tty

#

and install + enable another display manager

vestal stone
wary hare
vestal stone
#

no no no

#

okay look

#

in grub

wary hare
#

i put thw sudo pacman and the others in grub?

vestal stone
#

replace quiet with systemd.unit=multi-user.target

vestal stone
#

not grub

vestal stone
#

now run the commands in the script line by line

#

while you are in a tty

wary hare
#

how do i do that

#

im new🙏

vestal stone
#

where does it say that?

#

after you boot up the system entirely, or after the bootloader?

wary hare
vestal stone
wary hare
vestal stone
#

it should not be in the tty itself

wary hare
vestal stone
#

sudo systemd.unit=multi-user.target

wary hare
#

and i remove the splash aswell

wary hare
vestal stone
#

why did you remove the boot splash?

#

wait so

#

once you boot up

#

it literally says "you should be root"

#

randomly for no reason?

wary hare
wary hare
#

it says then

vestal stone
wary hare
#

when i put the pacman -Syu script

vestal stone
#

bro

#

broooooo

wary hare
vestal stone
#

you need it with sudo

#

sudo pacman -Syu

wary hare
#

and add the systemd

vestal stone
#

thats why you need root

#

use sudo

#

you cant run pacman -Syu if you arent sudo/root

wary hare
#

yeah now it make sense..

vestal stone
#

holy shit bro i was scared

wary hare
#

cuz thats what google told me

wary hare
vestal stone
#

i thought you said your system just asks for root outta nowhere

vestal stone
#

okay so

#

just run all of the commands

#

with sudo

wary hare
#

it says theres nothing to do on the pacman syu

#

emme try the otherz

vestal stone
#

it means theres no need for an update

#

you can just run the rest of the commands

#

they install lightdm, enable it at boot, and then enable it now

wary hare
vestal stone
wary hare
#

and the rest 2 says failed because it already existed

wary hare
vestal stone
#

okay so

#

NO

vestal stone
#

forget grub

wary hare
vestal stone
#

froget grub, we are in tty

#

done

#

now

wary hare
#

alright

vestal stone
#

this means

#

your display manager

#

was already lightdm

#

and those symlinks were already there

#

lightdm was the broken one

#

you just reinstalled lightdm

wary hare
#

this all happen when i try to install a rice btw if you didnt know

wary hare
vestal stone
wary hare
vestal stone
#

the config file is just fucked

wary hare
vestal stone
#

keep that there

wary hare
#

and is a symlink to /usr/systemd/system/gdm.service

wary hare
vestal stone
#

new idea

wary hare
#

cuz its also weord cuz he out it on the image file

#

but it has whats inside the config files

vestal stone
#

sudo systemctl disable display_manager.service
sudo systemctl disable gdm.service

#

and then

wary hare
#

folder*

#

not file

vestal stone
#

sudo systemctl enable lightdm
sudo systemctl enable --now lightdm

vestal stone
#

what are you entering

#

it should work just fine

wary hare
#

and then the second one said display_manager command not found

#

but the third one removed the /etc/systemd

wary hare
vestal stone
#

okay you know what

#

we need to know what display manager service is pointing to

#

run this
ls -l /etc/systemd/system/display-manager.service

wary hare
#

yeah display manager didnt exist

#

it says

vestal stone
#

it should point to lightdm

wary hare
#

display_manager.service

vestal stone
#

we wanna know what that is pointing to

#

run ls -l /etc/systemd/system/display-manager.service and tell me the output

#

it SHOULD be lightdm's service

#

if not, we will fix it

wary hare
#

wait

wary hare
#

i think i typed it right

vestal stone
#

okay okay

wary hare
#

it says

vestal stone
#

that means there is no display manager dervice to begin with

#

okay

#

YES
i know

wary hare
#

uhm

vestal stone
#

now

wary hare
#

but

vestal stone
#

run this

#

sudo ln -s /usr/lib/systemd/system/lightdm.service /etc/systemd/system/display-manager.service

wary hare
#

i think my display manager is gnome

vestal stone
#

this makes the display manager service and makes it point to lightdm

vestal stone
#

your de is gnome

wary hare
#

i used to have omarchy

vestal stone
wary hare
vestal stone
#

DESKTOP ENVIRONMENT

wary hare
#

yes

#

mb

vestal stone
#

okay

#

okay wait

#

that means that the whole directory is just different

#

lets try this again

#

wairt

#

run this

#

sudo systemctl list-unit-files | grep lightdm

#

this shoud list lightdm's service

wary hare
#

uhm

#

lightdm.service disable disabled

vestal stone
#

okay

#

okay wait a sec

#

lets check is lightdm is installed real quick

#

run this

#

pacman -Qi lightdm

#

simple command

#

if it gives an error, lightdm doesnt exist

#

if it returns lightdm's info and stuff, it does exist

wary hare
vestal stone
#

okay so it DOES exist

wary hare
#

yes

vestal stone
#

so now

wary hare
#

but i think its diabled

vestal stone
#

we just have to enable it

#

yeah so run this

#
sudo ln -s /lib/systemd/system/lightdm.service /etc/systemd/system/display-manager.service
sudo systemctl enable lightdm.service
sudo systemctl set-default graphical.target
sudo reboot
#

line by line, each command

#

after the reboot, you should instantly be in lightdm

wary hare
#

i havent reboot yet

#

but the first line

#

it does nothing

#

like no message

#

does that work?

#

when i enter it

#

and the dislay manager is still says no such file or direc

#

then the last code before reboot

#

theres a note: found systemd.unit on the kernel commandline which overrides the deafult unit

#

should i reboot now?

vestal stone
#

just reboot

#

see what happens

#

dont edit grub, just reboot normally

#

if this doesnt work

#

i quit

#

the support channel is open to everyone, someone else will help you

wary hare
wary hare
#

still rebooting

#

diddnt work😢 😢 🥀 🥀

#

well thz man

#

thx

#

Tysm il try something by my self again now

#

wqit but i jave a question @vestal stone

#

does the hardware effects this?

#

like i think its my hardware

vestal stone
#

it wont affect hardware

#

systemd doesnt fry your hardware if you enter service commands wrongly

#

you can just go for the nuclear option and uninstall gnome with -Rcns which also destroys any broken config files

#

and then reinstall it normally

wary hare
vestal stone
#

you will just lose your gnome config file

#

wait

#

DONT REINSTALL ARCH

#

THATS NOT WHAT I MEANT

#

REINSTALL GNOME

#

GNOME

#

YOUR DE

wary hare
#

so

#

-Rcns removed the gnome?

#

not the arch right

vestal stone
#

yes

#

and then just install gnome normally again

wary hare
#

i tryd using the systemd.unit again and use systemcrl restart gdm.service and it goes blank

wary hare
vestal stone
#

if this doesnt work

#

i genuinely fully quit

wary hare
#

command not found

#

uhm

#

i use -Rcns

wary hare
regal kestrelBOT
#

4th ubutnu hater received a thank you cookie!

wary hare
#

@delicate wharf did i do smth wrong

#

cuz the -Rcns command not found

delicate wharf
wary hare
delicate wharf
#

Ya you could have broke something I have no clue really what to tell you except to nuke your install and start over