For some reasons, the place I work in is stuck with Ubuntu 12.04
. As I need a lot of recent software, I wanted to use a VM with Ubuntu 14.04
. I successfully setup everything with virtual box 4.3
(the Oracle Edition).
After that, I have tried to create a share of my host home directory and use that as the home directory for the user on the guest. One of the reason is that I don't want to loose everything if virtual box fails so having all the files on the real HD seems important.
Currently the directory is mounted on the guest with AutoFS. The user in guest and host have the same login, uid and main gid.
It seems to work when I use ssh to login from the guest to the guest but it doesn't work with graphical login: the user is immediately disconnected. I guess it's because graphical login on the host creates some files; graphical login tries to create those files on the guest and then fails.
Any idea?