Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th February 2006, 05:02 PM
teethlikelions's Avatar
teethlikelions Offline
Registered User
 
Join Date: Oct 2005
Location: st augustine, fl
Age: 29
Posts: 252
piping to X display

this may sound a little dumb, but...

if i'm SSHed onto my FC4 box from another location, and a user is on my computer
ie:
Quote:
[matt@artax ssh]$ who
matt pts/1 Feb 28 10:51 (xxx.xxxxxxx.edu)
jeanine :0 Feb 28 11:15
could i pipe a command from my terminal prompt to her X-display?

like
Quote:
[matt@artax ssh]$ gedit | :0
or something?
obviously that doesn't work, but essentially, i want to send the 'gedit' command to her desktop, openning gedit.
__________________
Quote:
Originally Posted by tashirosgt
Now everyone count to ten and say "For every 10 minutes I spend flaming a Linux critic, I will also spend ten minutes helping someone with a specific question."
sudoSandwich

Fedora Core 6 Hardware:
let's just call it frankenstein and be done with it...
Reply With Quote
  #2  
Old 28th February 2006, 05:22 PM
code_astronomer's Avatar
code_astronomer Offline
Registered User
 
Join Date: Dec 2005
Location: England
Posts: 470
EDIT: *snip*
sorry...I read your message wrong.

I don't think it's possible to open an application on someone elses display. It would be a bit of a security issue.
__________________
-- M$ cater for the lowest common denominator --

Last edited by code_astronomer; 28th February 2006 at 05:25 PM.
Reply With Quote
  #3  
Old 28th February 2006, 05:31 PM
teethlikelions's Avatar
teethlikelions Offline
Registered User
 
Join Date: Oct 2005
Location: st augustine, fl
Age: 29
Posts: 252
even from root?
__________________
Quote:
Originally Posted by tashirosgt
Now everyone count to ten and say "For every 10 minutes I spend flaming a Linux critic, I will also spend ten minutes helping someone with a specific question."
sudoSandwich

Fedora Core 6 Hardware:
let's just call it frankenstein and be done with it...
Reply With Quote
  #4  
Old 28th February 2006, 05:42 PM
code_astronomer's Avatar
code_astronomer Offline
Registered User
 
Join Date: Dec 2005
Location: England
Posts: 470
I'm pretty sure it's not possible.
You can send messages, but I am unaware of any method of opening an application on someone elses screen.

I can think of a messy way to do it, but it would require a script, a cron job or similar for the user whos display you want it to appear on and the creation of a file for the script to look for.

Perhaps someone more experienced knows a better way, if there is one.
__________________
-- M$ cater for the lowest common denominator --
Reply With Quote
  #5  
Old 28th February 2006, 05:50 PM
Shakes's Avatar
Shakes Offline
Registered User
 
Join Date: Feb 2005
Location: Scotland
Posts: 445
what about if u exported ur display to her machine? Is she connected locally or from netowrk?

I don't know much about this, except that it's been done to me on Solaris, which I'm assuming for something like this involving X etc is gonna be quite similar.
Reply With Quote
  #6  
Old 28th February 2006, 06:35 PM
brahms Offline
Registered User
 
Join Date: Aug 2004
Posts: 434
It's very possible.
Code:
gedit --display=0:0
--display is a standard GTK+ option.
__________________
:cool:

Last edited by brahms; 28th February 2006 at 06:40 PM.
Reply With Quote
  #7  
Old 28th February 2006, 06:38 PM
brahms Offline
Registered User
 
Join Date: Aug 2004
Posts: 434
Or something like this:
Code:
DISPLAY=:0.0 zenity --info --text="Hello Jeanine"
__________________
:cool:
Reply With Quote
  #8  
Old 28th February 2006, 06:38 PM
code_astronomer's Avatar
code_astronomer Offline
Registered User
 
Join Date: Dec 2005
Location: England
Posts: 470
Quote:
Originally Posted by brahms
It's very possible.
Code:
gedit --display=0:0
cool ... I didn't know that was possible You learn something new everyday
__________________
-- M$ cater for the lowest common denominator --
Reply With Quote
  #9  
