Sponsored Content
Operating Systems AIX How to set up remote X Windows on AIX ? Post 302910076 by bakunin on Tuesday 22nd of July 2014 09:55:03 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
XAUTH(1)						      General Commands Manual							  XAUTH(1)

NAME
xauth - X authority file utility SYNOPSIS
xauth [ -f authfile ] [ -vqibn ] [ command arg ... ] DESCRIPTION
The xauth program is used to edit and display the authorization information used in connecting to the X server. This program is usually used to extract authorization records from one machine and merge them in on another (as is the case when using remote logins or granting access to other users). Commands (described below) may be entered interactively, on the xauth command line, or in scripts. Note that this program does not contact the X server except when the generate command is used. Normally xauth is not used to create the authority file entry in the first place; xdm does that. OPTIONS
The following options may be used with xauth. They may be given individually (e.g., -q -i) or may combined (e.g., -qi). -f authfile This option specifies the name of the authority file to use. By default, xauth will use the file specified by the XAUTHORITY envi- ronment variable or .Xauthority in the user's home directory. -q This option indicates that xauth should operate quietly and not print unsolicited status messages. This is the default if an xauth command is given on the command line or if the standard output is not directed to a terminal. -v This option indicates that xauth should operate verbosely and print status messages indicating the results of various operations (e.g., how many records have been read in or written out). This is the default if xauth is reading commands from its standard input and its standard output is directed to a terminal. -i This option indicates that xauth should ignore any authority file locks. Normally, xauth will refuse to read or edit any authority files that have been locked by other programs (usually xdm or another xauth). -b This option indicates that xauth should attempt to break any authority file locks before proceeding. Use this option only to clean up stale locks. -n This option indicates that xauth should not attempt to resolve any hostnames, but should simply always print the host address as stored in the authority file. COMMANDS
The following commands may be used to manipulate authority files: add displayname protocolname hexkey An authorization entry for the indicated display using the given protocol and key data is added to the authorization file. The data is specified as an even-lengthed string of hexadecimal digits, each pair representing one octet. The first digit of each pair gives the most significant 4 bits of the octet, and the second digit of the pair gives the least significant 4 bits. For example, a 32 character hexkey would represent a 128-bit value. A protocol name consisting of just a single period is treated as an abbre- viation for MIT-MAGIC-COOKIE-1. generate displayname protocolname [trusted|untrusted] [timeout seconds] [group group-id] [data hexdata] This command is similar to add. The main difference is that instead of requiring the user to supply the key data, it connects to the server specified in displayname and uses the SECURITY extension in order to get the key data to store in the authorization file. If the server cannot be contacted or if it does not support the SECURITY extension, the command fails. Otherwise, an autho- rization entry for the indicated display using the given protocol is added to the authorization file. A protocol name consisting of just a single period is treated as an abbreviation for MIT-MAGIC-COOKIE-1. If the trusted option is used, clients that connect using this authorization will have full run of the display, as usual. If untrusted is used, clients that connect using this authorization will be considered untrusted and prevented from stealing or tam- pering with data belonging to trusted clients. See the SECURITY extension specification for full details on the restrictions imposed on untrusted clients. The default is untrusted. The timeout option specifies how long in seconds this authorization will be valid. If the authorization remains unused (no clients are connected with it) for longer than this time period, the server purges the authorization, and future attempts to connect using it will fail. Note that the purging done by the server does not delete the authorization entry from the authorization file. The default timeout is 60 seconds. The group option specifies the application group that clients connecting with this authorization should belong to. See the appli- cation group extension specification for more details. The default is to not belong to an application group. The data option specifies data that the server should use to generate the authorization. Note that this is not the same data that gets written to the authorization file. The interpretation of this data depends on the authorization protocol. The hexdata is in the same format as the hexkey described in the add command. The default is to send no data. [n]extract filename displayname... Authorization entries for each of the specified displays are written to the indicated file. If the nextract command is used, the entries are written in a numeric format suitable for non-binary transmission (such as secure electronic mail). The extracted entries can be read back in using the merge and nmerge commands. If the filename consists of just a single dash, the entries will be written to the standard output. [n]list [displayname...] Authorization entries for each of the specified displays (or all if no displays are named) are printed on the standard output. If the nlist command is used, entries will be shown in the numeric format used by the nextract command; otherwise, they are shown in a textual format. Key data is always displayed in the hexadecimal format given in the description of the add command. [n]merge [filename...] Authorization entries are read from the specified files and are merged into the authorization database, superceding any matching existing entries. If the nmerge command is used, the numeric format given in the description of the extract command is used. If a filename consists of just a single dash, the standard input will be read if it hasn't been read before. remove displayname... Authorization entries matching the specified displays are removed from the authority file. source filename The specified file is treated as a script containing xauth commands to execute. Blank lines and lines beginning with a sharp sign (#) are ignored. A single dash may be used to indicate the standard input, if it hasn't already been read. info Information describing the authorization file, whether or not any changes have been made, and from where xauth commands are being read is printed on the standard output. exit If any modifications have been made, the authority file is written out (if allowed), and the program exits. An end of file is treated as an implicit exit command. quit The program exits, ignoring any modifications. This may also be accomplished by pressing the interrupt character. help [string] A description of all commands that begin with the given string (or all commands if no string is given) is printed on the standard output. ? A short list of the valid commands is printed on the standard output. DISPLAY NAMES
Display names for the add, [n]extract, [n]list, [n]merge, and remove commands use the same format as the DISPLAY environment variable and the common -display command line argument. Display-specific information (such as the screen number) is unnecessary and will be ignored. Same-machine connections (such as local-host sockets, shared memory, and the Internet Protocol hostname localhost) are referred to as host- name/unix:displaynumber so that local entries for different machines may be stored in one authority file. EXAMPLE
The most common use for xauth is to extract the entry for the current display, copy it to another machine, and merge it into the user's authority file on the remote machine: % xauth extract - $DISPLAY | rsh otherhost xauth merge - The following command contacts the server :0 to create an authorization using the MIT-MAGIC-COOKIE-1 protocol. Clients that connect with this authorization will be untrusted. % xauth generate :0 . ENVIRONMENT
This xauth program uses the following environment variables: XAUTHORITY to get the name of the authority file to use if the -f option isn't used. HOME to get the user's home directory if XAUTHORITY isn't defined. FILES
$HOME/.Xauthority default authority file if XAUTHORITY isn't defined. BUGS
Users that have unsecure networks should take care to use encrypted file transfer mechanisms to copy authorization entries between machines. Similarly, the MIT-MAGIC-COOKIE-1 protocol is not very useful in unsecure environments. Sites that are interested in additional security may need to use encrypted authorization mechanisms such as Kerberos. Spaces are currently not allowed in the protocol name. Quoting could be added for the truly perverse. AUTHOR
Jim Fulton, MIT X Consortium X Version 11 xauth 1.0.3 XAUTH(1)
All times are GMT -4. The time now is 08:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy