12-20-2007
Check that the DISPLAY environmental variable on the remote system is set correctly to your local system and run xhost on your local system to enable/permit the remote system to display xclock on your local system.
9 More Discussions You Might Find Interesting
1. Solaris
Hello people =)
I need software that can gather statistics for the system.
I/O-disc systems, load memory, processors, networks, etc..
Looking for analog utilities nmon, which is run on the server and gather such statistics. Moreover, it creates a detailed report in the file format Excel. There... (6 Replies)
Discussion started by: jess_t03
6 Replies
2. Solaris
Hello.
I am trying to run xclock on newly built solaris box - These are the steps I followed:
# DISPLAY=localhost:0.0
# export DISPLAY
# xclock
xclock: not found
# cd /usr/openwin/bin
# ./xclock
Error: Can't open display: localhost:0.0
#
Please suggest, what am i doing wrong?
Thank... (27 Replies)
Discussion started by: panchpan
27 Replies
3. UNIX for Dummies Questions & Answers
What is the equivalent of /etc/rc.local in Solaris 10? (4 Replies)
Discussion started by: proactiveaditya
4 Replies
4. UNIX for Dummies Questions & Answers
Hi Gurus
can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?
regards,
Israel. (9 Replies)
Discussion started by: iga3725
9 Replies
5. Shell Programming and Scripting
how to run an already developed script run against a list of ip addresses solaris 8 question.
the script goes away and check traffic information, for example
check_GE-VLANStats-P3 1.1.1.1
and returns the results ok.
how do I run this against an ip list? i.e a list of 30 ip addresses (26 Replies)
Discussion started by: llcooljatt
26 Replies
6. Solaris
Hi,
A quick question: Can Solaris 10 local zones be moved to a Solaris 11 global zone and work well?
Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies
7. Solaris
I have Solaris-10 server. During troubleshooting of some storage issue, I removed disk entries from /dev/dsk and /dev/rdsk
rm /dev/vx/dmp/*
rm /dev/vx/rdmp/*
rm /dev/dsk/*
rm /dev/rdsk/
And rebooted the box. That recreated device tree for SAN disks, but I do not see c1t0d0s0 and c1t1d0s0... (7 Replies)
Discussion started by: solaris_1977
7 Replies
8. Shell Programming and Scripting
I need to run a local shell script on a remote machine. I am able to achieve that by executing the command
> ssh -qtt user@host < test.sh
However, when I try to pass arguments to test.sh it fails.
Any pointers would be appreciated. (7 Replies)
Discussion started by: Sree10
7 Replies
9. Shell Programming and Scripting
local script:
cat > first.sh
cd /tmp
echo $PWD
echo `whoami`
cd /tmp/123
tar -cvf 789.tar 456
sleep 10
except script:
cat > first
#!/usr/bin/expect
set ip 10.5.15.20
set user "xyz123"
set password "123456"
set script first.sh
spawn sh -c "ssh $user@$ip bash < $script" (1 Reply)
Discussion started by: Aditya Avanth
1 Replies
XON(1) General Commands Manual XON(1)
NAME
xon - start an X program on a remote machine
SYNOPSIS
xon remote-host [-access] [-debug] [-name window-name] [-nols] [-screen screen-no] [-user user-name] [command ...]
DESCRIPTION
Xon runs the specified command (default xterm -ls) on the remote machine using rsh, remsh, or rcmd. Xon passes the DISPLAY, XAUTHORITY and
XUSERFILESEARCHPATH environment variables to the remote command.
When no command is specified, xon runs 'xterm -ls'. It additionally specifies the application name to be 'xterm-remote-host' and the win-
dow title to be '-fIremote-host'.
Xon can only work when the remote host will allow you to log in without a password, by having an entry in the .rhosts file permitting
access.
OPTIONS
Note that the options follow the remote host name (as they do with rlogin).
-access
Runs xhost locally to add the remote host to the host access list in the X server. This won't work unless xhost is given permission
to modify the access list.
-debug Normally, xon disconnects the remote process from stdin, stdout and stderr to eliminate the daemon processes which usually connect
them across the network. Specifying the -debug option leaves them connected so that error messages from the remote execution are
sent back to the originating host.
-name window-name
This specifies a different application name and window title for the default command (xterm).
-nols Normally xon passes the -ls option to the remote xterm; this option suspends that behaviour.
-screen screen-no
This changes the screen number of the DISPLAY variable passed to the remote command.
-user user-name
By default, xon simply uses rsh/remsh/rcmd to connect to the remote machine using the same user name as on the local machine. This
option cause xon to specify an alternative user name. This will not work unless you have authorization to access the remote
account, by placing an appropriate entry in the remote users .rhosts file.
BUGS
Xon can get easily confused when the remote-host, user-name or various environment variable values contain white space.
Xon has no way to send the appropriate X authorization information to the remote host.
XFree86 Version 4.7.0 XON(1)