Old 28th February 2006, 08:37 PM
teethlikelions's Avatar
teethlikelions Offline
Registered User
 
Join Date: Oct 2005
Location: st augustine, fl
Age: 29
Posts: 252
man, i love these boards.

thanks for the input folks
__________________
Quote:
Originally Posted by tashirosgt
Now everyone count to ten and say "For every 10 minutes I spend flaming a Linux critic, I will also spend ten minutes helping someone with a specific question."
sudoSandwich

Fedora Core 6 Hardware:
let's just call it frankenstein and be done with it...
Reply With Quote
  #10  
Old 28th February 2006, 08:39 PM
teethlikelions's Avatar
teethlikelions Offline
Registered User
 
Join Date: Oct 2005
Location: st augustine, fl
Age: 29
Posts: 252
Quote:
Originally Posted by code_astronomer
You can send messages, but I am unaware of any method of opening an application on someone elses screen.
what kind of messages do you mean?
how do you work that?
__________________
Quote:
Originally Posted by tashirosgt
Now everyone count to ten and say "For every 10 minutes I spend flaming a Linux critic, I will also spend ten minutes helping someone with a specific question."
sudoSandwich

Fedora Core 6 Hardware:
let's just call it frankenstein and be done with it...
Reply With Quote
  #11  
Old 1st March 2006, 12:11 AM
code_astronomer's Avatar
code_astronomer Offline
Registered User
 
Join Date: Dec 2005
Location: England
Posts: 470
wall, talk, write.
wall sends messages to all terminals. you can also use talk to chat over the terminal and write sends messages too.

I didn't know you could direct something to someone elses display...really cool trick
__________________
-- M$ cater for the lowest common denominator --
Reply With Quote
  #12  
Old 2nd March 2006, 02:34 PM
teethlikelions's Avatar
teethlikelions Offline
Registered User
 
Join Date: Oct 2005
Location: st augustine, fl
Age: 29
Posts: 252
a warning to those interested:

i was trying wall, talk, and write, and in using talk and doing a little research on it i found that it need `talkd,` so i tried to install a version of the outdated daemon, and in installing its dependencies (ld.so, libc.so.5, etc) i seem to have overwritten some important dependencies for X, effectively destroying my X server.

i tried to resinstall the newer working versions, but yum encountered some problem with these overwritten dependencies too, and i eventually had to reinstall.

(thankgod for backups!)
__________________
Quote:
Originally Posted by tashirosgt
Now everyone count to ten and say "For every 10 minutes I spend flaming a Linux critic, I will also spend ten minutes helping someone with a specific question."
sudoSandwich

Fedora Core 6 Hardware:
let's just call it frankenstein and be done with it...
Reply With Quote
  #13  
Old 2nd March 2006, 05:37 PM
code_astronomer's Avatar
code_astronomer Offline
Registered User
 
Join Date: Dec 2005
Location: England
Posts: 470
blimey. I never had anything problems using wall. It was installed when I installed Fedora (Don't remember having to add it at all). I don't have talkd. I installed it the other day but removed it.

Did you not use yum to install the talk daemon?
__________________
-- M$ cater for the lowest common denominator --
Reply With Quote
  #14  
Old 2nd March 2006, 08:12 PM
teethlikelions's Avatar
teethlikelions Offline
Registered User
 
Join Date: Oct 2005
Location: st augustine, fl
Age: 29
Posts: 252
it's not on liva or anything. i guess since it's out-dated. i didn't have any problems with the other prorams, just installing talkd.

i guess i fiddle around a bit too often and too recklessly sometimes
__________________
Quote:
Originally Posted by tashirosgt
Now everyone count to ten and say "For every 10 minutes I spend flaming a Linux critic, I will also spend ten minutes helping someone with a specific question."
sudoSandwich

Fedora Core 6 Hardware:
let's just call it frankenstein and be done with it...
Reply With Quote
Reply

Tags
display, piping

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
piping question elgaza Using Fedora 9 26th November 2007 10:09 PM
Question about piping yum to tee AlFrugal Using Fedora 5 30th May 2007 08:33 PM
Piping to a printer chris_y2k_r1 Using Fedora 4 18th March 2006 11:38 PM


Current GMT-time: 22:25 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat