blue_tech
Posts: 29
Joined: Sat May 19, 2012 2:01 pm

Problem with startx and desktop visualization

Sat Dec 22, 2012 7:09 pm

Hello, when i launch startx, the desktop doesn't show me the application bar (lxpanel).
The same is when I launch lxsession on SSH, it show me only the desktop with icons but not the application bar.

In terminal, it gives me the message:
** (lxpanel:2136): WARNING **: Config files are not found.

What should I do?

blue_tech
Posts: 29
Joined: Sat May 19, 2012 2:01 pm

Re: Problem with startx and desktop visualization

Sat Dec 22, 2012 7:49 pm

Ok i solved thanks to this post:

http://www.raspberrypi.org/phpBB3/viewt ... 73#p217773
bgirardot wrote:Just a follow up. This is definitely because I do my set ups headless. If I do the set up and config with a monitor attached, everything works fine.

Just removing the directory ~/.config/lxpanel/ does not fix the problem until you actually connect it to a monitor, doing it headless and then using X forwarding to run the GUI doesn't get it fixed. The problem for me is, nothing ever gets put in that directory if you didn't have a monitor connected and type startx.

You can fix it manually by copying everything from the default lxpanel config to your local user's lxpanel config directory:

cp -rp /etc/xdg/lxpanel/profile/LXDE/* ~/.config/lxpanel/LXDE/

Then it will work again no matter how you access the LXDE gui

I submitted this as a bug to the raspbian repository on github
It works! :D

Return to “Troubleshooting”