You are not logged in.
Hello,
Today i installed archlinux for the first time, i always used slackware as my linux distro and i heard allot of good things about archlinux so i decided to switch. I have installed archlinux with the next partition scheme
sda2 Boot 32MB ext2
sda3 Swap 3GB linux swap
sda5 Home 110GB ext3
sda6 Root 15GB ext3
This i what i thought was the best after searching the internet. But i dont get it why Root is only 15GB while everything gets installed on it and home is only for personal files and stuf and its much bigger ?
So i installed archlinux on that scheme the installation went ok. Then i rebooted and logged in as root and then downloaded kde using: pacman -Sy kde after the installation of kde i did startx but nothing happend so i searched the internet and i found that i had to install xorg so i did pacman -S xorg and i installed the whole group. Now when i typ startx i get 3 terminals with xterm as title and i see a clock i cant move the mouse or type anything i have to reset the computer with the reset button on it.
What did i do wrong and how can i fix it and should i do thing differently ? i am willing to reinstall archlinux.
Thanks in advance,
Slayeriq
Last edited by slayeriq (2009-05-28 09:56:08)
Offline
I'm also a Arch newbie but this is what I think you missed.
You have to configure xorg, through xorg.conf.
You also have to configure xinit to tell X to start kde when you type startx.
Everything is explained on the Beginner's guide:
http://wiki.archlinux.org/index.php/Beg … onfigure_X
http://wiki.archlinux.org/index.php/Beginners_Guide#KDE
Try it and if you still aren't able to get it working I'm pretty sure someone will be able to help.
Offline
you need to create a .xinitrc file in your home folder, in it you need to startkde
~/.xinitrc
startkde
I think its startkde :S i haven't got kde installed on this pc
i believe there is an app in slackware for chaning the global xinitrc and changng the wm for all users. In arch you just need to do it maually
Offline
Hello im posting this from kde 4.2 now the first things i noticed is that kde has a nice theme but all windows are ugly and do not fit the second thing is im doing everything from the root account, how can i add a new user that is able to startx and where the home folder is sda5 ?
Offline
But i dont get it why Root is only 15GB while everything gets installed on it and home is only for personal files and stuf and its much bigger ?
Because it's easy to have 100 GB of multimedia files in /home, but 100 GB of apps is quite rare.
And please, Read The Fine Manual :-)
Offline
You add a user by 'adduser'. There's a lot more of useful info in the begginers guide (linked above), so please read it; or if you have a particular question, first search for it there.
Last edited by bender02 (2009-05-25 21:35:33)
Offline
[RANT]
So much for the whole Slackware-users-are-uber-geeks thing ;-)
[/RANT]
Offline
You need to install hal and put it in your /etc/rc.conf under daemons, then reboot and your mouse and keyboard will work.
Last edited by thunderogg (2009-05-25 21:44:52)
Offline
i added a user using adduser then i used passwd to make the password for the user i logged out of kde then logged in with the user this is what i get:
no directory, logging in with HOME=/
then i typ
startx
and i get:
hostname: Unknown hostname
ps: HAL is working I fixed the sound also so everything is working except the userthing
Last edited by slayeriq (2009-05-25 21:50:04)
Offline
What home dir did you specify?
Is your rc.conf in order?
Offline
i specified /Root/home as the home folder for the user
Offline
i specified /Root/home as the home folder for the user
I'm confused by what you mean here. Usually a user's home directory is /home/username.
Edit: Regarding your hostname error, did you remember to put your hostname in rc.conf and specify the hostname in /etc/hosts? Maybe you should go through the beginner's guide and see if you forgot anything else.
http://wiki.archlinux.org/index.php/Beginners_Guide
Last edited by VoodooSteve (2009-05-25 23:06:16)
Offline
i specified /Root/home as the home folder for the user
And what's wrong w/ good ol' /home<username> like f.e. /home/slayeriq?
Could you please post the output of those commands (as root):
cd /
ls
fdisk -l
BTW: you didn't answer the second question. Please, familiarize yourself w/ what rc.conf does before posting.
Offline
slayeriq wrote:i specified /Root/home as the home folder for the user
And what's wrong w/ good ol' /home<username> like f.e. /home/slayeriq?
Could you please post the output of those commands (as root):cd / ls fdisk -l
BTW: you didn't answer the second question. Please, familiarize yourself w/ what rc.conf does before posting.
Here is the output u asked for:
bash-3.2# cd /
bash-3.2# ls
bin dev home lost+found mnt proc sbin sys usr
boot etc lib media opt root srv tmp var
bash-3.2# fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x814e814e
Device Boot Start End Blocks Id System
/dev/sda1 * 1 14359 115338636 7 HPFS/NTFS
/dev/sda2 14360 14364 40162+ 83 Linux
/dev/sda3 30009 30401 3156772+ 82 Linux swap / Solaris
/dev/sda4 14365 30008 125660430 5 Extended
/dev/sda5 14365 28689 115065531 83 Linux
/dev/sda6 28690 30008 10594836 83 Linux
Partition table entries are not in disk order
bash-3.2#
Im trying to get as familiarized with archlinux as i can and at the same time im trying not to break the fresh installation.
Last edited by slayeriq (2009-05-25 23:32:20)
Offline
Believe me, breaking the fresh installation is one of the least troublesome things you can encounter - you can fix it just by reinstalling.
As I don't see '/Root' folder, I'd suggest you add a user w/ /home/<something> folder.
Offline
Believe me, breaking the fresh installation is one of the least troublesome things you can encounter - you can fix it just by reinstalling.
As I don't see '/Root' folder, I'd suggest you add a user w/ /home/<something> folder.
Edit: ill try this
And i fixed the hostname error i got so its only the home folder error left.
Last edited by slayeriq (2009-05-25 23:50:31)
Offline
Why did you make /root (as you don't have a /Root folder) so big? My /root folder is less than 200mb. You shouldn't need to use it for much at all.
Offline
You should either repartition your setup i.e. start again or come to terms that you have 'only' so and so much space.
Could you post the output of 'mount' (run as root)?
/root is like /home (or /home<somename>) but for root, the superuser, the admin. As root doesn't have much personal files, just a few configs you don't need much space for /root.
If you have a big /home partition, YOY would you create sth like /Root/foo/bar?
'/' is called the root of the system, so you may be a little confused.
Last edited by karol (2009-05-25 23:53:53)
Offline
You should either repartition your setup i.e. start again or come to terms that you have 'only' so and so much space.
Could you post the output of 'mount' (run as root)?
Ok it works now i think the no directory, logging in with HOME=/ is gone but if i press startx i get 3 timeouts and then xterm starts and not kde. I have used /home/Slayeriq as home folder like you said.
edit: Im going to copy .xinitrc to home and try again
Last edited by slayeriq (2009-05-25 23:52:43)
Offline
> edit: Im going to copy .xinitrc to home and try again
Well, your system would surely like to know who wants to run X and w/ what setup.
Offline
> edit: Im going to copy .xinitrc to home and try again
Well, your system would surely like to know who wants to run X and w/ what setup.
Kde started but it couldn't make the folders it needed i saw premission deniend when kde tried to make the folder /home/slayeriq/.kde4, maybe i need to add the user to another group ?
Offline
If you created a new user and you're running 'startx' as that user w/ all the right permissions (groups) than everything should be fine. On the other hand, I have no idea what KDE does and why because I've only run it on a SLAX LiveCD.
Offline
If you created a new user and you're running 'startx' as that user w/ all the right permissions (groups) than everything should be fine. On the other hand, I have no idea what KDE does and why because I've only run it on a SLAX LiveCD.
Thanks for your help, im tommow ill search why it doesnt work now i have to sleep
Offline
OK, sleep tight. When you wake up, don't forget to post the output of 'mount' command :-D
Offline
I think the partitioning looks fine, as long as when you say "sda6 Root 15GB ext3", you mean your root partition (mounted at /) is 15GB and not that a 15GB partition is mounted on /root.
As for the home directory problem, how did you create the directory? Normally you'd create a user with the useradd or adduser commands and that would create the directory for you (for useradd you have to give it the -m option). I get the impression you created it manually as root in which case it definately would have the wrong permissions.
Personally, I'd save any files you need that are in /home/slayeriq, delete the entire directory with rm -rf /home/slayeriq, remove the user you created using the userdel command, and then recreate the user using adduser. If you leave the default setting for the home directory, it should be created with the proper permissions.
Offline