How to send xterm to another machine


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to send xterm to another machine
# 1  
How to send xterm to another machine

The scenario is like this:
I don't have access permission to linux server A, but my colleague has. So I installed xwindow server (xming or cygwin), then gave him my ip address, then he sent xterm to my machine, the xterm already connected to A with his account.
My question is how he did it?
# 2  
Xterm needs a X server to contact. Your friend either could have either set the env. var, DISPLAY, to point to your X server before starting the xterm or he could have invoked xterm as,
Code:
xterm -display <YOUR_IP_ADDR>:0

This will cause the xterm window to display on your X server/machine.
This User Gave Thanks to g.pi For This Post:
# 3  
Quote:
Originally Posted by g.pi
Xterm needs a X server to contact. Your friend either could have either set the env. var, DISPLAY, to point to your X server before starting the xterm or he could have invoked xterm as,
Code:
xterm -display <YOUR_IP_ADDR>:0

This will cause the xterm window to display on your X server/machine.
it works, thank you!Smilie
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #615
Difficulty: Medium
You can specify multi-line strings using triple quotes in Python.
True or False?

10 More Discussions You Might Find Interesting

1. Linux

Unable to connect to Server machine from a client machine using ftp service

Hi, Could you please help me with the below issue.. I'm running RHEL6 OS on both server (192.168.0.10) and client machines (192.168.0.1). I'm trying to connect to server from the client machine using ftp service. I have installed vsftpd daemon on both the machines. I'm getting... (4 Replies)
Discussion started by: raosr020
4 Replies

2. Shell Programming and Scripting

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root

I have a requirement to check whose accounts are expired in Linux machine and send a mail to root user about the accounts. How can i achieve this in Linux? (1 Reply)
Discussion started by: mnmonu
1 Replies

3. Linux

send remote commands to windows machine?

hey guys, I've done some searching and other than winexe I haven't been able to find a way to send remote commands to a windows machine. The problem I get is with winexe whenever you send the process to the background in a script, I get the following error. :wall: Any help is appreciated! ... (0 Replies)
Discussion started by: terrell
0 Replies

4. Shell Programming and Scripting

How to transfer files from unix machine to local machine using shell script?

Hi All.. Am new to Unix!! Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp). And also i have to transfer the input file from the local directory to Unix machine (Server) Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies

5. Shell Programming and Scripting

Tricky little problem, send signal to other machine without user

Hi everyone! I want to be able to send a signal to another machine on the same network, and have it trigger a script on that machine. Here's the reason why I can't just ssh: I don't have a username on that machine, but there is a user that is always logged on that I can do stuff on. So, I want... (5 Replies)
Discussion started by: declannalced
5 Replies

6. Red Hat

To find the LATEST file from a dir on REMOTE machine and SCP to local machine?

Hi All, URGENT - Please help me form a scipt for this: I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server) I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies

7. UNIX for Dummies Questions & Answers

can we send fax to remote fax machine by lpr?

Hi all, Our application has to send Fax to our cutomer Fax number . I am using lpr -P faxser:test-fax <<dos format file>> I tested on our network Fax numbers . Its working fine. But when i try to send outside our network , its not sending all files are sitting in... (1 Reply)
Discussion started by: help_need
1 Replies

8. Shell Programming and Scripting

How to send a Xterm command via a shell command

Hello, I would like to send via a shell script a command to my XTerm. For instance, I would like a shell script of mine to perform the command "clear-saved-lines()" to my Xterm. Indeed, I don't want to use /usr/bin/clear but a command that erases everything in my xterm. Thank you, --... (1 Reply)
Discussion started by: MROZ
1 Replies

9. Shell Programming and Scripting

How to send from one XTERM to another

Hi who can I send a command from one Xterm to another Xterm? Example: I have 2 xterm windows and the want to send ls from #1 to #2 and see the result in #2. This is ofcourse not what I will do, will from a script start 2 xterm and then start 2 other scripts in these xterm windows. Thanx... (2 Replies)
Discussion started by: MrKalle
2 Replies

10. UNIX for Advanced & Expert Users

send mail to a UNIX machine to my Lotus Notes

Hi, I'am new in system administration, and I would like to send file from my UNIX machine running on Aix 4.3.3 to the Lotus Notes V5 mail of my colleagues . So I heard about the sendmail command, but I don't know excatly how to use it for send my files . Please if you have a idea, help me !!! (1 Reply)
Discussion started by: hugo
1 Replies

Featured Tech Videos