JRMN
Posts: 4
Joined: Thu Mar 21, 2013 1:16 pm

.xsession file is not executed

Sat Aug 24, 2013 12:45 am

At first I was able to create a .xsession file in my home directory and it would run in place of the normal desktop session. However, now for some reason it won't run and I am getting an xsession error every time I login. Does anyone know what's going on?

from the .xsession-errors file:

Code: Select all

Xsession: X session started for pi at Fri Aug 23 20:30:11 EDT 2013
localuser:pi being added to access control list
xrandr: Failed to get size of gamma for output default
Openbox-Message: Unable to find a valid menu file "/usr/share/lxde/openbox/menu.xml"

(pcmanfm:2334): Gtk-WARNING **: Radio group does not contain an action with value '0'

JRMN
Posts: 4
Joined: Thu Mar 21, 2013 1:16 pm

Re: .xsession file is not executed

Tue Aug 27, 2013 9:31 pm

Can someone please help me. I really don't want to start over. thanks in advance.

JRMN
Posts: 4
Joined: Thu Mar 21, 2013 1:16 pm

Re: .xsession file is not executed

Wed Aug 28, 2013 11:50 pm

Ok, I just reinstalled Raspbian and got the same error message in .xsession-errors file on first boot. I also did some research and as it turns out the Raspberry Pi running Raspbian, the default menu file is /usr/share/lxde/openbox/menu.xml, which doesn't exist. I am still not sure why .xsession wasn't loading, but all is well now.

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: .xsession file is not executed

Fri Aug 30, 2013 1:18 pm

JRMN wrote:Ok, I just reinstalled Raspbian and got the same error message in .xsession-errors file on first boot. I also did some research and as it turns out the Raspberry Pi running Raspbian, the default menu file is /usr/share/lxde/openbox/menu.xml, which doesn't exist. I am still not sure why .xsession wasn't loading, but all is well now.
So was the fix the re-installation, or did you have to do something extra (i.e. make the menu.xml file) to get it working?
Dear forum: Play nice ;-)

JRMN
Posts: 4
Joined: Thu Mar 21, 2013 1:16 pm

Re: .xsession file is not executed

Fri Aug 30, 2013 1:38 pm

In my case I reinstalled. There is no /usr/share/lxde/openbox/menu.xml file on the raspberry pi, so you will always get that error. I nevered figured out what the issue was, but menu.xml had nothing to do with .xession not executing.

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: .xsession file is not executed

Fri Aug 30, 2013 1:59 pm

JRMN wrote:In my case I reinstalled. There is no /usr/share/lxde/openbox/menu.xml file on the raspberry pi, so you will always get that error. I nevered figured out what the issue was, but menu.xml had nothing to do with .xession not executing.
Thanks, I just wanted to make sure there was a clear solution for anyone else with a similar problem who found this thread! :-)
Dear forum: Play nice ;-)

Return to “Troubleshooting”