I recently upgraded from 10.04 LTS to 11.10. I use this machine remotely via NoMachine during the day and had some issues with Unity so I switched the desktop to Gnome while at home last evening. It worked fine, but when I'm using NoMachine the applications menu is missing from the top toolbar.

I would like to switch it back to Unity, but it logs directly into the desktop without being able to set the desktop option.

I'm guessing the desktop setting is contained in a file and I can edit it via ssh shell and Vim, but have no clue where the file is or what it's called.

Any suggestions?

link|improve this question
Please have a look at Why do I get Unity instead of Classic when using NX?, let us know if that can help you solve your issue. – Bruno Pereira Jan 25 at 16:25
feedback

1 Answer

up vote 4 down vote accepted

Add a custom command to your Nomachine NXClient, which says gnome-session --session=ubuntu-2d. That will launch Unity 2D which uses Metacity instead of Compiz. NX is not capable of using Compiz (Unity) or Mutter (Gnome Shell). Unity 2D with Metacity works nicely though.

link|improve this answer
Thanks for the response! I tried it, but NoMachine is opening multiple windows (that can't be opened themselves), then the connection to the remote Ubuntu machine is closed. I've tried all teh available options in the NoMachine UNIX custom session dialog box, but no luck. When I switched back to the old Gnome desktop another tutorial said to install the gnome-shell package. In case that was causing the problem I removed it and re-started, but get the same response. – jacoulter Jan 25 at 16:01
That is strange. I have actually tested this, and it has worked on all versions I've tried, including OpenNX, Nomachine NX Client and X2go client. I don't know what's causing this. In any case, however, I would recommend that you give X2go a try. It's much better integrated with Ubuntu. It's an NX product, but not compatible with Nomachine. – Jo-Erlend Schinstad Jan 25 at 16:43
x2go using the custom desktop command gnome-session --session=ubuntu-2d did the trick - thanks for your time and help! – jacoulter Jan 25 at 19:36
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.