You are not logged in.

#1 2007-12-15 13:04:07

renecane
Member
From: Finland
Registered: 2007-12-15
Posts: 9

some problems with arch

hi, iam new with arch and i have some problems with it.
i managed to install Xorg and KDE in my system and after some use i contacted these problems:

first. for some reason i cant mount my USB-hard drive sad

second. i used " pacman -S firefox" to install firefox but it looks like it doesnt work. it doesnt start when i click the icon in k-menu - internet - firefox. and when i write firefox in console:
[renecane@myhost ~]$ firefox
bash: firefox: command not foun

third. i cant install amarok hmm
[root@myhost renecane]# pacman -S amarok
warning: current locale is invalid; using default "C" locale
error: 'amarok': not found in sync db

[root@myhost renecane]#

ps. sorry my bad english

Offline

#2 2007-12-15 13:25:44

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: some problems with arch

What happens when you try to mount you USB-drive?

Firefox is installed in /opt/mozilla/bin, which is not part of $PATH. When you install it, it changes the path to include /opt/mozilla/bin, but your system isn't using the new PATH yet. Try openning a terminal and running /opt/mozilla/bin/firefox. After you re-login your user, it won't happen anymore.

amarok is divided on two packages, amarok-base and amarok-engine-xine.

I can see by what you posted that you have problems with your locale too. I imagine you edited /etc/rc.conf but didn't generated your locale. To do so, uncomment the line in /etc/locale.gen that has the locale you selected and then run locale-gen, both as root.


(lambda ())

Offline

#3 2007-12-15 13:46:56

renecane
Member
From: Finland
Registered: 2007-12-15
Posts: 9

Re: some problems with arch

when i turn on my USB-drive it does nothing sad

firefox part is clear now smile
and so is amarok

i tried to change my locale in " /etc/locale.gen " i removed # front of wanted locale and runned locale-gen and tried " pacman -S amarok-base"
it still gave me this: warning: current locale is invalid; using default "C" locale

new problems:
1. when i start my computer i just see text-based login window, and when i want to start Xorg i need to use startx.
so how i "automatize" this progress? i mean in kubuntu it went straight in graphical login screen hmm
i think, the answer is some really simple thing but, im still a noob with these things neutral
2. sound doesnt work. when iam trying to use some program which uses sound i get this report:
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (Permission denied)
The sound server will continue, using the null output device.

Last edited by renecane (2007-12-15 14:03:32)

Offline

#4 2007-12-15 14:08:08

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: some problems with arch

Read this..

http://wiki.archlinux.org/index.php/GDM

and this ..

http://wiki.archlinux.org/index.php/Beginners_Guide

Hint: I believe you have a permission problem concerning sound. Have you added your user to the audio group? If you don't know how to add users to groups consult the wiki.

Last edited by Ashren (2007-12-15 14:14:43)

Offline

#5 2007-12-15 14:13:16

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: some problems with arch

About the USB-drive, maybe it's something related to hal. See if in /etc/rc.conf, if you have 'hal' in DAEMONS.
More problably, it's because of your /etc/mtab. On my machine, I had to add:

/dev/sdb1     /mnt/pen      vfat     rw,noauto      0 0

to it to work. It'll mount the /dev/sdb1 on /mnt/pen. Maybe you'll have to change the device and you may choose another mount point if you wish, like /mnt/usbdrive, or anything like it. Then you create a dir with the same name, 'mkdir dir_you_choose'

The locale will be ok next time you boot up. (I don't know if there's a way to change it while running)

Here are instructions to set your KDM running just after you boot. Use one or another.


(lambda ())

Offline

#6 2007-12-15 15:26:04

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: some problems with arch

If you want to be able to mount your usb hard drive, but don't want it mounted by default, you should list it in your fstab with the noauto option. The mtab is only for dev's that are always mounted by default. Say your usb hard drive is listed as sdc1 and formatted with ext3, you could create a directory located under mnt and name it something so it's path is /mnt/something

Then in fstab you can create an entry similar to this...
/dev/sdc1   /mnt/something   ext3   rw,user,noauto   0   0


-- archlinux 是一个极好的 linux

Offline

#7 2007-12-15 16:24:57

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: some problems with arch

I used to get the error about locales and it didn't affect anything I was trying to do.  If you want to mount /dev/sdc1 manually (if all else fails) just run:

mount -t ext3 /dev/sdc1 /wherever/you/want

6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#8 2007-12-15 19:16:37

renecane
Member
From: Finland
Registered: 2007-12-15
Posts: 9

Re: some problems with arch

problem with USB-devices:
there was typo in daemon list so i corrected hsl to hal roll
but i cant still use my USB-devices, on mount it gives this error:
A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")

Offline

#9 2007-12-15 19:44:09

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: some problems with arch

Are you in the storage and disk groups?

Offline

#10 2007-12-16 01:16:11

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: some problems with arch

Err, disk? That's not really a wise idea.


1000

Offline

#11 2007-12-16 01:51:57

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: some problems with arch

byte wrote:

Err, disk? That's not really a wise idea.

I have heard this from time to time, but I have never had an issue with it. It seems that any damage that could be done by being in the disk group is already prevented by permissions and $PATH in the first place...
However, it is very possible I may be missing something. ?

Offline

#12 2007-12-16 19:06:38

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: some problems with arch

Any normal user in the disk group can ruin the whole system with a simple 'cat /something > /dev/sda', that was my point.


1000

Offline

#13 2007-12-16 20:23:27

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: some problems with arch

ls -la /dev/sda
brw-rw---- 1 root disk 8, 0 2007-12-16 17:01 /dev/sda


interesting.....

I added disk to groups emmmm

Now why can external [usb!] devices load as uda for example that way less likely to damage your own internal drives????

/me runs to remove disk from groups


Mr Green

Offline

Board footer

Powered by FluxBB