Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

X throws this error:

Xsession: unable to launch "/usr/share/xsessions/openbox.xsession" Xsession
--- "/usr/share/xsessions/openbox.xsession"  not found; Falling back to 
default session.

But a trip to the Command line reveals:

sam@Aristotle:/usr/share/xsessions$ ls 
...
-rw-r--r--   1 root root  164 2011-05-22 12:27 openbox.xsession
...

I am using Ubuntu 12.04, openbox 3.5.0, and X.Org X Server 1.10.4

share|improve this question

1 Answer 1

I am not sure why it reports not found for you, but you should make the file executable* as root:

[The] files in a user's home directory may be created or modified by the user any time and must be executable shell scripts.

To do this you want to enable the execute permission on your file, as root:

$ sudo chmod a+x /usr/share/xsessions/openbox.xsession

Optionally you can also use a file in your hone directory:

$ cp /usr/share/xsessions/openbox.xsession ~/.xsession (not ~/.Xsession)
$ chmod a+x ~/.xsession
share|improve this answer

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.