Joe Parzival
Joe Parzival

Reputation: 567

Raspberry Pi 3 Model B setup startx or sudo startx gives: command not found

How can I get startx to work?

I have my SD set -used pi filler and image raspbian jessie.

However, I did download the zip Raspbian Jessie Lite (usually I have done the full desktop image, not lite)

After I log in as pi I want to get to my GUI. I type:

$startx
-bash: startx: command not found

So then I try with sudo, still: command not found.

I have done my steps in the sudo raspi-config to extend file system, set correct time and keyboard.

When I try to install some python packages

I want to configure my wi-fi by running the GUI. But, I cannot get to my gui with startx.

I know a few things (I've had startx work before on other pi 3s, but I'm a big noob, so please be detailed if you can help me out.

Thank you, in advance!

Upvotes: 3

Views: 32725

Answers (4)

Muhammad
Muhammad

Reputation: 21

sudo apt-get install lxde

after this one gets installed, used the command startlxde

Upvotes: 2

Manuel Schmitzberger
Manuel Schmitzberger

Reputation: 5468

My solution was to install these packages

sudo apt-get --no-install-recommends install xserver-xorg xserver-xorg-video-fbdev xinit pciutils xinput xfonts-100dpi xfonts-75dpi xfonts-scalable

Upvotes: 1

Adriano
Adriano

Reputation: 1

use sudo apt-get install xinit instead.

Don't forget to expand your File System and reboot: sudo raspi-config

Upvotes: 0

theBugger
theBugger

Reputation: 451

The lite version of Raspian Jessie doesn't come with X installed. That's why you cannot start it.

Raspbian lite is intended for a headless system usage, however you can still install X (don't ask me how, the web is plenty of tutorials)

Upvotes: 0

Related Questions