LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-26-2003, 12:55 AM   #1
edrabs
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 www.slashdot.com 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?

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

Rep: Reputation: 0
Hi,

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

export DISPLAY=HOST:0

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.
 
  


Reply


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 04:50 AM
Software needed for pushing files to ftp servers. Napper Linux - Software 6 04-02-2005 03:20 PM
Pushing logs on a network af_dave Linux - Networking 1 07-25-2004 09:42 PM
Is Linux pushing Windows into a corner? zLinuxz General 3 07-28-2002 11:17 AM
Pushing a default webpage to users facroft General 0 07-23-2001 08:28 AM


All times are GMT -5. The time now is 10:54 AM.

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