You are not logged in.

#1 2009-09-29 22:54:39

Claymater
Member
Registered: 2009-09-29
Posts: 11

Startx wont start...?

Sorry for the noob question, but everytime I try to use "startx" or "xinit"... How do I fix this?

Offline

#2 2009-09-29 23:05:54

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Startx wont start...?

Wwith all the information you gave it's hard to make a guess..

did you make an .xinitrc?

http://wiki.archlinux.org/index.php/Beg … 28again.29

Last edited by droog (2009-09-29 23:07:50)

Offline

#3 2009-09-29 23:30:51

crankyadmin
Member
Registered: 2009-09-27
Posts: 117
Website

Re: Startx wont start...?

Shot in the dark....

HAL maybe.....

Due to your lack of information, this is all I am prepared to give you tongue


:: Github :: My AUR :: Coreboot ::

Offline

#4 2009-09-29 23:41:58

Claymater
Member
Registered: 2009-09-29
Posts: 11

Re: Startx wont start...?

I did make a .xintrc

and I have a xorg.conf file... but it seems like I might be missing something, everytime I log into a none root and type "startx" (without quotes) it gives me

-bash: startx: command not found


So I think there might be a missing file or something.

Offline

#5 2009-09-29 23:44:17

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Startx wont start...?

Well if it doesn't find the command, what file do you think is missing exactly? wink


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2009-09-29 23:48:59

Claymater
Member
Registered: 2009-09-29
Posts: 11

Re: Startx wont start...?

Haha I dont know tongue BUT I did get a error (ok I might know now) that said that it couldnt find Xorg in /usr/bin/ So that might be something....


AND It might also be a HAL problem because it said that the "hardware abstraction layer" Failed.... Help?

Offline

#7 2009-09-29 23:49:34

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Startx wont start...?

$ pkgfile startx
extra/xorg-xinit

That's the package you require.  If you follow the Xorg guide on the wiki, it should sort out anything else X-related you might be missing.

Offline

#8 2009-09-29 23:53:07

Claymater
Member
Registered: 2009-09-29
Posts: 11

Re: Startx wont start...?

It comes back with
"Command not found"

Offline

#9 2009-09-30 00:09:01

opothehippo
Member
From: hella norcal bro
Registered: 2009-08-06
Posts: 89

Re: Startx wont start...?

You installed the entire xorg package, right?


Arch x86_64 | XMonad

Offline

#10 2009-09-30 01:18:05

Claymater
Member
Registered: 2009-09-29
Posts: 11

Re: Startx wont start...?

Yes.... pacman -S xorg? Correct?

Offline

#11 2009-09-30 01:41:22

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Startx wont start...?

That's correct.  You should be able to issue xinit / startx successfully if HAL is running.  Ensure you've also installed the appropriate video driver.

The 'pkgfile' command above is used to display the package name to which files belongs, even if the corresponding package is not installed.  It is part of the 'pkgtools' package.  After installation, you need to update the filelist via:

# pkgfile -u

Last edited by chpln (2009-09-30 01:43:49)

Offline

#12 2009-09-30 01:53:12

Claymater
Member
Registered: 2009-09-29
Posts: 11

Re: Startx wont start...?

Ok Its all updated... but its still not working sad

Offline

#13 2009-09-30 02:06:28

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Startx wont start...?

Please do not say it's "not working" -- no one will be able to help you.

Always explain:
1) exactly what you've tried, and
2) exactly what happens.

Offline

#14 2009-09-30 02:12:13

Claymater
Member
Registered: 2009-09-29
Posts: 11

Re: Startx wont start...?

Sorry, I used
pkgfile -u

And it all updated.

I then used,
$ pkgfile startx

and got back
extra/xorg-xinit

But when I tried to used
startx

and it says "command not found"

Offline

#15 2009-09-30 02:12:14

smartboyathome
Member
From: $HOME
Registered: 2007-12-23
Posts: 334
Website

Re: Startx wont start...?

