How to set up remote X Windows on AIX ?


 
Thread Tools Search this Thread
Operating Systems AIX How to set up remote X Windows on AIX ?
# 8  
Old 07-22-2014
Quote:
Originally Posted by bakunin
What does "xauth list" say when executed on the Windows machine?
C:\Windows\system32>xauth list
'xauth'not recognized as an internal or external command,
operable program or batch file.
Quote:
Originally Posted by bakunin
Where did you set the "DISPLAY"-variable? Windows-machine? AIX-machine?
in Aix machine , I did :
Code:
export DISPLAY=windows_IP:0.0

Quote:
Originally Posted by bakunin
What exactly did you do to "add AIX to access control list"? Where did you do that? ....
Control panel > Windows Firewall > Advanced Settings (in the left side panel).
In the left panel, choose Inbound or Outbound rules.
Right panel, click New rule.
In the dialog, choose "custom".
In the left again, go to "Scope." and I added my_Aix_IP

any ideas ?
# 9  
Old 07-22-2014
Hi,

sorry few questions.

Does it just say:

Code:
1356-364 xauth:  creating new authority file

anything else?

it should have created a file called: .Xauthority in your home directory.

if you close putty and re-open using the x11 settings mentioned you should see something like this:

Code:
<server>/unix:11  MIT-MAGIC-COOKIE-1  8f038f0e4185f5719f7d418b92e7aee5

can you try it again? also using the settings in x11 in putty if you get that message can you execute this command on the client?

Code:
echo $DISPLAY
mine shows this: localhost:11.0

I agree with bakunin, this could possibly be a firewall issue, but I'm also suspecting a putty configuration issue.

under x11 ensure x11 forwarding is enabled. display location is : localhost:0

Authentication protocol: MIT-Magic-cookie-1

I found this link you may want to try it.

http://www.geo.mtu.edu/geoschem/docs/putty_install.html
# 10  
Old 07-22-2014
OK, this clears some points:

Quote:
Originally Posted by SteAlma
Code:
C:\Windows\system32>xauth list
'xauth'not recognized as an internal or external command,
operable program or batch file

It seems that "xauth" is not installed or not in the path. Maybe in the XMing server you said you are using the tool is named differently or there is some dialog, ... I have no idea, because i have not used XMing. You will have to be creative or ask a Windows expert (i am glad to say i do not have to work with this OS). The "xauth" tool allows/disallows the X-clients (XTerm, XClock, ...) from certain hosts to use the resources of the local X-server (i.e. display their window on the screen provided and managed by the X-server). Search for something like "authentication" or so and probably you will find it.

Quote:
Originally Posted by SteAlma
in Aix machine , I did :
Code:
export DISPLAY=windows_IP:0.0

Good. This tells the starting X-client which server it should (try to) utilise. techy1 has a point here, it might be that with firewall redirections, etc., you need to use "localhost" instead of your IP address, because the traffic is tunnelled and the tunnel comes out at 127.0.0.1.


Quote:
Originally Posted by SteAlma
Control panel > Windows Firewall > Advanced Settings (in the left side panel).
This is definitely the wrong place to do it. X-server authentication has nothing to do with firewall rules. It is part of the configuration of the application. See above, you should check the programs installed with this XMing product you mentioned. It should be configured there.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. UNIX for Advanced & Expert Users

DOS/VB script of Remote Windows Server from AIX

Hi We use to run DOS and VB script in Windows Server . Now the requirement is to trigger the same script from AIX server by shell script , thus it would be executed in Remote Windows Server . Is it possible ( though SSH or any other way ) ? Thanks (2 Replies)
Discussion started by: Sourajit Seth
2 Replies

3. Shell Programming and Scripting

Using Perl to explore recursively remote windows path from AIX

Hi all, I am using Perl 5.8.8 on an Aix 6.1.0.0 to script a program which will retrieve files recursively on a remote Windows 2003 server and copy some of them on my Aix server. MobaSSH is installed on that windows server. When I used scp on the command line, it works fine, but not in a... (2 Replies)
Discussion started by: Fundix
2 Replies

4. AIX

Will it affect my AIX LPAR security, when i set up email alerts on AIX server.

Hello, I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior. for example 1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert. 2) disk usage alerts 3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies

5. Shell Programming and Scripting

How to login with other set of credentials while remote logging?

Below is the code. I need to login into the router if the 1st set of credentials are correct.. if wrong... then it has to check with 2nd set of credentials.. => if the credentials are correct... then it should continue.. => if the credentials are wrong(should not check for 2nd time... then... (0 Replies)
Discussion started by: scriptscript
0 Replies

6. Shell Programming and Scripting

shellscript on AIX to download file from windows to AIX

i require the shell script that is running on the AIX to download a file from Windows desktop to the location where the shell script resides onthe AIX system. I have used the below code: but it throwing the error as below.please help me at the earliest to resolve the issue. error message :... (1 Reply)
Discussion started by: kvkc
1 Replies

7. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

8. AIX

Unable to set remote printer in AIX

Hi all, I am a beginner in AIX. I am facing a problem with remote printing in AIX. HP laser jet 1320 printer is connected to a printer server (PCI Mini - 100U3), which is configured as remote printer from AIX server. But I am not able to print from the AIX server by using "lp -d... (0 Replies)
Discussion started by: Rainy
0 Replies

9. UNIX for Dummies Questions & Answers

set variables on remote system

Hi, I try to run a script on remote systems with ssh it should execute a command, read values from stdout, use it as input for a loop and works with this variable on remote system but the variable isn't working, I guess because export, echo , or the loop itself are shell builtins and not... (2 Replies)
Discussion started by: funksen
2 Replies

10. AIX

Do I need to remote after installation of s/w and set the env variable

Hi, I have installed ODWEK software on AIX box and set the environment variables like: PATH,LIBPATH,LD_LIBRARY_PATH,CLASSPATH. My question here is do I need to reboot the system to take these changes or is there anyother workaround. I heard that there is 'export'. But I don't know how far it... (1 Reply)
Discussion started by: srangu
1 Replies
Login or Register to Ask a Question