run xclock from local solaris to remote solaris


 
Thread Tools Search this Thread
Operating Systems Solaris run xclock from local solaris to remote solaris
# 8  
Old 12-20-2007
Can you please let me know the command with what I have to supply '-v'
# 9  
Old 12-20-2007
Quote:
Originally Posted by panchpan
Can you please let me know the command with what I have to supply '-v'
We're still using ssh aren't we?

Code:
ssh -v -X remote-box

then when you get on the other side...

Code:
echo $DISPLAY

# 10  
Old 06-30-2008
On the system console locally, use DISPLAY=`hostname`:0.0 instead of localhost:0.0
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Except script to run a local shell script on remote server using root access

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

2. Shell Programming and Scripting

To run a local shell script in a remote machine by passing arguments to the local shell script

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

3. Solaris

No local disk in format in 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

4. Solaris

Solaris 10 local zone on Solaris 11 global zone

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

5. Shell Programming and Scripting

how to run an already made script run against a list of ip addresses solaris 8 question

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. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

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

7. UNIX for Dummies Questions & Answers

Equivalent of /etc/rc.local in Solaris 10

What is the equivalent of /etc/rc.local in Solaris 10? (4 Replies)
Discussion started by: proactiveaditya
4 Replies

8. Solaris

Unable to run xclock

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

9. Solaris

Local Monitoring on Solaris 10

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
Login or Register to Ask a Question