Sponsored Content
Full Discussion: Xhost and ILO
Top Forums UNIX for Advanced & Expert Users Xhost and ILO Post 302079525 by jimthompson on Tuesday 11th of July 2006 07:06:00 AM
Old 07-11-2006
Xhost and ILO

I have an application that requires me to disable the restricted access to the X Server libraries by issuing the 'Xhost +' command from a Console Window.

It is important that this command is run from the Console Window and not a Terminal Window otherwise the system complains that DISPLAY is not set. If I set the DISPLAY to my IP:0.0 to allow the X Window to open, then the disabling of the restricted access to the X server libraries appears to only be effective for that particular X session and not all user sessions ( as is the case when you issue the command from the Console Window ).

When I use an ILO card connection, I again get the error that DISPLAY is not set.

I need to have some means other than direct console connection for issuing the 'Xhost +' command and for it to be effective across all user conections rather than simply the current session.

Any ideas ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

xhost command

Hi, Is there a way to know if user used the xhost command in is current session and to which hosts/users the user give access. (xhost + or xhost + host1 ...) Thanks, Itay. (2 Replies)
Discussion started by: itayst
2 Replies

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

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

4. UNIX for Dummies Questions & Answers

Xhost help

Hi all, I am trying to enable usage of X on 2 servers - ServerA and ServerB. I am logged in as root on ServerA and am trying to add ServerB into the access list of A. I am using this: root@ServerA#> export DISPLAY=localhost:20.0 root@ServerA#> xhost +ServerB I am getting the... (3 Replies)
Discussion started by: vishi
3 Replies

5. HP-UX

iLo RBSU

Hi, I wanted to setup a ilo for an HP 9000 rp 8420 server. Can anyone have an idea on it? (1 Reply)
Discussion started by: gunnervarma
1 Replies

6. HP-UX

iLO configuration

how to set IP for iLO in HP server first time thanks to all (1 Reply)
Discussion started by: sijocg
1 Replies

7. UNIX for Dummies Questions & Answers

xhost

Some of my users find that a graphical program I have given them will not run until they type: xhost +local:username where, of course, they substitute in their own user name. My question is what the word "local" is doing there and whether it would work as well without it. Thanks in... (0 Replies)
Discussion started by: Brandon9000
0 Replies

8. Shell Programming and Scripting

Hp ilo from Linux

Hi, I want to do momentary press to one server from linux is it possible? I got this command from internet is it correct? or need changes? I also need help how to start and reboot server in hp ilo from linux server. fence_ilo -a 10.1.41.155 -l Admin -p Password (1 Reply)
Discussion started by: learnbash
1 Replies

9. AIX

Xhost usage in AIX

Hi Can some one please advise on the usage of xhost command in aix. The AIX server name is pmut3. The below is the requirement : Only allow X11 / X-Window connections to the pmut3 server from the following windows hosts: Citrix Session Host server SRV090 Citrix Session Host server... (2 Replies)
Discussion started by: newtoaixos
2 Replies

10. Red Hat

Xhost command not working

Hi, I am not able to work with the command xhost. I need to open the same machine (not any other remote machine) in UI mode. How can I open this using xhost? I am using Putty to login to this machine. I am simply writing the command as --> xhost + There is an error displayed -->... (3 Replies)
Discussion started by: omniok
3 Replies
XSetTransientForHint(3X11)												XSetTransientForHint(3X11)

NAME
XSetTransientForHint, XGetTransientForHint - set or read a window's WM_TRANSIENT_FOR property SYNOPSIS
XSetTransientForHint(display, w, prop_window) Display *display; Window w; Window prop_window; Status XGetTransientForHint(display, w, prop_window_return) Display *display; Window w; Window *prop_window_return; ARGUMENTS
Specifies the connection to the X server. Specifies the window. Specifies the window that the WM_TRANSIENT_FOR property is to be set to. Returns the WM_TRANSIENT_FOR property of the specified window. DESCRIPTION
The XSetTransientForHint function sets the WM_TRANSIENT_FOR property of the specified window to the specified prop_window. XSetTransientForHint can generate BadAlloc and BadWindow errors. The XGetTransientForHint function returns the WM_TRANSIENT_FOR property for the specified window. It returns a nonzero status on success; otherwise, it returns a zero status. XGetTransientForHint can generate a BadWindow error. PROPERTIES
Set by application programs to indicate to the window manager that a transient top-level window, such as a dialog box. DIAGNOSTICS
The server failed to allocate the requested resource or server memory. A value for a Window argument does not name a defined Window. SEE ALSO
XAllocClassHint(3X11), XAllocIconSize(3X11), XAllocSizeHints(3X11), XAllocWMHints(3X11), XSetCommand(3X11), XSetTextProperty(3X11), XSetWM- ClientMachine(3X11), XSetWMColormapWindows(3X11), XSetWMIconName(3X11), XSetWMName(3X11), XSetWMProperties(3X11), XSetWMProtocols(3X11), XStringListToTextProperty(3X11) Xlib -- C Language X Interface XSetTransientForHint(3X11)
All times are GMT -4. The time now is 09:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy