You are not logged in.

#1 2008-02-19 16:21:51

MrCarioca
Member
Registered: 2008-02-19
Posts: 8

First time using Arch problems.

hey folks,

I'm giving Arch Linux a try but I'm already having some noob problems.

The installation went smooth, alright reboot it then when I'm in the login screen it asks for the login (nobody) then the password pops up, I tried on using nobody for the password and still didn't work.

Any ideas?
Oh yea I did google and used the Wiki.

Last edited by MrCarioca (2008-02-19 21:50:38)

Offline

#2 2008-02-19 16:30:17

staticvoid
Member
Registered: 2008-01-22
Posts: 160

Re: First time using Arch problems.

big_smile Welcome to arch! and join the n00b club wink i'm in your boat, just got X working and wireless... maybe i can help you out some

when you installed arch did you use the beginners guide? its on the wiki... VERY helpful

in the login screen you type "root", and then whatever you set for your root password during install. did you review the config files? you needed to. especially the one about setting the super users pass word... without it... your screwed... you just reinstall... which should take about 5 minutes... lol wink and if theres another that i don't know, i hope somebody posts quick...

good luck! i just went through all that you went through! i'd be glad to help smile

sv

Last edited by staticvoid (2008-02-19 16:31:52)


this is my sig

Offline

#3 2008-02-19 16:38:08

tuxce
Member
Registered: 2008-02-19
Posts: 56
Website

Re: First time using Arch problems.

hi, why use nobody as login?
if you didn't add another user exept root, you have to login as root with the password defined at install:
http://wiki.archlinux.org/index.php/Beg … t_password

Offline

#4 2008-02-19 16:55:45

staticvoid
Member
Registered: 2008-01-22
Posts: 160

Re: First time using Arch problems.

true true.. then when you are ready do:

adduser

and make a user.


this is my sig

Offline

#5 2008-02-19 17:15:06

MrCarioca
Member
Registered: 2008-02-19
Posts: 8

Re: First time using Arch problems.

Alright perfect now I'm in the [root@myhost ~]# but now what should I do? lol

I'm typing: pacman -S xfce4 xfce4-goodies gtk2-themes-collection but it says: Warning: cuurent locale is invalid; etc..

any ideas?

Offline

#6 2008-02-19 17:30:45

staticvoid
Member
Registered: 2008-01-22
Posts: 160

Re: First time using Arch problems.

MrCarioca.. tsk tsk, you need read the beginners guide!

your locales are here: /etc/locale.gen (which you could have set up at install)
just go ahead and find what language you speak and uncomment it... but it should be uncommented by default... hmm

now go here:
nano /etc/pacman.d/mirrorlist
go find the mirror closest to you, Ctrl K and Ctrl U it to the TOP of that list

now run:    pacman -Syu   if you are installing from a base system (if you used used the cd) (this upgrade everything)
now get the stuff you need, did it work?

sv

Last edited by staticvoid (2008-02-19 17:34:01)


this is my sig

Offline

#7 2008-02-19 17:31:59

staticvoid
Member
Registered: 2008-01-22
Posts: 160

Re: First time using Arch problems.

and btw... you should first get Xorg working before getting a DE.. : /

sv


this is my sig

Offline

#8 2008-02-19 18:01:45

MrCarioca
Member
Registered: 2008-02-19
Posts: 8

Re: First time using Arch problems.

Nothing worked. :'(

Offline

#9 2008-02-19 18:10:20

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 428

Re: First time using Arch problems.

Ok, some points you should know about linux really.

Firstly you NEED to add a new user, you shouldn't run as root unless you absolutely have to, it's not like windows where most users run with full privileges.  I consider Arch to be a mature distribution, and I don't mean that in the sense that it's an old distribution, but rather more of an indication of the mindset of the people who run it.  A lot of distributions implicitly encourage the regular use of the superuser, simply because they are a pain to administer.  I use the following command to create a new user

useradd -m -G users,optical,audio,video (username)

This will create a new user and also create a home directory for said user, and place the user in the most necessary groups for easy operation of your system.  It will allow you to adjust your sound settings and mount dvd/cds without needing to jump into root for it, stuff that makes life just that little bit easier.

Once you have done this type in the following

passwd (username)

Also for your main user it is a good idea to edit the /etc/sudoers file.  You need to copy the entry relating the root user for your main user.  This will allow you to run sudo on all operations you need to, bypassing the need to login as root at all.  I haven't logged in as root at all since I first installed Arch. You just don't need to.

