Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I've flashed a 2GB SD card with the Raspbian wheezy image from http://www.raspberrypi.org/downloads, which boots up fine, but after typing "startx", I'm facing an empty desktop with the raspberry logo; nothing further happens. The pointer moves, I can switch to other TTYs with Ctrl+Alt+Fx, but that's it. No desktop icons or other GUI elements.

Is this supposed to happen? Do I need to manually set up a light desktop environment, or is there something else I need to do?

(I've tried the Arch Linux image too, and it too boots up fine to the command prompt. I don't seem to have hardware or power problems.)

df -h output:

enter image description here

share|improve this question
    
What are you using as a monitor and how is it connected to your Pi? –  Steve Robillard Sep 1 '12 at 9:26
    
I'm using a 32 inch TV ("HD-Ready", 1366x768) connected via HDMI. Do you suspect that it's incorrectly set as the second display? –  rasper Sep 1 '12 at 10:17
4  
Is anything getting started? Could you have a look through the output from startx, ~/.xsession-errors and /var/log/Xorg.0.log and see if something fails. pstree -ph -u pi (while the X session is running) output may also be informative. –  XTL Sep 3 '12 at 6:37
1  
Does the whitespace around the raspberry reach to the edge of the screen? –  Steve Robillard Sep 4 '12 at 18:47
2  
Make sure you have a window manager/desktop environment set to execute in ~/.xinitrc. For example: exec openbox –  Munkeh Sep 22 '12 at 11:42
show 4 more comments

3 Answers

To have a complete desktop environment (X + window manager + decorator) you should type:

/etc/init.d/lightdm start

If you want your Raspberry Pi to boot directly into lightdm, run:

sudo raspi-config

and set the second last option boot_behaviour to yes.

share|improve this answer
1  
startx should disguise all this. –  Alex Chamberlain Sep 26 '12 at 21:20
    
/etc/init.d/{gdm|xdm|lightdm} start has always been the "right way" to launch a desktop environment. startx always launched only X as far as I can remember... –  Avio Sep 26 '12 at 21:22
1  
@Avio X then starts the session of your WM from what you've put your .xinitrx file. –  Jivings Sep 26 '12 at 23:23
    
Ok, sorry, didn't knew that. –  Avio Sep 27 '12 at 10:27
add comment

its basically local desktop for the user,

you may need to add the content for user desktop and thereafter it will display the information.

pi user will have default desktop icons come along with package..

share|improve this answer
add comment

Boot under pi user, NOT root..

share|improve this answer
2  
From the screenshot it does look as if rasper is using the Pi user. –  Jivings Nov 28 '12 at 21:37
add comment

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.