Ubuntu – Start X and Unity from the console

11.10command linelightdmxorg

I'm running Ubuntu 11.10 and I'm wondering if it is possible to start X and Unity from the console without using LightDM or any other display managers. I use Unity 2D and my ~/.xsession is as follows –

exec ck-launch-session dbus-launch --exit-with-session gnome-session --session=ubuntu-2d

Unity starts without issue when running startx, the only problem is that when maximised the window menu remains along with the global menu. With any combination of the ck-launch-session and dbus-launch commands, as well as removing one or both of them (and the dbus-launch arguments), I still experience the same issue. Using the default Unity configuration (i.e. 3D), explicitly setting a shell or using the –sh-syntax option don't make any difference to the problem.

I've tried a variety of different suggestions and Googled until my fingers fall off, it doesn't seem to be something which many people are asking about but for my curiosity I'd be interested to know where I'm going wrong. I appreciate that the dependency tree and things which LightDM manages are vast but if anybody could shed any light on this it'd be appreciated.

Similar sort of questions which don't offer working answers are –

How to start X and Unity, without gdm?

Policykit is not initialised in custom xsession launched via LightDM

Thanks in advance for the assistance,