Viewed 29k times. Improve this question. Community Bot 1. Add a comment. Active Oldest Votes. See the Xsecurity 7 manual page for more details. The default behaviour of xhost when run without arguments is to print the list, as the manpage says: nothing 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. Improve this answer. When I run xhost without arguments it hangs, it is a normal behavior?
That sort of information is usually available on non security-hardened systems. Check ss , the socket statistics tool. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. What is this script doing? Improve this question. Chai T. Rex 4, 1 1 gold badge 22 22 silver badges 47 47 bronze badges.
Add a comment. Active Oldest Votes. The local family specifies all the local connections at once. However, the server interpreted address "si:localuser:username" can be used to specify a single local user. See the Xsecurity 7 manual page for more details.
The default behaviour of xhost when run without arguments is to print the list, as the manpage says: nothing 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. Improve this answer. Community Bot 1. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.
For X terminals, it is the login host. In both the display name and the file name, 0 indicates the display number that the defined remote systems are allowed to access through Enhanced X-Windows. Defines the host name to be removed from the X Server access list.
Existing connections are not broken, but new connection attempts will be denied. Note that you can remove the current machine; however, further connections including attempts to add it back are not permitted. The only way to allow local connections again is to reset the server thereby breaking all connections.
0コメント