Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

display question



On Wed, May 04, 2011 at 11:48:32AM -0400, dan moylan wrote:
> 
> when some user owns the gnome desktop, another user
> opereating in a terminal window seems unable to open
> an application that needs the display.  how does one
> allow this?

The easiest way to do this is to become the "other user" by running:

ssh -X otheruser at localhost

You can check that X forwarding is allowed by running:

echo $DISPLAY

As the otheruser in that terminal.  If DISPLAY is unset, then you'll need
to edit the sshd_config file, set "X11Forwarding yes" and restart sshd.

Then you can run your X application in the terminal, and it will be
forwarded into your current X session.

There are other ways, but that's probably simplest and more secure than
some other possibilities.

-ben

--
the harder i work, the luckier i get.                   <samuel goldwyn>





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org