Sponsored Content
Top Forums UNIX for Dummies Questions & Answers xWindows error: xhost unable to open display Post 302550635 by shoefiend on Friday 26th of August 2011 02:24:31 PM
Old 08-26-2011
Bug xWindows error: xhost unable to open display

I am trying to direct a AIX display to my XWindows and I am at a dead end now!
So this what I've done so far:

1. In putty settings, I set "Enable X11 forwarding" and also set "X diplay location" to "localhost:0" (without quotes, of course)

2. Via putty, connected to my AIX server
3. On AIX, forwarded display to my Windows box
$ export DISPLAY=<ip address of Windows>:0

Meanwhile, I opened MobaXTerm.exe on my Windows machine
$ ssh username@AIX_host_name

On AIX:
$ xclock
Xlib: connection to "<Windows IP address>:0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: <Windows IP Address>:0

On Windows: tried looking for listener
$ ps -ef | grep listen
root 364732 1 0 Aug 21 - 0:00 /usr/bin/cimlistener

Then tried setting the Windows to be a host to AIX box:
$ xhost <IP Address of AIX box>
1356-200 xhost unable to open display ""

What more to do?


---------- Post updated at 02:24 PM ---------- Previous update was at 12:07 PM ----------

Er.. looks like the various XWindows clients I was trying out were all clashing with one another.

I was trying both XMing and MobaXTerm. Finally noticed that XMing server was still running in the background even though I thought I'd exited XMing.

The following steps in same order worked:
1. Exited XMIng server

2. Connected to AIX server using MobaXTerm
$ ssh username@ServerName

3. In Putty settings, enable X11 Forwarding and set display to localhost:0
(google for this. I am unable to post links as Im a new forum memeber)

4. Connect to AIX using putty
5. Set display to IP address of Windows machine that is running MobaXTerm:
$ echo $DISPLAY

$export DIPSLAY=<ip address of Windows machine>:0

6. Test with a comamnd like xclock. If everything is right, it should display the clock on the windows machine
$ xclock

Last edited by shoefiend; 08-26-2011 at 03:25 PM.. Reason: Resolved the problem myself
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

PCC-F-NOERRFILE, unable to open error message file, facility PR2

I am trying to build a tuxedo server which in turn depends on several Pro*C programs. I am doing it on HP-UX system. It looks to me that the ORACLE_HOME is set properly. But I am getting error message when trying to build. PCC-F-NOERRFILE, unable to open error message file, facility PR2 exit... (1 Reply)
Discussion started by: asutoshch
1 Replies

2. Post Here to Contact Site Administrators and Moderators

Unable to open thread

I am unable to open the mimesender thread. I get the following message when clicking on https://www.unix.com/showthread.php?p=33233#post33233 : (2 Replies)
Discussion started by: dangral
2 Replies

3. UNIX for Dummies Questions & Answers

xhost: unable to open display????

I am a dba, not an sa, that recently had to take over administering an HP-UX server. Needless to say I am not in a comfortable area, but found out that of all people I am the most knowledgeable on unix here .... scary thought I know. I am having troubles exporting my display to a Windows XP... (5 Replies)
Discussion started by: soestx
5 Replies

4. UNIX for Advanced & Expert Users

xhost unable to open display

I am trying to install ORACLE 10g database on HP-UNIX 11.11 I am running OUI runinstaller from exceed terminal from windows PC. I have set DISPLAY=IPAddress of PC:0.0 When installer starts it is giving me error of display (5 Replies)
Discussion started by: ymg
5 Replies

5. AIX

Unable to launch xwindows from aix ?

Unable to launch xwindows from aix box ..No clue whats wrong .Help me out how to debug this issue ? export DISPLAY=ipadress:port.sessionid then try launching application ... I am getting error can't display thanks, kittu (1 Reply)
Discussion started by: kittu1979
1 Replies

6. Shell Programming and Scripting

