05-03-2005
Oops,
I got totally confused.
It is working now and even with last 0.
Can somebody give me a good link to help me understand what actually is X server.
As reading the man page of xhost; it says if you remove the client from the access control list then you won't be able to display.
But even after doing that its working for me.
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
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
2. UNIX for Advanced & Expert Users
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
3. Red Hat
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
4. Red Hat
Hi guys,
I got this problem with NMON unable to display all the statistics specified via putty.
I believe this is due to libncurses rather than NMON and also the env variable $TERM.
Currently, the $TERM is set to "xterm" which should be compatible with NMON display.
Is there any ways that... (0 Replies)
Discussion started by: DrivesMeCrazy
0 Replies
5. UNIX for Dummies Questions & Answers
I'm trying to connect to my linux server but I'm having some major problems. The server had OEL 5 installed and my local pc is running Windows XP. I'm using PuTTy to connect to the server with Xming running on my loacl machine. I login as root and run the following command -
export... (5 Replies)
Discussion started by: garethnsolomons
5 Replies
6. UNIX for Dummies Questions & Answers
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
7. Solaris
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
8. Ubuntu
Hello friends. I am currently using Ubuntu 9.10. Its having a lot of features. I have a problem in this operating system that is unable to open Gtalk. Could i get the information to use Gtalk in Ubuntu 9.10. Please reply me. (1 Reply)
Discussion started by: andrepitt77
1 Replies
9. UNIX for Advanced & Expert Users
Hello,
I start an adapter using the following command -
nohup ./start_embargoAdapter >/dev/null 2>&1 &
and when I do the following, I can see:
/export/home/xxxxx> ps -ef | grep embargo
xxxxx 28086 20761 0 23:23:29 pts/7 0:00 grep embargo
xxxxx 8866 1 0 Oct 06 ? 0:00... (2 Replies)
Discussion started by: samjna
2 Replies
10. Ubuntu
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
xhost(1X) xhost(1X)
NAME
xhost - server access control program for X
SYNOPSIS
xhost [[+-]name...]
OPTIONS
xhost accepts the following command line options described below. For security, the options that effect access control may only be run
from the "controlling host". For workstations, this is the same machine as the server. For X terminals, it is the login host. Prints a
usage message. The given name (the plus sign is optional) is added to the list allowed to connect to the X server. The name can be a host
name or a user name. The given name is removed from the list of allowed to connect to the server. The name can be a host name or a user
name. Existing connections are not broken, but new connection attempts will be denied. Note that the current machine is allowed to be
removed; however, further connections (including attempts to add it back) will not be permitted. Resetting the server (thereby breaking
all connections) is the only way to allow local connections again. Access is granted to everyone, even if they are not on the list (that
is, access control is turned off). Access is restricted to only those on the list (that is, access control is turned on). If no command
line arguments are given, a message indicating whether or not access control is currently enabled is printed, followed by the list of those
allowed to connect. This is the only option that may be used from machines other than the controlling host.
DESCRIPTION
The xhost program is used to add and delete host names or user names to the list allowed to make connections to the X server. In the case
of hosts, this provides a rudimentary form of privacy control and security. It is only sufficient for a workstation (single user) environ-
ment, although it does limit the worst abuses. Environments which require more sophisticated measures should implement the user-based
mechanism, or use the hooks in the protocol for passing other authentication data to the server.
Hostnames that are followed by two colons (::) are used in checking DECnet connections; all other hostnames are used for TCP/IP connec-
tions.
NAMES
A complete name has the syntax "family:name" where the families are as follows: Internet host DECnet host Secure RPC network name Kerberos
V5 principal contains only one name, the empty string.
The family is case insensitive. The format of the name varies with the family. For backward compatibility with pre-R6 xhost, names that
contain an at-sign (@) are assumed to be in the nis family. Otherwise, the inet family is assumed.
DIAGNOSTICS
For each name added to the access control list, a line of the form "name being added to access control list" is printed. For each name
removed from the access control list, a line of the form "name being removed from access control list" is printed.
ENVIRONMENT
to get the default host and display to use.
FILES
/etc/X*.hosts
BUGS
You cannot specify a display on the command line because -display is a valid command line argument (indicating that you want to remove the
machine named "display" from the access list).
The X server stores network addresses, not host names. This is not really a bug. If somehow you change a host's network address while the
server is still running, xhost must be used to add the new address and/or remove the old address.
SEE ALSO
X(1X), Xsecurity(1X), Xdec(1X), xdm(1X)
AUTHORS
Bob Scheifler, MIT Laboratory for Computer Science,
Jim Gettys, MIT Project Athena (DEC).
xhost(1X)