My school recently bought the "computing club" our own server. This runs virtual machines on VMWare Server and so allows us to run whatever operating systems we want, and install any programs we want. We have a Ubuntu 10.10 Desktop (x86) virtual machine which we use as our main system. We want multiple users to access the same vm simultaneously, so I installed xrdp and set it up so users could use Remote Desktop on any machine on the 100% Windows school network to access it. This works very well and seems to be stable apart from some strange problems which seem to be related to the way the sessions are managed by xrdp and sesman.
The first one of these problems is that the .Xauthority file was not present on remote sessions, so gksudo would not run as it could not find the file to copy to /tmp. I managed to fix this by running xauth and generating a new magic cookie (not that I really knew what I was doing). Gksudo runs now, but I thought I would include this problem anyway incase it gives any hints to the heart of the problem.
The second problem we are having is by far the strangest. Like the first problem, it too only seems to happen when using a remote session. Performing a specific action in some programs will cause them to crash. They print an error message which I will quote when I am at school and able to use the machine, but its something to do with a "free()" command being called when the memory was not allocated.
The following programs seem to have this problem (that I know so far):
- system monitor - crashes on startup
- java - eclipse - crashes on change perspective and closing a tab
- java - android sdk manager - various actions
- scite - opening a file
All these things crash with exactly the same error message.
Anyone got any ideas? It makes the system really quite frustrating to use!