You are not logged in.

#1 2016-05-28 15:48:28

JaxtonHale
Member
Registered: 2016-03-17
Posts: 5

User folders are empty?

Greetings.

I have recently reinstalled Arch Linux, Xorg, and i3wm. However, since I haven't used arch in a while and I was a newbie in the first place, I'm running into some issues.

Such as:

1. The /home/(username) folder is entirely empty.

2. If I don't run startx as root, nothing happens and I cant even ctrl-c out of it. I tried creating an xinitrc in my user directories and modifying it but it still didn't work. Luckily, I could access my wm by editing the actual /etc/X11/xinit/xinitrc and running startx as root but I'm pretty sure that you're not supposed to be doing that, and I want to use my own user anyways.

3. Whenever I install or remove a package, it ends up handing on "(1/1) Updating manpage index...", and I have to ctrl-c to cancel it. Not a game-changer, but very annoying.



In order to set up the user, what I did was useradd -m (name), and then added it as a sudoer through visudo (I gave it all permissions).

So what's causing the problem? Why are the /home/(name)  folders empty?

Help would be much appreciated, and I am willing to run commands to give you more information on what's happening (I just need to know what commands to run).

Thanks in advance, help would be much appreciated.

Last edited by JaxtonHale (2016-05-28 15:52:32)

Offline

#2 2016-05-28 15:52:00

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: User folders are empty?

Just create folders you need.

Offline

#3 2016-05-28 15:55:54

gaim123
Member
From: Poland
Registered: 2015-04-27
Posts: 34

Offline

#4 2016-05-28 15:59:51

JaxtonHale
Member
Registered: 2016-03-17
Posts: 5

Re: User folders are empty?

Thank you for the link. Now I have the folders, that's one problem off the list.

Do you happen to know why installs are hanging on "updating manpage index" though? When I was initially installing base and base-devel is the time where I first came across this issue. It hasn't happened on any other of my arch installs, though.

Offline

#5 2016-05-28 18:52:57

Tutti
Member
Registered: 2015-02-26
Posts: 117

Re: User folders are empty?

2. https://wiki.archlinux.org/index.php/Xinitrc

as for 3, are you sure it actually hangs (stops doing anything) rather than being slow to complete?

Offline

#6 2016-05-28 21:01:39

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: User folders are empty?

You really shouldn't have to do much of anything to get a good boot-up if the installation is right. As far as the "hanging update"- per Tutti's suggestion, it may be a slow link; some are. How many network managers are you running? Make sure you're using only one. It's a simple mistake but it seems to be fairly common.

Last edited by madpierre (2016-05-29 05:58:05)

Offline

#7 2016-05-28 21:25:15

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: User folders are empty?

Quick afterthought:

...what I did was useradd -m (name), and then added it as a sudoer through visudo (I gave it all permissions)...


1.  Create User:                              # useradd -m -G wheel -s /bin/bash <username>
2.  Set User Password:                   # passwd <username>
3.  Set Wheel Group Privilege:       # visudo {uncomment %wheel ALL=(ALL)- the one immediately below root privileges}

Last edited by madpierre (2016-06-14 21:53:05)

Offline

Board footer

Powered by FluxBB