xhost


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers xhost
# 1  
Old 07-17-2012
xhost

Some of my users find that a graphical program I have given them will not run until they type:

Code:
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 advance for any light you can shed.

Last edited by Scott; 07-17-2012 at 10:39 AM.. Reason: Code tags
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

3. UNIX for Dummies Questions & Answers

[Solved] Problem With "xhost +" command-FreeBSD

Does anyone no why "xhost +" would not be working in freebsd? Could it be to do with a certain xorg package not being installed etc.. I am getting error "xhost: command not found" Thanks Anyone (2 Replies)
Discussion started by: Browser
2 Replies

4. UNIX for Dummies Questions & Answers

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... (1 Reply)
Discussion started by: shoefiend
1 Replies

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

6. Shell Programming and Scripting

Include xhost + at auto reboot script

Below is the startup/stop script for vncservers by end-user. How can xhost + command include in this script? Please help. Thank you. #!/bin/sh # # Startup/Stop script for vncservers for some users. # case "$1" in 'start') /bin/rm /tmp/.X11-unix/X0 /bin/su - applprod -c... (0 Replies)
Discussion started by: KhawHL
0 Replies

7. UNIX for Advanced & Expert Users

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... (0 Replies)
Discussion started by: jimthompson
0 Replies

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

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

10. 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
Login or Register to Ask a Question
stone(1)						      General Commands Manual							  stone(1)

NAME
stone - a simple TCP/IP packet repeater SYNOPSYS
stone [-d] [-n] [-u max] [-f n] [-l] [-z SSL] st [-- st] ... OPTIONS
-d Increase the debug level. -z SSL encryption. -n IP addresses and service port numbers are shown instead of host names and service names. -u max max is integer. The program will memorize max sources simultaneously where UDP packets are sent. -f n n is integer. The program will spawn n child processes. -l Sends error messages to the syslog instead of stderr. st is one of the followings; Multiple st can be designated, separated by --. (1) host:port sport [xhost ...] (2) host:port shost:sport [xhost ...] (3) display [xhost ...] (4) proxy sport [xhost ...] (5) host:port/http request [hosts ...] (6) host:port/proxy header [hosts...] The program repeats the connection on port sport to the other machine host port port. If the machine, on which the program runs, has two or more interfaces, type (2) can be used to repeat the connection on the specified interface shost. display [xhost ...] Abbreviating notation. The program repeats the connection on display number display to the X server designated by the environment variable DISPLAY. proxy sport [xhost ...] Http Proxy. Specify the machine, on which the program runs, and port sport in the http proxy settings of your WWW browser. host:port/http request [hosts ...] Repeats packets over http request. request is the request specified in HTTP 1.0. host:port/proxy header [hosts...] host:port/proxy header [hosts...] Type (6) repeats http request with header in the top of request headers. xhost Only machines xhost can connect to the program. xhost/mask Only machines on specified networks are permitted to connect to the program. In the case of class C network 192.168.1.0, for exam- ple, use 192.168.1.0/255.255.255.0. sport/udp Repeats UDP packets instead of TCP packets. port/ssl Repeats packets with encryption. sport/ssl Repeats packets with decryption. sport/http Repeats packets over http. DESCRIPTION
Stone is a TCP/IP packet repeater in the application layer. It repeats TCP and UDP packets from inside to outside of a firewall, or from outside to inside. Stone has following features: 1. Stone supports Win32. Formerly, UNIX machines are used as firewalls, but recently WindowsNT machines are used, too. You can easily run Stone on WindowsNT and Windows95. Of course, available on Linux, FreeBSD, BSD/OS, SunOS, Solaris, HP-UX and so on. 2. Simple. Stone's source code is only 2000 lines long (written in C language), so you can minimize the risk of security holes. 3. Stone supports SSLeay. Using SSLeay developed by Eric Young, Stone can encrypt/decrypt packets. 4. Stone is a http proxy. Stone can also be a tiny http proxy. EXAMPLES
outer: a machine in the outside of the firewall inner: a machine in the inside of the firewall fwall: the firewall on which the stone is executed stone 7 outer Repeats the X protocol to the machine designated by the environmental variable DISPLAY. Run X clients under DISPLAY=inner:7 on outer. stone outer:telnet 10023 Repeats the telnet protocol to outer. Run telnet fwall 10023 on inner. stone outer:domain/udp domain/udp Repeats the DNS query to outer. Run nslookup - fwall on inner. stone outer:ntp/udp ntp/udp Repeats the NTP to outer. Run ntpdate fwall on inner. stone localhost:http 443/ssl Make WWW server that supports https. Access https://fwall/ using a WWW browser. stone localhost:telnet 10023/ssl Make telnet server that supports SSL. Run SSLtelnet -z ssl fwall 10023 on inner. stone proxy 8080 http proxy. Where fwall is a http proxy (port 8080): stone fwall:8080/http 10023 'POST http://outer:8023 HTTP/1.0' stone localhost:telnet 8023/http Run stones on inner and outer respectively. Repeats packets over http. stone fwall:8080/proxy 9080 'Proxy-Authorization: Basic c2VuZ29rdTpoaXJvYWtp' for browser that does not support proxy authorization. COPYRIGHT
All rights about this program stone are reserved by the original author, Hiroaki Sengoku. The program is free software; you can redis- tribute it and/or modify it under the terms of the GNU General Public License (GPL). NO WARRANTY
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. AUTHOR
Hiroaki Sengoku sengoku@gcd.org http://www.gcd.org/sengoku/ Version 2.0 stone(1)