weirdfish00
Posts: 8
Joined: Mon Aug 06, 2012 9:46 am

Arch Linux "startx" command not found.

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

alexchamberlain
Posts: 121
Joined: Thu Jun 14, 2012 11:20 am
Location: Leamington Spa, UK
Contact: Website

Re: Arch Linux "startx" command not found.

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.

weirdfish00
Posts: 8
Joined: Mon Aug 06, 2012 9:46 am

Re: Arch Linux "startx" command not found.

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

weirdfish00
Posts: 8
Joined: Mon Aug 06, 2012 9:46 am

Re: Arch Linux "startx" command not found.

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

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: Arch Linux "startx" command not found.

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

alexchamberlain
Posts: 121
Joined: Thu Jun 14, 2012 11:20 am
Location: Leamington Spa, UK
Contact: Website

Re: Arch Linux "startx" command not found.

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.

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Arch Linux "startx" command not found.

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.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

User avatar
jojopi
Posts: 2993
Joined: Tue Oct 11, 2011 8:38 pm

Re: Arch Linux "startx" command not found.

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/

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Arch Linux "startx" command not found.

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).
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

weirdfish00
Posts: 8
Joined: Mon Aug 06, 2012 9:46 am

Re: Arch Linux "startx" command not found.

Tue Aug 07, 2012 8:07 am

oh no i seem to have started an huge online argument
weirdfish

weirdfish00
Posts: 8
Joined: Mon Aug 06, 2012 9:46 am

Re: Arch Linux "startx" command not found.

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

User avatar
maribu
Posts: 143
Joined: Mon Feb 13, 2012 9:56 pm

Re: Arch Linux "startx" command not found.

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

weirdfish00
Posts: 8
Joined: Mon Aug 06, 2012 9:46 am

Re: Arch Linux "startx" command not found.

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

sotris99
Posts: 18
Joined: Fri Jul 13, 2012 10:07 am
Location: Athens, Greece
Contact: Website

Re: Arch Linux "startx" command not found.

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)

rahulrasal30
Posts: 1
Joined: Tue Jul 08, 2014 12:33 pm

Re: Arch Linux "startx" command not found.

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?

pepedog
Posts: 1044
Joined: Fri Oct 07, 2011 9:55 am

Re: Arch Linux "startx" command not found.

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

Ivan Tham
Posts: 75
Joined: Mon Jun 24, 2013 7:06 am

Re: Arch Linux "startx" command not found.

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
.

User avatar
ab1jx
Posts: 366
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA
Contact: Website

Re: Arch Linux "startx" command not found.

Fri Apr 22, 2016 8:26 pm

Root password is a little devious:

sudo passwd and set it to whatever you want. By using sudo you become root for the next command, so sudo passwd lets you set the root password.

Just don't use the new privilege too carelessly.

Return to “Arch”

Who is online

Users browsing this forum: No registered users and 6 guests