In reference to your original post, the nobody user is used by specific processes within the GNU/Linux environment. This user cannot log into a command shell, because in this sense the user is disabled, so you will not be able to log in at all.  When you first log in you will need to log in as root, if you specified a password during installation you will need to enter that here, otherwise if you are prompted for one, enter past it.

Once you have logged in, your first task is to set a superuser password. Type in

passwd

and you are set.  This should provide you with a solid foundation to work from.

Have a good look at the beginners guide in the wiki, it has lots of help you can refer to.  I've used linux for nearly 12 years and I still read through it before installing because I wanted to make sure there weren't any quirks I needed to be aware of.  Never be afraid to read the documentation. Thats what its there for.

Offline

#10 2008-02-19 18:23:22

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 387

Re: First time using Arch problems.

MrCarioca wrote:

Nothing worked. :'(

That's not a terribly helpful post for us to provide you assistance. What error messages are you getting? What is it you are trying to do?

Have you followed the Beginner's Guide for getting Arch installed? http://wiki.archlinux.org/index.php/Beginners_Guide

Give us a bit more information.


Smarter than a speeding bullet

Offline

#11 2008-02-19 18:25:56

eerok
Member
From: Canada
Registered: 2005-03-20
Posts: 171

Re: First time using Arch problems.

SiC wrote:

Firstly you NEED to add a new user, you shouldn't run as root unless you absolutely have to, it's not like windows where most users run with full privileges.

I'd just like to add that you never have to run X as root.  You have nothing to gain by it and you risk screwing up permissions for your user.  Even from a gui login, you can do Ctrl-Alt-F1 to log into root from a virtual console, and then Ctrl-Alt-F7 to return to the gui.


noobus in perpetuus

Offline

#12 2008-02-19 18:34:40

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 428

Re: First time using Arch problems.

eerok wrote:
SiC wrote:

Firstly you NEED to add a new user, you shouldn't run as root unless you absolutely have to, it's not like windows where most users run with full privileges.

I'd just like to add that you never have to run X as root.  You have nothing to gain by it and you risk screwing up permissions for your user.  Even from a gui login, you can do Ctrl-Alt-F1 to log into root from a virtual console, and then Ctrl-Alt-F7 to return to the gui.

I NEVER log in as root, you just don't need to.  I use slim and that starts up when the system boots, so I'm always in a graphical environment, on the rare occasion that I do need to run as root I just fire up an aterm and sudo the command. I don't even use su if I can avoid it. 

The only time I close out of X11 is when I am upgrading Xorg, and then I just change the runlevel from a terminal, upgrade and then change back.  But then I suffer from OCD where root is concerned.  I've even changed the username in passwd, simply because I am paranoid where security is concerned.

Offline

#13 2008-02-19 18:37:51

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 428

Re: First time using Arch problems.

Rumor wrote:
MrCarioca wrote:

Nothing worked. :'(

That's not a terribly helpful post for us to provide you assistance. What error messages are you getting? What is it you are trying to do?

Have you followed the Beginner's Guide for getting Arch installed? http://wiki.archlinux.org/index.php/Beginners_Guide

Give us a bit more information.

Absolutely, if you have tried to log in as "root" and cannot do so, then please give us more information.  We can help you if you provide it.

First rule of problems is to give as much information as you can. Even if you think it is not important, give it anyway, because it could be that little bit of information that an experienced user needs to help.  Second rule of problems is to quote your config files.  This allows us to see exactly how your system is configured.  If you are having a problem with xorg post your xorg.conf, and so on.

Offline

#14 2008-02-19 20:21:23

MrCarioca
Member
Registered: 2008-02-19
Posts: 8

Re: First time using Arch problems.

Alright followed the guide.

Ok, I'm up to the part of "Network", I can't seem to ping google like the guide said so, now I'm login in as a root so I try on typing "/etc/rc.config then I receive the following message: -bash: /etc/rc.config: No such file or directory.

Does that mean that I didn't install Arch correctly?

Offline

#15 2008-02-19 20:27:16

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 428

Re: First time using Arch problems.

I think the file you are looking for is /etc/rc.conf

This file is run when the system starts up and initialises pretty much everything you need.  If you are trying to start up the networking components, try the following:

/etc/rc.d/network restart
or
/etc/rc.d/network start

