Sponsored Content
Top Forums UNIX for Dummies Questions & Answers [Solved] Problem With "xhost +" command-FreeBSD Post 302872931 by bakunin on Sunday 10th of November 2013 04:05:57 PM
Old 11-10-2013
This can have several reasons: maybe your PATH variable is not set to include where the xhost-binaries resides (if memory serves correctly /usr/bin/xhost per default), maybe the "execute-flag was (accidentally) removed from the binary, maybe the binary was moved to some other location (i.e. /usr/X11R6/bin) or maybe it is simply not installed.

In case it is not installed at all you might want to know this link:

xhost 1.0.4 for FreeBSD download

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix "at" / "Cron" Command New Problem...Need help

Hi All, I am trying to schedule a one time job using the at command with the help of shell script for my project. The shell script should take a parameter as a command line argument from the at command itself. Is it possible to take a command line parameter for a shell script in the command... (3 Replies)
Discussion started by: Mohanraj
3 Replies

2. UNIX and Linux Applications

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or question of my own) is: Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
Discussion started by: talipk
0 Replies

3. UNIX for Advanced & Expert Users

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have a problem about the Oracle related components. I'm not able to find any answer yet, and waiting for your responses... Here is the configuration of my system: * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or... (1 Reply)
Discussion started by: talipk
1 Replies

4. UNIX for Dummies Questions & Answers

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

5. HP-UX

[Solved] problem of "hp rx8640 with EMC cx 600"

hey!guys! i have a HP rx8640 with a EMC CX600 when i run # powermt display showed Symmetrix logical device count=0 CLARiiON logical device count=85 Hitachi logical device count=0 Invista logical device count=0 HP xp logical device count=0 Ess logical device count=0 HP HSx... (1 Reply)
Discussion started by: JoyOnLine
1 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. Shell Programming and Scripting

Problem with "find" and "grep" command

I want to list all files/lines which except those which contain the pattern ' /proc/' OR ' /sys/' (mind the leading blank). In a first approach I coded: find / -exec ls -ld {} | grep -v ' /proc/| /sys/' \; > /tmp/list.txt But this doesn't work. I got an error (under Ubuntu): grep:... (5 Replies)
Discussion started by: pstein
5 Replies

8. UNIX for Dummies Questions & Answers

[Solved] How to clear "history" command entries??

As in the title, how to clear the history entries? For eg: if i enter history, series of linux commands getting displayed from day 1. I need to clear those entries and want linux commands to be stored freshly. Thanks in advance (6 Replies)
Discussion started by: karthick nath
6 Replies

9. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

10. UNIX and Linux Applications

Problem on SQLplus command ""bash: sqlplus: command not found""

Hi all, i face an error related to my server ""it's running server"" when i use sqlplus command $ sqlplus bash: sqlplus: command not found the data base is up and running i just need to access the sqlplus to import the dump file as a daily backup. i already check the directory... (4 Replies)
Discussion started by: clerck
4 Replies
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)
All times are GMT -4. The time now is 08:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy