You are not logged in.

#1 2017-02-17 04:53:18

LongDistance
Member
Registered: 2017-02-17
Posts: 6

[SOLVED] Changing Path Directory when Installing Files

Sorry for the asking this but I just can't seem to figure it out.

When I added my user to my system I must have made two users, 'ld' and 'ethan'. I login to arch with ethan but all my files are located in

/home/ld/

I deleted the directory with all the files and now when installing packages it installs them to /home how can I change this to /home/ethan

Again sorry for the inconvenience.

Last edited by LongDistance (2017-02-17 06:13:43)

Offline

#2 2017-02-17 04:56:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Changing Path Directory when Installing Files

pacman doesn't touch /home. What is installing packages there?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-02-17 04:57:45

LongDistance
Member
Registered: 2017-02-17
Posts: 6

Re: [SOLVED] Changing Path Directory when Installing Files

jasonwryan wrote:

pacman doesn't touch /home. What is installing packages there?

Trying to install packages xorg to run startx.

also like to add I reinstalled xorg and when I run 'startx' I get

xauth:  error in locking authority file /home/ld/.xauthority

fatal server error:

cannot open log file "/home/ld/.local/share/xorg/Xorg.0.log"

Last edited by LongDistance (2017-02-17 05:04:35)

Offline

#4 2017-02-17 05:08:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Changing Path Directory when Installing Files

Who are you logged in as?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-02-17 05:24:47

LongDistance
Member
Registered: 2017-02-17
Posts: 6

Re: [SOLVED] Changing Path Directory when Installing Files

ethan,

In /etc/passwd I did not see 'ld' listed and I changed the line

ethan:x:1000:100::/home/ld:/bin/bash
to
ethan:x:1000:100::/home/ethan:/bin/bash

I then reinstalled xorg-server xorg-xinit xorg-server-utils

Still giving me the same error as above.

Last edited by LongDistance (2017-02-17 05:25:55)

Offline

#6 2017-02-17 05:27:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,550

Re: [SOLVED] Changing Path Directory when Installing Files

So your homedir was set wrong. Log out and log back in.

Offline

#7 2017-02-17 05:33:33

LongDistance
Member
Registered: 2017-02-17
Posts: 6

Re: [SOLVED] Changing Path Directory when Installing Files

Scimmia wrote:

So your homedir was set wrong. Log out and log back in.

logged out and back in,ran 'startx'

'xauth: timeout in locking authority file /home/ethan/.Xauthority'

I believe I need to redirect xorg to install its files in '/home/ethan' right? If so, how?

Offline

#8 2017-02-17 05:35:11

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,550

Re: [SOLVED] Changing Path Directory when Installing Files

No. For the last time, none of this has anything to do with the packages.

Sounds like you don't have the right permissions on the new homedir?

Offline

#9 2017-02-17 05:41:50

LongDistance
Member
Registered: 2017-02-17
Posts: 6

Re: [SOLVED] Changing Path Directory when Installing Files

How do I figure out if I do? And their are no files in the homedir anyways.

I think I just need to put the .xorg files in the homedir but I'm not familiar on how to do this? I may be wrong.

Last edited by LongDistance (2017-02-17 05:44:19)

Offline

#10 2017-02-17 06:13:11

LongDistance
Member
Registered: 2017-02-17
Posts: 6

Re: [SOLVED] Changing Path Directory when Installing Files

sudo chown ethan /home/ethan

Offline

Board footer

Powered by FluxBB