Claymater wrote:

Ok Its all updated... but its still not working sad

Try running this, and post the output here:

pacman -Ql xorg-xinit

Offline

#16 2009-09-30 02:14:45

Claymater
Member
Registered: 2009-09-29
Posts: 11

Re: Startx wont start...?

Ok so I used that code,
and it said it couldnt find the package.

So I did

pacman -S xorg-xinit

and it said there was a eorror and there were no packages updated

Offline

#17 2009-09-30 02:21:33

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Startx wont start...?

Claymater wrote:

So I did

pacman -S xorg-xinit

and it said there was a eorror and there were no packages updated

Did it provide any indication of what the problem might have been?  Did 'pacman -S xorg' seem to complete successfully before?

Offline

#18 2009-09-30 02:24:49

Claymater
Member
Registered: 2009-09-29
Posts: 11

Re: Startx wont start...?

chpln wrote:
Claymater wrote:

So I did

pacman -S xorg-xinit

and it said there was a eorror and there were no packages updated

Did it provide any indication of what the problem might have been?  Did 'pacman -S xorg' seem to complete successfully before?

Well if I do

pacman -S xorg

it says there is already a file... So it seems that yes it was successful... Ideas?

Last edited by Claymater (2009-09-30 02:25:32)

Offline

#19 2009-09-30 02:35:53

Mardoct
Member
Registered: 2009-08-17
Posts: 208

Re: Startx wont start...?

cat /etc/rc.conf

Is "hal" in the daemons array (the bracketed stuff at the end)? If not, put it there and reboot. You can also start HAL with:

/etc/rc.d/hal start

If you are using the nvidia driver, run as root:

nvidia-xconfig

Also, you can try reinstalling xorg through pacman, and make sure you say "y" to everything.


The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.

Offline

#20 2009-09-30 02:39:08

Claymater
Member
Registered: 2009-09-29
Posts: 11

Re: Startx wont start...?

Mardoct wrote:
cat /etc/rc.conf

Is "hal" in the daemons array (the bracketed stuff at the end)? If not, put it there and reboot. You can also start HAL with:

/etc/rc.d/hal start

If you are using the nvidia driver, run as root:

nvidia-xconfig

Also, you can try reinstalling xorg through pacman, and make sure you say "y" to everything.

Yes its there, and when I used

/etc/rc.d/hal start

It comes back with...

:: Starting Hardward Abstraction Layer      [Fail]

Offline

#21 2009-09-30 02:45:25

Mardoct
Member
Registered: 2009-08-17
Posts: 208

Re: Startx wont start...?

Then try

 /etc/rc.d/hal restart

Last edited by Mardoct (2009-09-30 02:46:34)


The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.

Offline

#22 2009-09-30 03:51:07

Chrysalis
Member
Registered: 2008-07-07
Posts: 155

Re: Startx wont start...?

I wonder how he installed xorg so that he has hal but pacman cant find xorg-xinit...

Last edited by Chrysalis (2009-09-30 03:58:57)

Offline

#23 2009-09-30 10:51:45

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: Startx wont start...?

if you have it up and working, mark the thread as solved.


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#24 2009-09-30 19:53:14

Claymater
Member
Registered: 2009-09-29
Posts: 11

Re: Startx wont start...?

quarkup wrote:

if you have it up and working, mark the thread as solved.

Sorry, its not working yet. (I had to go to school)

But I can find xorg in pacman, but it says there is a error with conflicting files (so I guess its there)

Last edited by Claymater (2009-09-30 20:19:04)

Offline

#25 2009-09-30 23:30:53

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Startx wont start...?

Claymater wrote:

But I can find xorg in pacman, but it says there is a error with conflicting files (so I guess its there)

This assumption is not correct.  Please post the names of the the conflicting files; likely case is they should be deleted manually.

Is this a fresh installation of Arch?  Is there a possibility these of files existing from a previous *nix installation?

Offline

Board footer

Powered by FluxBB