Hi everyone,
I’m pretty new at OpenSUSE and I have just had my first big problem: i can’t log in with my account, as when trying to log in it brings up an error saying “cannot enter home directory, Using /.” and right after another error is brought up saying “call to lnusertemp failed (temporary directories full ?).Check your installation”.
Last thing I did that before it broke was installing vsftpd looking at a webpage, but it seemed to be working properly. They I was looking a video on the internet and the computer got frozen and had to restart the computer by the bad way.
If tried all kind of
sudo chmod 777 /var/tmp
etc comands on the web, all the people with this problem I found seemed to solve the problem with this but its not my case.
What can i do? I don’t know what else to do, i though about restoring it but opensuse doesn’t make by default backups.
PD: i still have access to the computer by a user that i created to test the ftp, could i just delete the main user, change the name to the test one and keep using it as normal? I’m really desperate right know…
Thanks in advance
Check that you own all files in your home directory, especially in ~/.kde4, and that the directories are writable.
ls -la ~/.kde4
Btw, you can choose a different desktop session on the login screen (press on the wrench or gear symbol). IceWM f.e. should be available and still work.
On 2013-12-11 01:06, qdsk wrote:
>
> Hi everyone,
> I’m pretty new at OpenSUSE and I have just had my first big problem: i
> can’t log in with my account, as when trying to log in it brings up an
> error saying “cannot enter home directory, Using /.” and right after
> another error is brought up saying “call to lnusertemp failed
> (temporary directories full ?).Check your installation”.
There are two errors. The first one is that for some reason the system
can not use your home. Then it tries to use “/” instead, which fails
because it has no permissions there, so you get the second error, which
is thus irrelevant.
> If tried all kind of
> sudo chmod 777 /var/tmp
> etc comands on the web, all the people with this problem I found seemed
> to solve the problem with this but its not my case.
> What can i do? I don’t know what else to do, i though about restoring it
> but opensuse doesn’t make by default backups.
Undo all you did? Then we try.
Backup your files somewhere and reinstall?
Create new user? Dangerous if you can not undo all the things you did
following unknown advice on internet.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
Check that you own all files in your home directory, especially in ~/.kde4, and that the directories are writable.
Code:
ls -la ~/.kde4
Btw, you can choose a different desktop session on the login screen (press on the wrench or gear symbol). IceWM f.e. should be available and still work.
I’ll try this command and tell you what it brings up.
I hope you took notes on all these sort of things you did to wreck your system. And even then it will be difficult to repair them.
Migth this have been the problem…? I wanted to make my home folder visible to my other computer…:S
There are two errors. The first one is that for some reason the system can not use your home. Then it tries to use “/” instead, which fails because it has
no permissions there, so you get the second error, which is thus irrelevant.
Thanks for identifying my error, at least its a place where to start searching for the answer
Undo all you did? Then we try.
Backup your files somewhere and reinstall?
Create new user? Dangerous if you can not undo all the things you did
following unknown advice on internet.
I’m a linux noob user and I yet don’t know to revert the changes I made…
I still hadn’t looked for backing up options, i though that openSUSE automaticaly made control points as windows or some sort of backing up copy.
I don’t know what it can be done to solve the problem, i though that maybe it could be created a user and just asign the home folder of the other
user and work as nothing happened.
Yes, that was exactly your mistake, if “username” was your username.
Now your home directory is owned by newuser, not you.
To revert that you should run:
The site he consulted is apparently about: Setup FTP Server On openSUSE 13.1
And he also explains he installed vfsftpd.
He also somewhere states: I wanted to make my home folder visible to my other computer…
Yes, that was exactly your mistake, if “username” was your username.
Now your home directory is owned by newuser, not you.
To revert that you should run:
Code:
chown username:users /home/username/
I did log in to the new account and as root user execute this command with my username but when loging out and trying with my normal username it
brought again the same error message of “Cannot enter home directory. Using/.”, i though that would be the solution but wasn’t…
I was really dump of writting that command thinking it would do another thing without having looked up what was for…
That site told you to do that? Wow.
The place didn’t tell me that, I guessed it would be the command to show in the ftp directory to other computers the folder I wanted to see, that was the home folder… For my bad, I guessed wrong :S
Looks like he is a bit lost
I am, I’m sorry for disturbing you all because of a stupid thing that I though, i have learned the lesson for the next time ^^
If I can’t make it work again I think i will reinstall the SO :S
> I am, I’m sorry for disturbing you all because of a stupid thing that I
> though, i have learned the lesson for the next time ^^
> If I can’t make it work again I think i will reinstall the SO :S
We are not disturbed
Well, installing fresh at this point is a quick method of repairing it
all, because you don’t have files to lose.
Just ask us what you want to do with vsftp, because it is far easier
than what you are doing.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
As Carlos said, we are not disturbed. The only thing is we do not realy understand what you want to achieve. You only came to us us after you borked things by using some commands without realy knowing what you were doing.
Best thing is first to tell us what you want to achieve. Then we can offer you one or more technical solutions. When there is more then one solution we can discuss the pros and cons and then you can decide which one you want to implement. And the we can try to help you implementing it.
But as said, first and for all we must understand what you want. And that is not allways easy because there may be language barriers and there may be misunderstnadings about things you think are obvious, but which are not to others. Thus explain as good as you can and do not guess that we, Unix/Linux guys will use the same terms as Windows oriented people.
I could finally fix it!!!
I don’t know why, when doing the command
chown username:users /home/username/
it didn’t change from user, I found a command to look up the permissions of the home folder and they were still owned by the tester account with
ls -ld /home
, so i did
chown -R username:users /home
, i don’t know what the -R does but it was another forum post said, and it worked!!! I don’t know if i really solved the problem or just make a “path” and maybe later I have other problems because of this, but right know it works that is what i needed!!
Really thanks all of you, i couldn’t have done without your help lol!
I wanted to connect via ftp my desk computer (OpenSUSE) with my OS X laptop, and I saw at the web that it was needed an FTP server that was not already installed, so I did everything on the website that I posted before of setting up the svftp server and I guessed (bad guess again :)) from what he was doing that only users from the group ftp-users could access to the FTP server and that the only thing i could do to see my user folders on my Mac was to give permissions to the ftp-user. My bad, did what i did and I left my main user without home xD. Now I know that i was wrong and I can actually sing in to the ftp server from my mac with my normal user, and that there no need of using the ftp-user account for it.
I’m sorry, I’m not used to ask, if i can i search and do it all by myself, and then later when i break everything and I don’t see future, I come desperate to all of you hoping someone can help me, and you did!!!
I’m so grateful, really, thanks for everything
> Code:
> --------------------
> chown -R username:users /home
> --------------------
> , i don’t know what the -R does but it was another forum post said,
Then read the manual!
man chown
It changes all files, recursively.
> and
> it worked!!! I don’t know if i really solved the problem or just make a
> “path” and maybe later I have other problems because of this, but right
> know it works that is what i needed!!
Well, you have changed the ownership for ALL files of ALL users. ALL the
users except that one will now have problems.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
I will, I didn’t know the man command was for “manual”, thanks for the tip. I’ll rectify what I did with this commands you wrote, thanks again for the help. I didn’t know either that root would have revoked permissions from /home by doing that, I though root was, like, “untouchable”, that just could do anything and had permission for everything.
I’ll read everything I can from man about OpenSUSE as soon as I’m able to, I’m just too busy with many other things right know and don’t have the time to read/learn/try things with OpenSUSE, but I’ll do when I can, thanks for everything.
The new user doesn’t have any home folder, it was created only for the use of ftp server, following the instructions of the FTP server Setup web, and the only folder that it owns is /srv/ftp.
I tried what you told me but when doing
chown -R username:users /home/username
and later
chown root:root /home
it just doesn’t work, gives me the same
error as at the start of “Using /.”. I tried using the command after having done the chown root but it still didn’t work, so I did again
chown username:users /home
. I hope it doesn’t
bring me problems anyway later on…