I've managed to fix it by chmod 755 to the users directory. Is this safe?
Not without trusted users; it allows any user to create or delete any file in any other user's home directory. Depending on the rights of the files in those directories it can allow reading and writing.
Also, when logged in as the user I cannot create any directories or files in the home directory.
I don't have any idea why that shouldn't be the case. If you're logged in as a user and the user's directory is owned by the user, and the rights are 777 the user should certainly have full rights in his/her home directory.
My aim is to get vnc-server up and running but It won't allow me to create a folder for vnc to get it up and running.
Did you delete the user AND the user directory before you recreated the user? If not, then delete the user, make sure the user's home directory is completely removed from the server; not just the contents, and start over.
Either way, when logged in as root, what is the output of each of these commands?
Note that you do NOT type the
# sign; it's there to show you that the following command is executed as root.
Perhaps VNC isn't compatible with a hosting server's security model.
I'm not even sure what you mean by
VNC. Is
this what you're asking about? If so, does the contents of this page help?
Jeff