Arch Linux "startx" command not found.


17 posts
by weirdfish00 » Mon Aug 06, 2012 9:49 am
My raspberry pi keeps saying when i type "startx" that the command is not found can any1 help? :?:
weirdfish
Posts: 8
Joined: Mon Aug 06, 2012 9:46 am
by alexchamberlain » Mon Aug 06, 2012 10:10 am
Have you installed anything? Arch doesn't come with X by default.
Developer of piimg, a utility for working with RPi images.
Posts: 121
Joined: Thu Jun 14, 2012 11:20 am
Location: Leamington Spa, UK
by weirdfish00 » Mon Aug 06, 2012 12:34 pm
alexchamberlain wrote:Have you installed anything? Arch doesn't come with X by default.

Yes i have installed everything this tutoriol has said i needed to install
weirdfish
Posts: 8
Joined: Mon Aug 06, 2012 9:46 am
by weirdfish00 » Mon Aug 06, 2012 12:37 pm
alexchamberlain wrote:Have you installed anything? Arch doesn't come with X by default.

i might just get a new operating system either ubuntu or debian. I switched from debian because i forgot to set up a root password so i cant install anything! :evil:
weirdfish
Posts: 8
Joined: Mon Aug 06, 2012 9:46 am
by bredman » Mon Aug 06, 2012 12:44 pm
You don't need a root account on Debian. Just put sudo in front of a command to gain root permission, for example
sudo apt-get install example_software
Posts: 1413
Joined: Tue Jan 17, 2012 2:38 pm
by alexchamberlain » Mon Aug 06, 2012 12:46 pm
weirdfish00 wrote:
alexchamberlain wrote:Have you installed anything? Arch doesn't come with X by default.

i might just get a new operating system either ubuntu or debian. I switched from debian because i forgot to set up a root password so i cant install anything! :evil:


Don't give up - Arch is much better. What tutorial were you following?
Developer of piimg, a utility for working with RPi images.
Posts: 121
Joined: Thu Jun 14, 2012 11:20 am
Location: Leamington Spa, UK
by Joe Schmoe » Mon Aug 06, 2012 1:22 pm
bredman wrote:You don't need a root account on Debian. Just put sudo in front of a command to gain root permission, for example
sudo apt-get install example_software


Exactly. Just get in the habit of typing "sudo" in front of every single command and you will never have to worry about this root stuff ever again. Think of "sudo" as the modern equivalent of brainf****'s "PLEASE" command. Politeness is always a virtue, and never out of place.
Never answer the question you are asked. Rather, answer the question you wish you had been asked.

- Robert S. McNamara - quoted in "Fog of War" -
Posts: 2799
Joined: Sun Jan 15, 2012 1:11 pm
by jojopi » Mon Aug 06, 2012 2:25 pm
Joe Schmoe wrote:Think of "sudo" as the modern equivalent of brainf****'s "PLEASE" command.
I think you mean INTERCAL. http://www.muppetlabs.com/~breadbox/intercal-man/
User avatar
Posts: 2122
Joined: Tue Oct 11, 2011 8:38 pm
by Joe Schmoe » Mon Aug 06, 2012 2:43 pm
jojopi wrote:
Joe Schmoe wrote:Think of "sudo" as the modern equivalent of brainf****'s "PLEASE" command.
I think you mean INTERCAL. http://www.muppetlabs.com/~breadbox/intercal-man/


Yes, you're probably right. BF's operators are all single character (I think).
Never answer the question you are asked. Rather, answer the question you wish you had been asked.

- Robert S. McNamara - quoted in "Fog of War" -
Posts: 2799
Joined: Sun Jan 15, 2012 1:11 pm
by weirdfish00 » Tue Aug 07, 2012 8:07 am
oh no i seem to have started an huge online argument
weirdfish
Posts: 8
Joined: Mon Aug 06, 2012 9:46 am
by weirdfish00 » Tue Aug 07, 2012 8:07 am
bredman wrote:You don't need a root account on Debian. Just put sudo in front of a command to gain root permission, for example
sudo apt-get install example_software

Thanks
weirdfish
Posts: 8
Joined: Mon Aug 06, 2012 9:46 am
by maribu » Thu Aug 09, 2012 8:48 am
You need to instal xorg-xinit. Try
pacman -Sy xorg-xinit

Good luck

btw: You need a file called .xinitrc which is a shell script which points the application which you want to start, like openbox-session or lxde
User avatar
Posts: 143
Joined: Mon Feb 13, 2012 9:56 pm
by weirdfish00 » Thu Aug 16, 2012 4:44 pm
maribu wrote:You need to instal xorg-xinit. Try
pacman -Sy xorg-xinit

Good luck

btw: You need a file called .xinitrc which is a shell script which points the application which you want to start, like openbox-session or lxde


DONE IT. DIDNT WORK. MOVED ONTO DEBIAN. GOT THAT WORKING.
:D :D :D :D :D :D
weirdfish
Posts: 8
Joined: Mon Aug 06, 2012 9:46 am
by sotris99 » Sun Aug 26, 2012 2:33 pm
i always get the no screens found error...

http://www.youtube.com/watch?v=QnuJeVSoFY4
Ἓν οἶδα, ὅτι οὐδὲν οἶδα. (All I know is that I know nothing)
Posts: 18
Joined: Fri Jul 13, 2012 10:07 am
Location: Athens, Greece
by rahulrasal30 » Tue Jul 08, 2014 12:50 pm
Hello Guys,
Same problem here...!

my Board is rsp_B:
i used on ArchLinux image.

my final aim is to run my a GUI exe programm.

But i ocuur ,
-bash: startx: command not found.

I unserstand X toolkit not here.
but X11 Directory is run up. follow are found .
/etc/X11/xinit/xinitrc.d/30-dhus

can i install X-server OR some ideas about above (/etc/X11/xinit/xinitrc.d/30-dhus) this file?

Answer mi?
Posts: 1
Joined: Tue Jul 08, 2014 12:33 pm
by pepedog » Wed Jul 09, 2014 11:24 am
Code: Select all
pacman -Sy xorg-xinit xf86-video-fbdev

Then
Code: Select all
/usr/bin/xinit /fullpathto/guiexe

or mess with xinitrc https://wiki.archlinux.org/index.php/Xinitrc
Posts: 982
Joined: Fri Oct 07, 2011 9:55 am
by Ivan Tham » Thu Sep 04, 2014 8:14 am
To use lxde in Arch:
Code: Select all
pacman -Sy xorg-xinit xorg-server xf86-video-fbturbo-git lxde


Add exec startlxde to .xinitrc. Then
Code: Select all
startx
.
Posts: 65
Joined: Mon Jun 24, 2013 7:06 am