Zenity pop up on remote desktop

Smoot Carl-Mitchell smoot at tic.com
Thu Mar 12 16:00:51 UTC 2009


On Thu, 2009-03-12 at 11:26 -0400, Brian McKee wrote:
> Hi All
> 
> I remember having this conversation before (maybe the Debian users
> mailing list?) a while ago, but don't remember the outcome.
> 
> I want to pop up an informational window on a remote computer.
> e.g. zenity --warning --text 'hi mom'
> does what I want on the computer I'm sitting at, but if I ssh into a
> remote machine and run that command you get 'cant open display' even
> if run as the user that currently owns the desktop.  How do I get it
> running on that display?

You need to turn on X11 forwarding.  It is off by default.  You need to
turn it on on both the client and server.  Client config file
is /etc/ssh/ssh_config and the server config file
is /etc/ssh/sshd_config.
-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list