-
You have no name!!!!!!
- Firefox is already running, but is not responding.
- Fatal server error Server is already active for display 0
- X11 connection rejected because of wrong authentication.
- WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
-
SSH without password
-
You have no name!!!!!!
Some times when you invoke your terminal, it prompts like
- Firefox is already running, but is not responding.
- Fatal server error Server is already active for display 0 When you get an error like
- X11 connection rejected because of wrong authentication. So the problem is explicit enough. The only way is changing the corrupted authentication. Here is the way of doing this:
- WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
-
SSH without password
SSH uses public-key cryptography to authenticate the remote computer and allow the remote computer to authenticate the user. Each time you login to a new (remote) machine, your host machine generates a new key in your .ssh/known_hosts file. So, the way to login to a remote machine without password is to put your key in that machine. Here is the stape by step instruction of doing that.
id: cannot find name for user ID ****
id: cannot find name for group ID ****
id: cannot find name for user ID ****
[I have no name!@machine1 ~]$
This happnes when you are an user in NIS domain and the server fails to bind NIS domain, i.e. your server fails to resolve your identity. The user ID & group ID are your identification to the server and permission.
To solve this problem, login as root and type
#service ypbind restart
You will see prompt like
Shutting down NIS services: [ OK ]
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server.
which will try to bind the client again, and your problem will be over. If ypbind fails, i.e. it shows [ FAILED ] in place of [ OK ], contact your system administrator. Its probably problem with server.
The heart of the matter is you can have only one session of firefox per profile; so unless you have to kill the firefox existing application you can't start a new one!!! But sometimes its harder then what it seems; for the session continues even you restart the machine; or even the command $ ps aux|grep firefox does not show any such process! The reason behind this is when you run a session, it protects that session by creating a file ".parentlock" and a broken symbolic link "lock" in your profile directory; and the link is still existing. So You can't use the profile.
The solution of this problem is surprisingly easy. Just remove this two file and you will be through.Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
This is display number(0, default) and you can't run two display in same system with identical display number. If you wan't to check if any xserver is really running, invoke ps aux | grep `cat /tmp/.X0-lock` and this will yeild an output
164:foo 7977 0.0 0.1 3928 760 pts/1 S+ 23:21 0:00 grep -i --colour -n 14847
foo is user's name, the person running that startx session.
To run your session, you have two option
1) become superuser and kill the the corresponding PID
2) or, in a better way, start a different X-session by invoking a command like
startx -- :1
to start a server with display 1(I will prefer this option).
enable SSHD as to start with the "-4" option. Amend the /etc/sysconfig/sshd file with OPTIONS="-4".
if you're using RedHat (or Fedora), please rename or remove /etc/ssh/sshrc.
make sure X11forwarding options are enabled in sshd_config and ssh_config under /etc/ssh.
As the most of the Linux error list, this also states quite simply what is going wrong. When you remotelogin to a system for the first time, it creates a RSA key for you. You must have seen the prompt like:
RSA key fingerprint is 6d:34:03:01:0c:fa:21:b5:22:2c:b0:c1:76:ee:ac:0f.
Are you sure you want to continue connecting (yes/no)?
Now if the remote mache is reinstalled/upgraded or simply formatted, the it will get a new identity, though the NAME or IP may remain the same. so when you try to ssh there again, the existing key of that machine that you have saved in your account does not matches the new one; hene your permission is blocked.
To solve the , just read the error message,
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
e3:70:bf:14:d7:59:85:fd:ed:f0:a7:44:f4:e7:e4:d0.
Please contact your system administrator.
Add correct host key in /home/whoeveriam/.ssh/known_hosts to get rid of this message.
Offending key in /home/whoeveriam/.ssh/known_hosts:1
RSA host key for snbpc04 has changed and you have requested strict checking.
Host key verification failed.
The necessary information is given here for you...Add correct host key in /home/whoeveriam/.ssh/known_hosts
Just remove the appropriate key from the .ssh/known_hosts file and you will be done
Assume your local login is a@A and want to login as b@B at machine B.
[a@A~]$ ssh-keygen -t rsa
this will ask for a passphrase, keep it empty. Now type:
[a@A~]$ cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
b@B's password: "your passwd in machine B for the last time!"
And you are done.