Hi All, I installed Suse 9.0 pro onto my desktop at work and everything seemed to work fine. However when I tried to long in as a user, I get the following error: "no write to $Home directory (/)" "KDE unable to start ksmserver" I can log in as root with out any problems. And everything seems to be running fine as root. I think something might have gone wrong when the system created my user account. Not sure if this is right or not or how to fix the system. The system is a dual boot with windows 2000 and suse 9.0 pro. I set up the suse portion of the harddrive with a root partition and also a home partition. I can give more info. if required. Any ideas? Thanks in advance. Vu
On Tuesday 18 May 2004 02.36, thaiv@brandeis.edu wrote:
Hi All,
I installed Suse 9.0 pro onto my desktop at work and everything seemed to work fine. However when I tried to long in as a user, I get the following error:
"no write to $Home directory (/)" "KDE unable to start ksmserver"
I can log in as root with out any problems. And everything seems to be running fine as root. I think something might have gone wrong when the system created my user account. Not sure if this is right or not or how to fix the system.
The system is a dual boot with windows 2000 and suse 9.0 pro. I set up the suse portion of the harddrive with a root partition and also a home partition. I can give more info. if required.
Any ideas?
Most likely, your home partition wasn't mounted at boot. The system sees that /home/<username> isn't available, assigns / as home folder, kde tries to write to it, everything goes bananas See if you can find something in the logs that tells you why it wasn't mounted. Perhaps there was an error. or perhaps it isn't assigned properly in /etc/fstab. temp solution: mount the home partition on /home, then you should be able to log in
Hi Anders, I am a linux newbie. where can I find the log files? I checked in /etc/fstab and it list the /home. I guess that would mean that it was mounted, correct? how do I mount the home partition on to /home? thanks!
Most likely, your home partition wasn't mounted at boot. The system sees that /home/<username> isn't available, assigns / as home folder, kde tries to write to it, everything goes bananas
See if you can find something in the logs that tells you why it wasn't mounted. Perhaps there was an error. or perhaps it isn't assigned properly
in /etc/fstab.
temp solution: mount the home partition on /home, then you should be able to log in
On Tuesday 18 May 2004 02.51, thaiv@brandeis.edu wrote:
Hi Anders,
I am a linux newbie. where can I find the log files? I checked in /etc/fstab and it list the /home. I guess that would mean that it was mounted, correct?
Not if something went wrong. Start a command shell and run cat /proc/mounts | grep home The log files is /var/log/boot.msg and /var/log/messages
how do I mount the home partition on to /home?
If the above cat command doesn't return anything, you can try mounting it with mount /home
On Mon, 2004-05-17 at 20:36, thaiv@brandeis.edu wrote:
Hi All,
I installed Suse 9.0 pro onto my desktop at work and everything seemed to work fine. However when I tried to long in as a user, I get the following error:
"no write to $Home directory (/)" "KDE unable to start ksmserver"
I can log in as root with out any problems. And everything seems to be running fine as root. I think something might have gone wrong when the system created my user account. Not sure if this is right or not or how to fix the system.
The system is a dual boot with windows 2000 and suse 9.0 pro. I set up the suse portion of the harddrive with a root partition and also a home partition. I can give more info. if required.
Any ideas?
Thanks in advance. Vu
Sounds like the home directory for your user was not created or is not
specified in the passwd file correctly.
Since you can get in as root you can take a look at the /etc/passwd
file. You should see the user you are trying to log in as listed and
the sixth item in that users entry should be something like /home/user
(user is the id of the user you are trying to log in as).
I suspect that this field is blank or has / in it.
To fix it you can do several things. Either edit the passwd file and
add the entry. ( use vipw to do this)
Or if you are using the GUI tools go to the user/group tool and delete
the user and re-add it.
--
Scot L. Harris
Hi Scott and Anders, So I tried the "cat /proc/mounts | grep home" and everything seemed to have mounted. As root I used Kuser and deleted my user profile as scott had recommended and then recreated the account again. I could then log in as usr. Only one note. If the new user and old user account will be the same user name, Delete the user account and save the file first. Then create the new user account and save that. Otherwise it will try and use the old directory for the new account and the ownership of some files will be messed up. Thanks for the assistance. Vu
participants (3)
-
Anders Johansson
-
Scot L. Harris
-
thaiv@brandeis.edu