LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ssh & x11 problem (https://www.linuxquestions.org/questions/linux-networking-3/ssh-and-x11-problem-648699/)

paragkalra 06-11-2008 10:47 PM

ssh & x11 problem
 
Folks,

I am trying to ssh one of my network machine. I am facing follwing problem:

Quote:

# ssh 192.168.1.23

root@n4's password:

/usr/X11R6/bin/xauth: error in locking authority file /root/.Xauthority

-bash-3.00# exit
Here are the results in verbose mode:

Quote:

# ssh -v 192.168.1.23

<snip>
.
.
</snip>

debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
/usr/X11R6/bin/xauth: error in locking authority file /root/.Xauthority
-bash-3.00#
Any idea?

ramram29 06-11-2008 11:22 PM

Delete the .Xauthority file and try again.

paragkalra 06-11-2008 11:34 PM

Quote:

Delete the .Xauthority file and try again.
Is it safe to delete it?
Will it have any adverse effect on the concerned machine?
What is the cause of this problem or message?
What exactly does the "/root/.Xauthority" do?


All times are GMT -5. The time now is 12:27 PM.