X11 auth data does not match fake data


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers X11 auth data does not match fake data
# 1  
Old 08-15-2008
Network X11 auth data does not match fake data

We have different unix servers, let say I have server 1 and server 2.
Well whenever I ssh from server 1 to server 2, I'm ok, but when I ssh from server 2 to server 1, I can connect just fine, but I get this message:
X11 auth data does not match fake data
X11 auth data does not match fake data
X11 auth data does not match fake data
X11 auth data does not match fake data
X11 auth data does not match fake data

and I would have to hit ctrl+c to stop it, this come up at the command prompt. I checked in my ssh2_config file under /etc and made sure that X11 display forwarding is enabled. This has been bugging me for a while and I don't know what to do.

Help.
# 2  
Old 08-15-2008
- SSH might not be setup for X11 (not a problem with BIC systems)
o To check ssh the following command should output "ForwardX11 yes"
Code:
grep X11 /etc/ssh/ssh_config

- If you change user, 'su' will cause problem with keys.
o
Code:
su username

vs.
Code:
su - username

- The '-', this will load username's environment clearing anything you had previously set.

o To fix this you must know what display you are using and get the proper xauthkeys

Code:
hostname
ubuntu

echo $DISPLAY
localhost:17.0

% xauth list | grep yorick/unix:17
ubuntu/unix:17  MIT-MAGIC-COOKIE-1  628d00dc1de8b7f60cec68d44fca01f5

- Once you have this information you can then su to the other user.
Code:
su - username
Password:

% echo $DISPLAY
DISPLAY: Undefined variable.

% setenv DISPLAY localhost:17.0

% xauth add ubuntu/unix:17  MIT-MAGIC-COOKIE-1  628d00dc1de8b7f60cec68d44fca01f5


- nilesh
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Data match 2 files based on first 2 columns matching only and join if match

Hi, i have 2 files , the data i need to match is in masterfile and i need to pull out column 3 from master if column 1 and 2 match and output entire row to new file I have tried with join and awk and i keep getting blank outputs or same file is there an easier way than what i am... (4 Replies)
Discussion started by: axis88
4 Replies

2. Shell Programming and Scripting

Match and extract data using two files

Hello, Using the information in file 1, I would like to extract from file2 all rows which matchs in column 3. file 1 1233 1230 1231 1232 file2 65733.00 19775.00 1220 65733.00 19793.00 1220 65733.00 19801.00 1220 65733.00 19809.00 1231 65733.00 19817.00 ... (2 Replies)
Discussion started by: jiam912
2 Replies

3. Shell Programming and Scripting

Compare 2 files and match column data and align data from 3 column

Hello experts, Please help me in achieving this in an easier way possible. I have 2 csv files with following data: File1 08/23/2012 12:35:47,JOB_5330 08/23/2012 12:35:47,JOB_5330 08/23/2012 12:36:09,JOB_5340 08/23/2012 12:36:14,JOB_5340 08/23/2012 12:36:22,JOB_5350 08/23/2012... (5 Replies)
Discussion started by: asnandhakumar
5 Replies

4. Shell Programming and Scripting

Match word and put data before it

Hi all I have 7 words ina file called "lookupfile" CAD CD HT RA T1D T2D BD in other file I have data like this in which columns are seaprated by comma but the names among above seven names are in one column menas comma between these seven words doesnt mean that they are separated by... (9 Replies)
Discussion started by: manigrover
9 Replies

5. Shell Programming and Scripting

Match same file column data

File A B07 U51C 4434 L662C 4412 B07 L64U 612 L651B 4434 B07 L11C 4434 R151B 4434 B05 L12Z 612 L51B 4434 B01 651Z 612 L651C 4434 B04 A51Z 612 L51A 4434 L07 B08D 4434 B1B 4434 B07 RU8D 4434 L51A 4434 B07 L58D 4434 B51C 4434 B07 LA8D 4434 L4B 4434 Now i want File B Output B07... (2 Replies)
Discussion started by: asavaliya
2 Replies

6. SCO

sco wont log auth data

Hi, I am using /etc/syslog.conf: *.debug /usr/adm/syslog *.* @remote-host This setting doesn't record user login information. Every time I do logger test 1 logger test 2It gets recorded just fine. Any ideas? (1 Reply)
Discussion started by: polestar
1 Replies

7. Shell Programming and Scripting

How to replace match data in 2 file.

How to replace match data in 2 file. to new file My log.txt (100,000 line) 11415304503฿90255050001฿3฿23/02/2009 13:12:38฿17/04/2009 13:04:59฿27/03/2009 4:13:54 11494069063฿90259730001฿3฿27/10/2008 13:14:21฿02/11/2009 14:34:01฿09/10/2009 4:13:26 11497298316฿90825970008฿5฿29/03/2009... (5 Replies)
Discussion started by: ooilinlove
5 Replies

8. Shell Programming and Scripting

Extract data based on match against one column data from a long list data

My input file: data_5 Ali 422 2.00E-45 102/253 140/253 24 data_3 Abu 202 60.00E-45 12/23 140/23 28 data_1 Ahmad 256 7.00E-45 120/235 140/235 22 data_4 Aman 365 8.00E-45 15/65 140/65 20 data_10 Jones 869 9.00E-45 65/253 140/253 18... (12 Replies)
Discussion started by: patrick87
12 Replies

9. Shell Programming and Scripting

Find out the match data content?!

Hi, Long list of Input file1 content: 1285_t 4860_i 4817_v 8288_c 9626_a . . . Long list of Input file2 content: 1285_t chris germany 8288_c steve england 9626_a dave swiss 9260_s stephanie denmark . . . (14 Replies)
Discussion started by: patrick87
14 Replies
Login or Register to Ask a Question