You are not logged in.

#1 2007-09-22 18:07:30

verndog
Member
Registered: 2007-09-21
Posts: 55

Installing and configuring Xorg

Totally new to ArchLinux. The reason I selected it was for speed. I realized I was in for a ride
because there's a lot of command driven configuring, and not gui. At least at first. I Came from PCLinuxOS
but find the boot up, logoff takes way to much time. I thought Arch was a good way to re-intorduce myself
back to Linux and also for its speed.

I have so many issues It's hard to know where to start. I spent most of last night searching your forums.
I found some interesting material and I learned a lot, but I'm still such a long way from home...

I now have a login '#' prompt. I first ran into that kernel panic thing. I found the 'mkinitcpio' fix. So now
I can log in.

Sereral things still don't work. Network for one. That can wait. startx, or ghaphic I would like to
get up. I downloaded "Don't Panic" (apt title), and its over 500mb. Using the beginner guide Section #8
I tried to get the desktopor gui or whatever its called up and running. Right away I ran into trouble
pacman! It wants to go to internet. It doesn't work remember. Now's my question. Being that the
ISO is 500+mb isn't there enough stuff in their to get that working without having to go to the internet.
If not then I could have just downloaded the basic and saved my time. I'm confused. Whats in the
larger ISO over the basic.

I wnat to get my Video, Sound and everything else setup before I try mucking around with networking.
Oh, one big thing I forgot. I'm running Arch through VirtualBox. I do have it installed in another PC
that right now isn't connected to internet. The VM runs through my DSL line using in number os OS's.
PCLinuxOS, Windows, dos, etc. I tried that dsl start thing - it failed. I also did look at all those
rc.files. But back to video. Any help would I would be grateful.
Vern

Last edited by verndog (2007-09-22 18:09:59)

Offline

#2 2007-09-22 18:18:32

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Installing and configuring Xorg

Pacman uses the repositories defined in the file /etc/pacman.conf.  If you want to use the packages on the cdrom you have to set it up as a repository.  I've never tried doing that, so I have no personal experience with how it works, but here are some links that should hopefully get you started:

1) http://wiki.archlinux.org/index.php/Usi … repository
2) http://wiki.archlinux.org/index.php/Off … positories

The idea is simple.  Mount the CDROM, point pacman to the appropriate directory where the packages are located by editing /etc/pacman.conf.

By the way, if the reason you don't have internet is because you have not yet configured your wireless card I recommend that you try and plug into a router with a cable, if possible, because it will make things easier in the long run...

Offline

#3 2007-09-22 18:21:43

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: Installing and configuring Xorg

nevermind... fwojciec method's easier
lol

Last edited by klixon (2007-09-22 18:22:49)


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#4 2007-09-22 19:34:16

verndog
Member
Registered: 2007-09-21
Posts: 55

Re: Installing and configuring Xorg

fwojciec wrote:

Pacman uses the repositories defined in the file /etc/pacman.conf.  If you want to use the packages on the cdrom you have to set it up as a repository.  I've never tried doing that, so I have no personal experience with how it works, but here are some links that should hopefully get you started:

1) http://wiki.archlinux.org/index.php/Usi … repository
2) http://wiki.archlinux.org/index.php/Off … positories

The idea is simple.  Mount the CDROM, point pacman to the appropriate directory where the packages are located by editing /etc/pacman.conf.

By the way, if the reason you don't have internet is because you have not yet configured your wireless card I recommend that you try and plug into a router with a cable, if possible, because it will make things easier in the long run...

I did as the guide suggest, now I get this:
:: Synchronizing package databases...
error: failed retrieving file /extra.db.tar.gz' from ftp.archlinux.org...

In /etc/pacman.conf I have as suggested:
[current]
Server = file://mnt/cdrom/arch/pkg

Last edited by verndog (2007-09-22 19:34:40)

Offline

#5 2007-09-22 19:55:22

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Installing and configuring Xorg

You can just comment out the whole extra repository from /etc/pacman.conf for now.  It is not available on the CD and this is what the error is saying.  Or if it is available on CD, I don't know, check maybe, you can also point pacman to the CD if extra repository, or some packages from it, are available there (just edit the entry for [extra] in pacman.conf).  Without access to extra you will not be able to install a fully functional desktop environment in any case - that's why I was suggesting to figure out the network problem first, you'll have to do it from the command line anyways so you might just as well tackle it now (that's what I always do anyways).

Offline

#6 2007-09-22 20:55:57

verndog
Member
Registered: 2007-09-21
Posts: 55

Re: Installing and configuring Xorg

fwojciec wrote:

