Switching from Gnome to LXDE? Good idea.

Bookmark and Share

When I was using Gnome3 on Debian-Wheezy, I experienced the issue that gnome kept creating new processes of “gdm-simple-slave” – hundreds of them, slowing my server down extremely.
I was unable to find the cause of this issue, however, bugs like that are to be expected when using Wheezy. So I decided to try LXDE again. On my previous attempt this was problematic, because tightvncserver refused to work with it and kept bringing me to my old Gnome desktop – although I followed instructions to reconfigure tightvncserver correctly. Now I gave it another try, with different instructions. It worked – now I’m happily using LXDE on my server, instead of gnome. And that infinite-process problem is gone. Here’s how to:

LXDE DesktopRemove GNOME:
apt-get purge gnome*

Install LXDE and tightvncserver if not done yet:
apt-get install tightvncserver lxde

Edit the vnc config with e.g. nano:
nano /root/.vnc/xstartup

In nano, uncomment the line
/etc/X11/xsession
so it looks like this:
#/etc/X11/xsession

At the end, add this lines:
icewm &
lxsession

Save. When now running
tightvncserver
and connecting to your server,
you should see your LXDE desktop. Have fun!

Tagged , , , , , , , . Bookmark the permalink.

2 Responses to Switching from Gnome to LXDE? Good idea.

  1. Basel says:

    Hey so I want to use this software to program on Xcode which is only found on Macs. I have a somewhat complicated question. I was wondering if I can connect to a Mac that is running on my school server. I am able to ssh using Putty or WinSCP and access my files, but is there anyway I can remotely view and use the Mac using TightVNC?

    • Dunkel85 says:

      You can install a VNC server on the Mac on your school – e.g. RealVNC offers a Mac version: http://realvnc.com/download/vnc/ (you can also connect via TightVNC to a RealVNC server)
      The problem is that the router on your school is most likely not forwarding packets on the VNC servers listening port (e.g. 5900) to the IP of the computer that you want to access.
      This results in not being able to reach the Mac from outside of the school network.

      But feel free to give it a try; perhaps your schools router is forwarding all packets and has firewall disabled or not properly configured, then it could work.
      Unfortunately this is rather unlikely.
      If you want to use something which is only available on Macs, I’d rather suggest to install Mac as a virtual machine on your home computer, as mentioned on my post:
      http://hmastuff.com/blog/learning-macos-x-with-leopard-10-5-5-on-vmware-workstation

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>