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

28th February 2006, 05:02 PM
|
 |
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...
|

28th February 2006, 05:22 PM
|
 |
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.
|

28th February 2006, 05:31 PM
|
 |
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...
|

28th February 2006, 05:42 PM
|
 |
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 --
|

28th February 2006, 05:50 PM
|
 |
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.
|

28th February 2006, 06:35 PM
|
|
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.
|

28th February 2006, 06:38 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 434

|
|
Or something like this:
Code:
DISPLAY=:0.0 zenity --info --text="Hello Jeanine"
__________________
:cool:
|

28th February 2006, 06:38 PM
|
 |
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 --
|

28th February 2006, 08:37 PM
|
 |
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...
|

28th February 2006, 08:39 PM
|
 |
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...
|

1st March 2006, 12:11 AM
|
 |
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 --
|

2nd March 2006, 02:34 PM
|
 |
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...
|

2nd March 2006, 05:37 PM
|
 |
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 --
|

2nd March 2006, 08:12 PM
|
 |
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...
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 22:25 (Tuesday, 18-06-2013)
|
|
 |
 |
 |
 |
|
|