Hi again! Thanks for all help! Xlibs is installed and works. Actually now everything works with the exception of my Swedish layout which makes me guess sometimes what to press. I do not know if this has anything to do with what happened but I made a mistake. I missed to install aterm from the beginning and did it later when the problems had started. I made a fresh install and since I am posting this from Firefox I do not have any complaints.
Sincerely,
Mats Olsson