Fix Openbox login from GDM in OpenSuse

suse.png

Do you use GDM to log into Openbox on your OpenSuse box?  In 11.1 I noticed a little hiccup.

In /usr/share/xsessions the openbox.desktop file resides and the option is there in GDM, and when you login, openbox comes right up.  But nothing in your ~/.config/openbox/autostart.sh file gets kicked off.
the application ‘openbox’ does not run autostart.sh, only ‘openbox-session’ does.  So as root vim /usr/share/xsessions/openbox.desktop

and changes these lines:

Exec=openbox
TryExec=openbox

to

Exec=openbox-session
TryExec=openbox-session

Write-quit the file, log out and back in.  Openbox should kickoff autostart.sh now.

Related Posts

Comments are closed.