PCC-F-NOERRFILE, unable to open error message file

Hi, I was compiling few C programs in the unix server and getting the following error message rm: /home/a0xxx28/AVT/SEEDLIBRARYDB/LIB/*.a non-existent proc MODE=ANSI CODE=ANSI_C INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARYDB/INCLUDE INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARY/INCLUDE ... (1 Reply)
Discussion started by: kavithakuttyk
1 Replies

7. Red Hat

Error: Can't open display: :0.0

Hi, I get errors while running xclock from a non root user: # xclock --- this works fine # su - girish $ DISPLAY=:0.0; export DISPLAY $ xclock Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: Can't open display: :0.0 $ I basically want to... (4 Replies)
Discussion started by: girish1428
4 Replies

8. Solaris

Unable to open Crontab

Hi, I have 2 solaris server. I can able to open to see cron entry by using crontab -l in one of the server. I cant able to open another server. How to check if crontab is fixed in that server. If not then how to make a crontab in that server. Please advice. Thanks, Mani ----------... (1 Reply)
Discussion started by: Mani_apr08
1 Replies

9. Ubuntu

Unable display txt file.

Hello, I am unable to display downloaded file from unbunto. its says cat filename no file and directory but file is there. i saved file on desktop. i am using vmware players . could you please help to with the command. THANK YOU (8 Replies)
Discussion started by: raz33
8 Replies

10. AIX

Cannot open xwindows/xterm as a root

disabled the direct root login on all the AIX LPARs. So' only can become root by "su" to root from normal/regular user account. Issue is, I cannot open xwindows (xterm or xming) from my LPAR as a root. But I can open/access Xwindows using a USER account. />xclock Error: Can't open... (9 Replies)
Discussion started by: system.engineer
9 Replies
Xserver(1)						      General Commands Manual							Xserver(1)

NAME
X - X Window System display server dispatcher SYNOPSIS
X [ option ...] DESCRIPTION
: Hewlett-Packard supports two X servers on HP-UX platforms, the Xhp X server which supports HP VISUALIZE graphics devices and the Xf86 X server which supports all other graphics devices. These X servers are delivered as /usr/bin/X11/Xhp and /usr/bin/X11/Xf86. The X dispatcher determines which X server to launch based on the available graphics devices. The control file /etc/X11/Xstart can provide additional guidance to the X dispatcher. The control file allows the user to specify which X server to start for given display connection numbers. The only X servers supported by the X dispatcher are Xhp, Xf86 and Xvfb. If no Xstart file exists, the dispatcher loads the appropriate X server for the graphics device in the system. HP-UX does not deliver the /etc/X11/Xstart file. This file can be created by using the SAM/SMH utility. OPTIONS
If the X dispatcher is invoked with no arguments, the display connection is assumed to be :0. The X dispatcher checks for display connec- tion options and, if found, uses that display connection number when it checks the Xstart file. All other options are passed on to the X server when it is started and it is the X server's responsibility to validate these options. Not all options may be supported on both X servers; refer to Xhp(1) and Xf86(1) to verify supported options for each X server. RETURN VALUE
None Xstart EXAMPLES The control file syntax is the X server to start followed by the display connection number. Valid entries take the form of: Xhp :0 Start the Xhp X server on display connection 0 Xf86 :10 Start the Xf86 X server on display 10 /usr/bin/X11/Xhp :5 Start the Xhp X server on display connection 5 /usr/bin/X11/Xvfb :7 Start the X Virtual Framebuffer server on display connection 7 FILES
/etc/X11/Xstart Dispatcher control file. /var/X11/Xserver/logs/Xstartup.N.log X dispatcher log file for display N. SEE ALSO
X(1), Xhp(1), Xf86(1) STANDARDS CONFORMANCE
See the appropriate section in Xhp(1) or Xf86(1). Xserver(1)
All times are GMT -4. The time now is 05:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy