[ale] launch programs over ssh into session?

James P. Kinney III jkinney at localnetsolutions.com
Fri Nov 19 22:32:36 EST 2004


On Fri, 2004-11-19 at 21:55, Christopher Bergeron wrote:
> Jay, try this:
> 
> ssh momsmachine
> export DISPLAY=localhost:0
> xload &
> 
> and see if a white box pops up on your mom's display.  If so, you should 
> be able to substitute "xload &" with "any_X_program &".

And if you _really_ want to tick her off add the following to your
.bashrc after you setup ssh key login:

ssh momsmachine 
export DISPLAY=localhost:0
nohup xroaches &

She should pop a gasket if you load up 4-5 xterm windows on every screen
on your desktop.

This was a popular prank around the astronomy group when I was in grad
school. That and the "jive" filter on a rather "stiff" professors
incoming email. He thought he had had sent out a grant proposal to the
NSF in jive! BWAHAHA!
> 
> Best regards,
> CB
> 
> 
> 
> Jay Loden wrote:
> 
> >I have some machines I have ssh access to (e.g. my mother's machine).  I was 
> >wondering if there is anyway I could, for example, do something like launch a 
> >browser window (let's say konqueror, for example) and have it show up in her 
> >session.  
> >
> >I don't know much about how sessions are divided in Linux, so I'm not sure how 
> >this works.  If I want to open a copy of AbiWord on my mother's machine so 
> >she can see it launched, is there any way to do that via ssh? (not vnc, I 
> >know how to do that)
> >
> >If I log in as my mom and run a program, it automatically forwards the X 
> >windows to my machine where I'm sshed in, and I would prefer in some 
> >instances to open the window on her logged in session that's she's looking at 
> >in front of the screen. 
> >
> >-Jay
> >
> >_______________________________________________
> >Ale mailing list
> >Ale at ale.org
> >http://www.ale.org/mailman/listinfo/ale
> >
> >  
> >
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 
> !DSPAM:419eb27618562903913949!
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list