Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > What is .Xauthority in home directory?

What is .Xauthority in home directory?
Thread Tools
Senior User
Join Date: Sep 2000
Location: Noo Yawk
Status: Offline
Reply With Quote
Jan 10, 2004, 06:01 PM
 
AFAIK I haven't set up ssh authentication on this box -- anyone know what is the purpose of the file Xauthority in my home folder?
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
Jan 11, 2004, 01:26 AM
 
Originally posted by vsurfer:
AFAIK I haven't set up ssh authentication on this box -- anyone know what is the purpose of the file Xauthority in my home folder?
The $HOME/.Xauthority file is for storing X session cookies. Basically it makes it difficult to hijack someones remote X session with the server. See man Xsecurity and man xauth for more details.

When you log in via ssh to a machine that has X windows installed you can run X based applications on the remote machine and have them display locally on the client. For this to work you also need to have ForwardX11 set to yes on the remote host side in the /etc/ssh/ssh_config file (or wherever it is set on your system). This can be overridden with commandline options.
-DU-...etc...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:31 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2