#[solved] Can't get into arch something about xorg I think

2204 messages · Page 3 of 3 (latest)

echo zephyr
#

sorry brb

#

or maybe someone can help with that while I'm afk

steel rain
#

yea ur good

#

i know network manager commands

haughty perch
#

Do you use wifi or Ethernet

steel rain
#

i connected to wifi

haughty perch
#

And everything works?

steel rain
#

wait nvm

#

error: failed to add/activate new connection: not authorized to controll networking

haughty perch
steel rain
#

sudo worked

#

kinda weird but whatever

echo zephyr
#

so now you need to just install i3 and w/e else you want I guess

#

you can copy your config from the backup we made

steel rain
#

before or after installing i3?

echo zephyr
#

after

steel rain
#

so pacman -S i3

echo zephyr
#

if I was you, I would do a sudo pacman -Syyuu and reboot to check shit

#

since it's a fresh install

steel rain
#

ok

#

k i rebooted

#

install i3?

echo zephyr
#

yeah

#

and whatever else you normally use

#

then copy the config from your backup

steel rain
#

for i3 i should do 1 3 4 5 right?

#

i mean thats what i did last time

echo zephyr
#

hmm I'm confused what you mean by that

steel rain
#

theres 5 things

#

like i3 gaps

#

wm blocks lock and status

echo zephyr
#

oh

#

well idk just pick the ones you want

steel rain
#

gaps and wm conflict i think

#

btw what login manager would you recommend

#

i want lightweight and customizable

echo zephyr
#

lightdm

steel rain
#

ok

echo zephyr
#

yeah gaps conflights with i3wm

steel rain
#

i3 is installed

echo zephyr
#

cuz gaps is a port of i3wm

#

I use gaps

steel rain
#

do u know how to install lightdm

echo zephyr
#

sudo pacman -S lightdm

#

I think

#

been a while

steel rain
#

any setup?

#

to like make it launch

#

or whatever

echo zephyr
#

yeah you got to start it

haughty perch
haughty perch
echo zephyr
#

yes

haughty perch
#

You'd also need to create a custom entry for i3 but that's easy

echo zephyr
#

you need that package too

#

sorry been a while

#

listen to jodi now haha

steel rain
#

so sudo pacman -S lightdm-gtk-greeter

#

then how create custom entry for i3

echo zephyr
#

I don't think you have to do that, I don't remember doing that

haughty perch
#

you just make a file in /usr/share/xsessions/

#

Maybe arch does create it but I doubt that's the case for standalone window managers

echo zephyr
#

I think the package does it for you

#

I didn't make any of these

haughty perch
#

Nvm yeah I'm stupid, it lists it under the package

steel rain
#

ok now how put backup thing

echo zephyr
#

it should be the default in lightdm, since you don't have any other wm or de

#

the backup

#

you need to mount it

#

and find the files you want and cp them over

#

to where they belong

#

like your i3 config

#

I don't remember how we made the backup, rsync or cp?

#

you can rsync the whole thing back if you want

steel rain
#

i think in the end we used rsync

echo zephyr
#

but I recommend picking and choosing what you want

steel rain
#

why

echo zephyr
#

because some config might have broke it to begin with

steel rain
#

well i want all the config files lol

echo zephyr
#

well then you can rsync it back

steel rain
#

so what do i mount it to

#

username/home?

echo zephyr
#

make a directory to mount it to in your home dir imo

#

or even /mnt would work

steel rain
#

sdb or sdb1

echo zephyr
#

sdb1

steel rain
#

mount /dev/sdb1 /home?

echo zephyr
#

no

#

make a dir like /home/user/backup

steel rain
#

o

echo zephyr
#

or /mnt is an option

#

best bet here imo

#

do you remember what flags we used for rsync?

steel rain
#

no

echo zephyr
#

probably -aAXv

#

and --delete

#

okay

#

did we backup all of /home or /home/user

steel rain
#

idk

echo zephyr
#

can you cd into the mount

#

maybe you can just cp the .config file over

#

cp -r /mnt/ ~/.config

steel rain
#

there was this

#

it looks like we did /mnt/home/username but we didnt do cp so idk

steel rain
#

and i did cd into .config and there is nothing there

echo zephyr
#

My bad wrong file path on my part

#

Okay hold on let me scroll up and see what we did