The first will shut down the networking stuff and restart it which should get you a connection.

Also can you please give us the output of ifconfig.  Are you trying to connect wirelessly, or via an ethernet card?

Offline

#16 2008-02-19 20:30:54

MrCarioca
Member
Registered: 2008-02-19
Posts: 8

Re: First time using Arch problems.

SiC wrote:

I think the file you are looking for is /etc/rc.conf

This file is run when the system starts up and initialises pretty much everything you need.  If you are trying to start up the networking components, try the following:

/etc/rc.d/network restart
or
/etc/rc.d/network start

The first will shut down the networking stuff and restart it which should get you a connection.

Also can you please give us the output of ifconfig.  Are you trying to connect wirelessly, or via an ethernet card?

for now I'm trying to get via ethernet.
Eth0 : Link encap: Ethernet HWaddr: 00:16:36:E8:E5:BC
inet addr: 169.254.38.126 Bcast: 169.254.255.255 Mask: 255.255.0.0
UP BROADCAST MULTICAST MTU: 1500 Metric: 1
RX packets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 0 errors: 0  dropped: 0 overruns: 0 frame: 0
collisions:0 exqueuelen: 1000
RX byte:0 (0.0b) TX bytes:0 (0.0b)
Interrupt: 17 Base address: 0x2000

lo: Link excap: Local loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNNING MTU: 16436 Metric: 1
RX packets: 0 errors: 0 dropped: 0 overruns:0 frame: 0
TX packets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0
collisions:0 txqueuelen:0
RX bytes: 0 (0.0 b) TX bytes:0 (0.0 b)

Using /etc/r.d/network restart I got the same message: -bash /etc/r.d/network No such file or directory
for /etc/rc.d/network start I got the following message: Network is already running. Try 'network restart'
I tried network restart and -bash netowrk etc.

Last edited by MrCarioca (2008-02-19 20:38:12)

Offline

#17 2008-02-19 23:33:58

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 342

Re: First time using Arch problems.

copy carefully!
/etc/rc.d/network restart
for the first
The error message for the second is self explanatory
network is running already, so it cant be started again, it can only be restarted (restart stops current and starts again)

Last edited by alex_anthony (2008-02-19 23:36:00)

Offline

#18 2008-02-20 00:41:31

staticvoid
Member
Registered: 2008-01-22
Posts: 160

Re: First time using Arch problems.

MrCarioca wrote:

Alright followed the guide.

Ok, I'm up to the part of "Network", I can't seem to ping google like the guide said so, now I'm login in as a root so I try on typing "/etc/rc.config then I receive the following message: -bash: /etc/rc.config: No such file or directory.

Does that mean that I didn't install Arch correctly?

Good job giving info smile For me, when I write down my problem clearly on a forum asking about it it helps me to sort out the problem myself. in your case you just misspelled the filename its rc.conf, not rc.config. this file is SO cool, because EVERYTHING (almost) is configured from here! big_smile

connect your cable to your computer, run "dhcpcd eth0" and then try to "ping www.google.com".

keep pushing through!! and remember: read the output of the errors you are getting smile if it says "file does not excist" then "cd /etc" right on over and "ls" to see the files. Maybe if you would have done this you could have seen the typo.. : /

sv


this is my sig

Offline

#19 2008-02-20 02:06:10

jacko
Member
Registered: 2007-11-23
Posts: 838

Re: First time using Arch problems.

your answers are all in the wiki... all u have to do is read it and follow the steps.

You can't say you read the wiki. Every question u have has already been answered.


all the steps are a copy and paste away.

Last edited by jacko (2008-02-20 02:07:10)

Offline

#20 2008-02-20 18:07:58

MrCarioca
Member
Registered: 2008-02-19
Posts: 8

Re: First time using Arch problems.

Edit: alright now I can't run "pacman -Syu"
reason: failed to init trasaction (unable to lock database)
If you're sure a package manager is not already running, you can remove /var/lib/pacman/db.lck.

ideas?:|

Edit: can't use pacman -S alsa-utils :: I get the same error.

Last edited by MrCarioca (2008-02-20 18:59:36)

Offline

#21 2008-02-20 19:30:41

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 342

Re: First time using Arch problems.

read the error message:
If youŕe sure a package manager is not already running, you can remove /var/lib/pacman/db.lck
so thats
rm /var/lib/pacman/db.lck
as root

Offline

Board footer

Powered by FluxBB