You can just comment out the whole extra repository from /etc/pacman.conf for now.  It is not available on the CD and this is what the error is saying.  Or if it is available on CD, I don't know, check maybe, you can also point pacman to the CD if extra repository, or some packages from it, are available there (just edit the entry for [extra] in pacman.conf).  Without access to extra you will not be able to install a fully functional desktop environment in any case - that's why I was suggesting to figure out the network problem first, you'll have to do it from the command line anyways so you might just as well tackle it now (that's what I always do anyways).

I think I found out my error. It has to do with /etc/pacman.d directory and there is the servers listed. It looked there first and then the very end looked at the cdrom.

By the way, my network is DSL not wireless.

Offline

#7 2007-09-22 21:26:31

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Installing and configuring Xorg

verndog wrote:
fwojciec wrote:

You can just comment out the whole extra repository from /etc/pacman.conf for now.  It is not available on the CD and this is what the error is saying.  Or if it is available on CD, I don't know, check maybe, you can also point pacman to the CD if extra repository, or some packages from it, are available there (just edit the entry for [extra] in pacman.conf).  Without access to extra you will not be able to install a fully functional desktop environment in any case - that's why I was suggesting to figure out the network problem first, you'll have to do it from the command line anyways so you might just as well tackle it now (that's what I always do anyways).

I think I found out my error. It has to do with /etc/pacman.d directory and there is the servers listed. It looked there first and then the very end looked at the cdrom.

By the way, my network is DSL not wireless.

Is it an internal card?  Do you know what kind of drivers you'd need for it?  Do you connect to your computer with a telephone or a network cable?  Sorry, I've no experience with setting up DSL connections.

Offline

#8 2007-09-23 02:00:00

verndog
Member
Registered: 2007-09-21
Posts: 55

Re: Installing and configuring Xorg

fwojciec wrote:
verndog wrote:
fwojciec wrote:

You can just comment out the whole extra repository from /etc/pacman.conf for now.  It is not available on the CD and this is what the error is saying.  Or if it is available on CD, I don't know, check maybe, you can also point pacman to the CD if extra repository, or some packages from it, are available there (just edit the entry for [extra] in pacman.conf).  Without access to extra you will not be able to install a fully functional desktop environment in any case - that's why I was suggesting to figure out the network problem first, you'll have to do it from the command line anyways so you might just as well tackle it now (that's what I always do anyways).

I think I found out my error. It has to do with /etc/pacman.d directory and there is the servers listed. It looked there first and then the very end looked at the cdrom.

By the way, my network is DSL not wireless.

Is it an internal card?  Do you know what kind of drivers you'd need for it?  Do you connect to your computer with a telephone or a network cable?  Sorry, I've no experience with setting up DSL connections.

It's ethernet connection.

Offline

#9 2007-09-23 02:50:50

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Installing and configuring Xorg

In this case you should be able to use this wiki page to configure it.
http://wiki.archlinux.org/index.php/Configuring_network
Most likely the module for your ethernet card is loaded automatically, so it's just a matter of entering the correct information into appropriate config files and restarting the network daemon

Offline

#10 2007-09-23 06:31:17

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: Installing and configuring Xorg

verndog wrote:

In /etc/pacman.conf I have as suggested:
[current]
Server = file://mnt/cdrom/arch/pkg

I think that that should be Server = file:///mnt/cdrom/arch/pkg (3 forward slashes)


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#11 2007-09-23 17:23:54

verndog
Member
Registered: 2007-09-21
Posts: 55

Re: Installing and configuring Xorg

kishd wrote:
verndog wrote:

In /etc/pacman.conf I have as suggested:
[current]
Server = file://mnt/cdrom/arch/pkg

I think that that should be Server = file:///mnt/cdrom/arch/pkg (3 forward slashes)

Your right and finally I can use pacman. Now the video does crazy and the system locks up. It's the
Xorg -configure command that sets things off.
I think I said I'm trying VirtualBox first.
Anyway in Section #8 just below the Xorg -configure , you find:
Other ways of making an xorg.conf without getting your hands dirty is Arch Linux's own developer tpowa's tool:
hwd -xa
hwd (to see the various options)

I can't use the "hwd" command. Says its not found. Is it on the cdrom and how do I get it?

Thanks.

Offline

#12 2007-09-23 17:55:45

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: Installing and configuring Xorg

hwd is in extra. Just do pacman -S hwd and use it


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#13 2007-09-23 18:32:55

verndog
Member
Registered: 2007-09-21
Posts: 55

Re: Installing and configuring Xorg

kishd wrote:

hwd is in extra. Just do pacman -S hwd and use it

Thanks but apparently its not on the cdrom. lshwd is the only file there.

Offline

Board footer

Powered by FluxBB