Link to home
Start Free TrialLog in
Avatar of Robert_Rayworth
Robert_RayworthFlag for United States of America

asked on

Kali Linux Raspberry PI startx command not working

Kali Linux Raspberry PI startx command not working

I am trying to install Kali Linux onto a new Raspberry PI which is the newer model ver B

I have downloaded the latest Kali Linux from
http://www.kali.org/downloads/

This is the version I have downloaded

http://cdimage.kali.org/kali-images/kali-linux-1.0.4-armel-rpi.img.xz

I have installed it onto a 16GB PNY SD card it boots up fine.

I log in as root with password toor

I cannot as outlined in the instructions get the Kali Gui to start

It says type startx

When I do this after about 5 seconds it says startx command not found

I have tried several things but just cant get the Kali gui to boot up

I am a total newbie to Linux but am learning fast

What am I missing?
Avatar of Robert_Rayworth
Robert_Rayworth
Flag of United States of America image

ASKER

Do I need to install xorg-xinit if so what command do I run
Avatar of DrDamnit
Why are you using Kali LInux? This is a "hackers" version, which is based on BackTrac. Not exactly the "newbie" version of Linux to cut your teeth on.

Having not played with the images that are available for the Raspberry Pi (and mine should arrive today) I am not sure why you don't have X11 built in except to say: it's probably not in the ISO you downloaded. I see there are two versions available, a full ISO and a Mini. Since X11 is not required to run most security tools, it may be that you don't have it in there.

That being said, Kali is Debian based, so I imagine you can use:
apt-get install xorg

Open in new window


To install X11.

Once that completes, try startx again.
Avatar of noci
noci

why not use raspbian?

That is the default Linux for the Rasp. Pi
http://www.raspbian.org/
Excellent point.
Dear All if I wanted to use another distribution of Linux for Rasberry Pi I would
The fact of the matter is I dont!!!
I want to create a Pen test environment on my RasberryPi for testing and securing wireless networks.
So unless you can help please dont post non relevant remarks
It is really none of my business what you do with it, but unless you are a security professional, it is illegal to test any network you do not own. And I don't mean "naughty IT guy!"  slap on the wrist illegal. $500,000 fines and twenty years in jail illegal. In the US.  Similar laws exist in all 1st world countries.

It strikes me that if you are were a professional pen tester,  you'd be familiar enough with Linux tools that installing Xorg would not be a problem.

Unfortunately, for liability and ethical reasons (as well as the Terms of this site) I must withdraw from this question.
I dont see how asking is walking a fine line asking how to install a legal version of linux. At no point have I mentioned my intention of doing anything illegal. Infact I want to secure my own I repeat Own infact Lets PUT THAT IN CAPITALS SECURE MY OWN HOME NETWORK AND WANT TO MAKE SURE ITS AS SECURE AS I CAN MAKE IT If by asking how to install Kali linux as there seems to be a piece of software missing caused Experts Exchange to get concerned then feel free to delete the question. A Storm In a tea cup
I have to agree with Robert_Rayworth here.
There is no evidence AFAICT that there would be misuse of info. Didn't have time to check it out further yet. I will return on this in a few days.
I will need to download the specific files & check on it's contents.
Ok I checked the image, there is no X11 installed on that kali image.

You need to install the X -wondows system from the installing it with the debian package manager should fix that.
Thanks noci for taking the time and checking the image. I thought I was going mad.
You mentioned I need "to install the X -wondows system from the installing it with the debian package manager should fix that"
How exactly do I do that.
I am able to login from the point Kali Linux boots up as root and password toor
What commands do I then need to run to get to the stage you mentioned>
Thanks for your help
apt-get install {package}

(when connected to a network) will install the package.
For X-Windows you would need:
 xorg
 and gnome or kde
 
kde is a bit windows like and gnome more mac like... so take your pick.
Note they look a bit a like, but both are rather different.

if you want minimal installs of gnome/kde
use gnome-core or kdebase

See Also:
http://forums.debian.net/viewtopic.php?t=12256
FWIW - the Raspberry PI probably won't run either well... consider the XFCE desktop.
Thanks for the suggestions guys I will try them all and let you know my conclusion.
Does anyone think one is any better than another?
ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@noci... agreed.

@Robert. You're just going to have to try them to see what works. XFCE has been around for a while. And while I have seen the others that noci has mentioned, I haven't tested them on my pi. You may have to go through more than one until you find on that makes you happy.

@noci: which of the ones you mentioned is the most mature?
twm is definitely mature (it's the oldest i think & default with xorg-server) but it's next to useless for real work.

my vote would be for: Enlightenment & Matchbox ....
XFCE is used by the OpenPandora project btw....
(That system might be better suited for security checking than a Raspberry PI might be)
It's slightly more expensive, but it's feature complete on the hardware side.