Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-25-2003, 11:55 PM   #1
LQ Newbie
Registered: Jul 2003
Posts: 19

Rep: Reputation: 0
pushing applications

How can I push out an application to a remote user?

For example, how can I make pop up on a remote screen. I'm thinking that it involves a | (pipe) or something, but I am not sure...
Can anyone out there help me out?

Old 11-26-2003, 02:13 AM   #2
LQ Newbie
Registered: Nov 2003
Location: India
Distribution: fedora
Posts: 20

Rep: Reputation: 0

Its not a pipe. A pipe is used for two processes to communicate data, usually textual.

I'll give you a somewhat long answer so that you can understand it better. In linux, the "X window system", or X for short, forms the basis of the graphics system. The "X server" is responsible for ultimately drawing stuff on the screen. It interacts with your monitor, graphics card etc. Graphical programs are "X clients". They send data to the X server (which is a different program) and the X server displays it.

It turns out that X is "network transparent". This means that the client and server can be on different machines. The server, of course, must be on the same machine to which the display device is connected. So all you need to do is to tell your program which X server to connect to. You can do this by setting the DISPLAY environment variable


HOST is the name of the machine where the server is running. The 0 stands for "first screen" because there can be more than 1 X server running on the same machine.

Now start your program and the output will go to the remote machine.

To prevent people from gratuitously opening windows on other people's desktops (think of all the possibilities ;-), this is disabled by default. The user on whose screen you want to open a window must explicitly give you permission to do so by executing the command "xhost +CLIENT" where CLIENT is the name of the machine from which you want to run the program.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any way to turn off the computer power without pushing the button? Necronomicom Slackware 11 02-27-2006 03:50 AM
Software needed for pushing files to ftp servers. Napper Linux - Software 6 04-02-2005 02:20 PM
Pushing logs on a network af_dave Linux - Networking 1 07-25-2004 08:42 PM
Is Linux pushing Windows into a corner? zLinuxz General 3 07-28-2002 10:17 AM
Pushing a default webpage to users facroft General 0 07-23-2001 07:28 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration