launch a command in another user's session

Jeremy C. Reed reed at reedmedia.net
Wed Dec 21 10:56:10 MST 2005


On Wed, 21 Dec 2005, Josh Coffman wrote:

> Is there a way to run a command in another user's
> session?
> Sometimes I remote my home machine while my kids or
> wife are playing on it... just thought it would be fun
> to mess with them.

In X, use the DISPLAY environment variable. (Or some X clients have a 
-display argument.) But the X authentication needs to be setup to allow 
you.

  Jeremy C. Reed

  	  	 	 open source, Unix, *BSD, Linux training
 	  	 	 http://www.pugetsoundtechnology.com/


More information about the PLUG-discuss mailing list