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
xvfb-run(1)						      General Commands Manual						       xvfb-run(1)

NAME
xvfb-run - run specified X client or command in a virtual X server environment SYNOPSIS
xvfb-run [ options ] command DESCRIPTION
xvfb-run is a wrapper for the Xvfb(1x) command which simplifies the task of running commands (typically an X client, or a script containing a list of clients to be run) within a virtual X server environment. xvfb-run sets up an X authority file (or uses an existing user-specified one), writes a cookie to it (see xauth(1x)) and then starts the Xvfb X server as a background process. The process ID of Xvfb is stored for later use. The specified command is then run using the X dis- play corresponding to the Xvfb server just started and the X authority file created earlier. When the command exits, its status is saved, the Xvfb server is killed (using the process ID stored earlier), the X authority cookie removed, and the authority file deleted (if the user did not specify one to use). xvfb-run then exits with the exit status of command. xvfb-run requires the xauth command to function. OPTIONS
-a, --auto-servernum Try to get a free server number, starting at 99, or the argument to --server-num. -e file, --error-file=file Store output from xauth and Xvfb in file. The default is /dev/null. -f file, --auth-file=file Store X authentication data in file. By default, a temporary directory called xvfb-run.PID (where PID is the process ID of xvfb-run itself) is created in the directory specified by the environment variable TMPDIR (or /tmp if that variable is null or unset), and the tempfile(1) command is used to create a file in that temporary directory called Xauthority. -h, --help Display a usage message and exit. -n servernumber, --server-num=servernumber Use servernumber as the server number (but see the -a, --auto-servernum option above). The default is 99. -l, --listen-tcp Enable TCP port listening in the X server. For security reasons (to avoid denial-of-service attacks or exploits), TCP port listen- ing is disabled by default. -p protocolname, --xauth-protocol=protocolname Use protocolname as the X authority protocol to use. The default is '.', which xauth interprets as its own default protocol, which is MIT-MAGIC-COOKIE-1. -s arguments, --server-args=arguments Pass arguments to the Xvfb server. Be careful to quote any whitespace characters that may occur within arguments to prevent them from regarded as separators for xvfb-run's own arguments. Also, note that specification of '-nolisten tcp' in arguments may over- ride the function of xvfb-run's own -l, --listen-tcp option, and that specification of the server number (e.g., ':1') may be ignored because of the way the X server parses its argument list. Use the xvfb-run option -n servernumber, --server-num=servernumber to achieve the latter function. The default is '-screen 0 640x480x8'. -w delay, --wait=delay Ignored for compatibility with earlier versions. ENVIRONMENT
COLUMNS indicates the width of the terminal device in character cells. This value is used for formatting diagnostic messages. If not set, the terminal is queried using stty(1) to determine its width. If that fails, a value of '80' is assumed. TMPDIR specifies the directory in which to place xvfb-run's temporary directory for storage of the X authority file; only used if the -f or --auth-file options are not specified. OUTPUT FILES
Unless the -f or --auth-file options are specified, a temporary directory and file within it are created (and deleted) to store the X authority cookies used by the Xvfb server and client(s) run under it. See tempfile(1). If -f or --auth-file are used, then the specified X authority file is only written to, not created or deleted (though xauth creates an authority file itself if told to use use that does not already exist). An error file with a user-specified name is also created if the -e or --error-file options are specifed; see above. EXIT STATUS
xvfb-run uses its exit status as well as output to standard error to communicate diagnostics. The exit status of '1' is not used, and should be interpreted as failure of the specified command. 0 xvfb-run only uses this exit status if the -h, --help option is given. In all other situations, this may be interpreted as success of the specified command. 2 No command to run was specified. 3 The xauth command is not available. 4 The temporary directory that was going to be used already exists; since xvfb-run produces a uniquely named directory, this may indi- cate an attempt by another process on the system to exploit a temporary file race condition. 5 A problem was encountered while cleaning up the temporary directory. 6 A problem was encountered while using getopt(1) to parse the command-line arguments. EXAMPLES
xvfb-run --auto-servernum --server-num=1 xlogo runs the xlogo(1x) demonstration client inside the Xvfb X server on the first available server number greater than or equal to 1. xvfb-run --server-args="-screen 0 1024x768x24" ico -faces runs the ico(1x) demonstration client (and passes it the -faces argument) inside the Xvfb X server, configured with a root window of 1024 by 768 pixels and a color depth of 24 bits. Note that the demo X clients used in the above examples will not exit on their own, so they will have to be killed before xvfb-run will exit. BUGS
See the Debian Bug Tracking System <http://bugs.debian.org/xvfb>. If you wish to report a bug in xvfb-run, please use the reportbug(1) command. AUTHOR
xvfb-run was written by Branden Robinson and Jeff Licquia with sponsorship from Progeny Linux Systems. SEE ALSO
Xvfb(1x), xauth(1x) Debian Project 2004-11-12 xvfb-run(1)
All times are GMT -4. The time now is 04:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy