Sponsored Content
Full Discussion: X Server on AIX
Operating Systems AIX X Server on AIX Post 302200109 by dkranes on Wednesday 28th of May 2008 12:12:27 PM
Old 05-28-2008
I installed Xming. I tried using Putty t oset the display and test X and I got the following:

2 % setenv DISPLAY 10.15.197.157:0.0
3 % /usr/bin/X11/xclock

Xlib: connection to "10.15.197.157:0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: 10.15.197.157:0.0


Any ideas/Suggetsions?

Thank you

-David
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Acess to X server on AIX

Hello, I want to allow all users on my server (AIX 5.3) to have access to X server. If they export DISPLAY=localhost:0.0, they should be able do use X server on the same machine. What should I do to do it? I've read that I must create the /etc/X0.hosts file and place in it localhost. Would it be... (0 Replies)
Discussion started by: piooooter
0 Replies

2. AIX

X server on AIX 5.2

Hello, is it possible to connect to AIX with cygwin/X? I have the AIX CDE 1.0 installed but am unable to connect to the CDE from my windows machine via cygwin. I have a Red Hat server that I can connect to and get the GNOME desktop from cygwin. Is there a certain process or subsystem that needs... (2 Replies)
Discussion started by: zuessh
2 Replies

3. AIX

loopback in 4.1.4.0 AIX server

Hi: I´ve a problem in a 4.1.4.0 AIX server because is generating a loopback in its own ip address and this are consuming all the bandwidth. I did many things trying to solve the problem but it doesn´t help. 1. Flush Routing tables 2. Get Up/Down Network interface 3. Add/remove Network... (0 Replies)
Discussion started by: terron79
0 Replies

4. AIX

Aix Server Restarted

Hi, I want to know how can we come to know who has system rebooted, I have given the command last but it showing the last user has login and logout after some time,but reboot command is showing after 10 mins,how can we trace that it is automatically rebooted or rebooted by some person, (2 Replies)
Discussion started by: manoj.solaris
2 Replies

5. AIX

Moving to new AIX server

Hello everybody, I am going to move to new AIX server and the question is how to correctly and painless move the whole configuration? I mean for example users, network, and - what is very important - the whole printer system configuration? I think users are simple to move - only /etc/passwd and... (1 Reply)
Discussion started by: Yac
1 Replies

6. AIX

Transferring files from one AIX server to another AIX server in binary mode

Hi, I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that? Thanks, Rakesh (4 Replies)
Discussion started by: rakeshc.apps
4 Replies

7. AIX

AIX Server

Hello Everyone, I am looking for material or videos on how to build an AIX server from scratch i.e from starting. If anybody has it please let me know. I want to learn building aix servers. Thanks, sameer (2 Replies)
Discussion started by: sameer_224
2 Replies

8. Shell Programming and Scripting

Send email from sendmail on AIX using exchange server as SMTP server

i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies

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

10. AIX

How to ssh from an AIX OS server to a Fabric OS server without password?

Hi I'd like to ssh from an AIX OS server ( v5.3) to a Fabric OS server ( v6.1.2 ) without password. I tried using dsa or rsa keys but it didn't work, the aix server still asked for the password. Somebody help, please :(:(:( (8 Replies)
Discussion started by: bobochacha29
8 Replies
XOpenDisplay(3) 						  XLIB FUNCTIONS						   XOpenDisplay(3)

NAME
XOpenDisplay, XCloseDisplay - connect or disconnect to X server SYNTAX
Display *XOpenDisplay(char *display_name); int XCloseDisplay(Display *display); ARGUMENTS
display Specifies the connection to the X server. display_name Specifies the hardware display name, which determines the display and communications domain to be used. On a POSIX-conformant system, if the display_name is NULL, it defaults to the value of the DISPLAY environment variable. DESCRIPTION
The XOpenDisplay function returns a Display structure that serves as the connection to the X server and that contains all the information about that X server. XOpenDisplay connects your application to the X server through TCP or DECnet communications protocols, or through some local inter-process communication protocol. If the hostname is a host machine name and a single colon (:) separates the hostname and display number, XOpenDisplay connects using TCP streams. If the hostname is not specified, Xlib uses whatever it believes is the fastest transport. If the hostname is a host machine name and a double colon (::) separates the hostname and display number, XOpenDisplay connects using DECnet. A single X server can support any or all of these transport mechanisms simultaneously. A particular Xlib implementation can support many more of these transport mechanisms. If successful, XOpenDisplay returns a pointer to a Display structure, which is defined in <X11/Xlib.h>. If XOpenDisplay does not succeed, it returns NULL. After a successful call to XOpenDisplay, all of the screens in the display can be used by the client. The screen number specified in the display_name argument is returned by the DefaultScreen macro (or the XDefaultScreen function). You can access elements of the Display and Screen structures only by using the information macros or functions. For information about using macros and functions to obtain information from the Display structure, see section 2.2.1. The XCloseDisplay function closes the connection to the X server for the display specified in the Display structure and destroys all win- dows, resource IDs (Window, Font, Pixmap, Colormap, Cursor, and GContext), or other resources that the client has created on this display, unless the close-down mode of the resource has been changed (see XSetCloseDownMode). Therefore, these windows, resource IDs, and other resources should never be referenced again or an error will be generated. Before exiting, you should call XCloseDisplay explicitly so that any pending errors are reported as XCloseDisplay performs a final XSync operation. XCloseDisplay can generate a BadGC error. SEE ALSO
AllPlanes(3), XFlush(3), XSetCloseDownMode(3) Xlib - C Language X Interface X Version 11 libX11 1.5.0 XOpenDisplay(3)
All times are GMT -4. The time now is 02:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy