Re: How do I run remote X application?

From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 03/27/05


Date: Sun, 27 Mar 2005 07:54:51 +0200

In comp.os.linux.networking sj <dummy@dummy.com>:
> I have simple LAN and wish to run mozilla remotly. So far I have tried to
> use ssh with the -X option. The following is a typical transaction.

> root@cage # ssh -X piggy

Please, please don't run a browser as root unless there's a real
reason.

> Last login: Sat Mar 26 19:27:28 2005 from cage
> Linux 22.4.26
> root@PIGGY:~# mozilla
> (mozillz-bin:14763):Gtk-WARNING **: cannot open display:

You have no DISPLAY or it's wrong setup, try connecting with 'ssh
-vvv -X piggy' ans see if this gives any clues, post the output
if it doesn't tell you anything. What's the output of 'echo
$DISPLAY' on the remote system after login?

-- 
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 458: Windows 2000 is still light years away from
the stability and reliability of UNIX systems.


Relevant Pages

  • Re: Starting X-windows application on remote system
    ... And try to start your app (do not specify display). ... will assume your local one (from where you started ssh). ... > appear on the display of the remote system and be controlled by the ... > the X-windows output pushed back to my system, ...
    (comp.windows.x)
  • Re: ssh to remote machine with user login problem
    ... > debug1: Connection established. ... > # This is the ssh client system-wide configuration file. ... But you said that in the remote system you have copied all the files under ...
    (Debian-User)
  • Re: which port(s) does the X server listen on?
    ... > but remote X clients are unable to display to it. ... things just quietly fail to display. ... Most of the time one would ssh to the box they want to run the ... If everything is setup ...
    (Fedora)
  • Re: Attempting to run remote X app
    ... > I'm attempting to ssh into a central server and run an X app, ... Make sure the ssh server is forwarding X connections: ... DISPLAY environment variable is set), the connection to the X11 display ...
    (comp.os.linux.x)
  • X11 Forwarding with OpenSSH
    ... We are able to do the X11 forwarding and it works as the user ... go into the environment as their ssh IDs. ... functional accounts with no direct access into the account). ... another way to set your Display or gettaround this limitation? ...
    (SunManagers)