LXDE lxpanel taskbar configs incorrect if first run with no monitor attached

Bug #1080966 reported by Blake Girardot
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Raspbian
Expired
Undecided
Unassigned

Bug Description

This was all tested using:
2012-10-28-wheezy-raspbian.img
Linux raspberrypi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l

It seems that when you first use the LXDE GUI you need to have a monitor attached or the config files for the lxpanel taskbar get broken.

If I do a clean write to an SD card and connect up a monitor via HDMI and boot and then startx everything works fine, I get a lxpanel taskbar at the bottom of the screen.

However, if I write a clean image to an SD card, connect an Ethernet cable only and then log in via ssh using MobaXterm and issue the lxsession command I receive this error:

** (lxpanel:2356): WARNING **: Config files are not found.

and I get no lxpanel task bar at the bottom of my screen.

the directories:
~/.config/lxpanel/LXDE/

are created as normal, but the LXDE directory is not populated with the config files, which it would be normally with a monitor connected on first run of the LXDE gui.

Subsequently connecting a monitor via HDMI and typing startx I still do not get the taskbar at the bottom of my screen and do not get the config files copied to the config directory.

I can remove the ~/.config/lxpanel directory, and it will be recreated, but it will only be populated with the actual config files if I remove it and then connect a monitor to the HDMI port and then type startx.

Please let me know if I can provide any further information.

I can manually fix the problem of no taskbar by doing this:
cp -rp /etc/xdg/lxpanel/profile/LXDE/* ~/.config/lxpanel/LXDE/

and it is my understanding that LXDE should read the default config files when it does not find the config files in the local user's home directory.

Revision history for this message
John Watkins (jcw) wrote :

I encountered this warning in the following image: 2013-07-26-wheezy-raspbian.img.

uname -a -> Linux raspberrypi 3.6.11+ #474 PREEMPT Thu Jun 13 17:14:42 BST 2013 armv6l GNU/Linux

I noticed the missing lxpanel taskbar when I created a new user after ssh'ng into the raspberry pi as the user pi. I created the new user, then set the same groups as the user pi including sudoers. I confirmend the new user login locally on the raspberry pi. I then killed the ssh sessions. I ssh'ed in as the new user. That is when I experienced the same lxpanel: 2356 warning as reported in the original report

Just as reported above the new user did not have the files below ~/.config/lxpanel/LXDE/. I cp'ed the files from /etc/xdg/lxpanel/profile/LXDE/. This seems to have corrected the problem.

The raspberry pi was set up with a monitor attached via the HDMI port the first itme the user pi logged into it. The pi users appears to have had all the configuratin files when I later logged into the raspberry pi using ssh. I infer this becuase I had no problems with the session when I looged in as I did with the new user I created later.

It may have been presumptious of me to expect the files to be copied. But ssh was enabled and the directory structure for the files was created. So I believe that the directories should have been completley populated.

Revision history for this message
Diederik (didi-debian) wrote :

Is this issue still present in a recent image?
If so, you should report it here: https://github.com/RPi-Distro/repo/issues

Changed in raspbian:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Raspbian because there has been no activity for 60 days.]

Changed in raspbian:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.