Re: X/ssh by port forwarding?

From: Dennis Bijwaard (DoNotSpamBijwaard_at_Home.nl)
Date: 04/21/04


Date: Wed, 21 Apr 2004 19:05:56 +0000 (UTC)

In comp.windows.x Atro Tossavainen <Atro.Tossavainen+news@helsinki.finland.invalid> wrote:
> All this being done, it does work, but I can't seem to find the right
> xauth spells to get it to work without "xhost +localhost" (on the

For this do at home:
    xauth list

Find the right display, e.g. your_hostname/unix:0 and use everything
after and including :0 in the following line on your machine at work:

    xauth add :0 and the rest

Instead of :0 you can probably use any display number you like at work,
as long as the appropriate port is forwarded with ssh.

-- 
Groetjes,
         Dennis Bijwaard (http://members.home.nl/bijwaard)
         mailto:`echo Dennis Bijwaard|sed 's/.*\ \(.*\)/\1@home.nl/'`
         Getting up in the morning can ruin your whole day.


Relevant Pages

  • 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)
  • Re: Remote X over rsh
    ... all I'm doing is running X and ssh. ... the weak machine is the one where on he wishes to display, ... Possibly the "my client" confused the issue; ... just use X without ssh forwarding. ...
    (comp.os.linux.x)
  • RE: X11 Forwarding
    ... X and ssh are completely separate items. ... On my HP-UX and RH systems, I always needed to set my $DISPLAY. ... installing XFree86 on Slackware 9.0 after initial OS installation (using ... Server is OpenSSH 3.5p1, OpenSSL 0.9.7a ...
    (SSH)