#

Probably need to rsync it back

#

@haughty perch are you familiar with rsync? Can you help here?

#

I just set up an rsync cron job on my desktop to backup daily but I'm not a pro about rsync

#

can you cd into /mnt?

#

and ls and see if the shit is there

steel rain
#

empty

echo zephyr
#

wtf

#

are you sure it's the right usb?

#

maybe the backup didn't work man

#

sorry

#

at least you got into the system

steel rain
#

wait why would it be in /mnt

echo zephyr
#

if you mounted it there I mean

#

where did you mount it

steel rain
#

i didnt

#

uhh

echo zephyr
#

oh

#

where did you mount it?

steel rain
#

/home/user/backup

#

all the stuff is there

#

well its in /home/user/backup/user i guess

echo zephyr
#

okay so you need to move the stuff from .config there to .config here

#

kinda thing

#

sorry distracted irl

steel rain
#

can i just move the whole thing

echo zephyr
#

yeah

#

it's not root so cp should do

#

sorry I'm super distracted now

#

just glad you got your shit working again

steel rain
#

so like cp /home/user/backup/user /home?

echo zephyr
#

maybe Jodi can help you here

steel rain
#

then ill prob get duplicates right

haughty perch
# echo zephyr I just set up an rsync cron job on my desktop to backup daily but I'm not a pro ...

I don't know much about rsync, I used it at some point but all I did was read the ArchWiki for backups, it tells you a sane default
Though idk, it's kinda useless imo
You might as well just make snapshots at that point, they're easier to restore and take up less space

Personally I just back up my config files, my programming projects, etc to a git repo and the rest I don't care about since it's not unique to me

echo zephyr
#

so anyway with cp -r or rsync you shouldn't get duplicates, it should overwrite w/e is there

haughty perch
#

Idk what you want me to help with, it seems like you already backed everything up and just need to restore it now
It's as simple as just moving the files

echo zephyr
#

he has a backup

#

that we made with rsync

#

for his home dir, user

#

wants to copy it back over

haughty perch
#

What's the issue though

#

what's stopping you from copying it

echo zephyr
#

his system was borked before, he doesn't know how to copy it back

haughty perch
#

Well do you have access to the files

steel rain
#

so do I cp -r /home/user/backup/user /home/ or cp -r /home/user/backup/user /home/user

echo zephyr
#

now system is fixed, and wants to copy it back

#

second one I think

steel rain
#

and it will like replace the user

echo zephyr
#

what does it show in your backup

steel rain
#

with user with all the stuff

steel rain
#

and if i cd into user thers like downloads etc

echo zephyr
#

it won't delete anything that wasn't in the backup, just what is already there with the same name will be overwritten

steel rain
#

so the new user will be overwritten cuz they have the same name

#

which is good

echo zephyr
#

well ideally you just wanna override configs or w/e you wanna save

#

anyway it should be fine

#

might need to fix permissions later, but I doubt it

steel rain
#

is the copying gona take as long as the rsync

echo zephyr
#

Probably

#

Probably longer

#

If I can remember how to rsync it back, would be faster

#

Probably the same command but backwards

#

With th3 file path

#

Check rsync man page

#

Or search this thread for rsync

steel rain
#

ima just wait for the cp

#

and see what happens

#

ok its done

#

the config files arnt there

#

wait no they are

#

i think they duplicated tho

#

if i do ls there is backup and user

#

within backup there is user again

echo zephyr
#

hmm

steel rain
#

and within that user is also all the stuff

echo zephyr
#

need to get the file path right

steel rain
#

i mean

#

wait within the user is the user and backup

#

lmao

echo zephyr
#

lol

#

well where are the files

#

you need to be careful with that part

steel rain
#

2 instances of them

#

one is in user/backup/user

#

and the other is in user/user

echo zephyr
#

well now you just need to backup but your system is working, you should mark this as solved imo

#

you can figure that part out surely

#

all your files are still there in the usb

#

just need to move them to your laptop

steel rain
#

[solved] Can't get into arch something about xorg I think

#

I dont have wifi rn but I will try to copy the files in the right place

#

thank you so much for your time

echo zephyr
#

No problem and good luck

#

Open a new thread if you have another issue

shy valley
#

Sorry, I missed a lot. Did you reinstall Arch? I'm confused