Samantha Samuel on Mon, 14 Jan 2002 20:12:47 -0500


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

Re: [PLUG] Remote X


> On Sun, Jan 13, 2002 at 11:40:51PM -0500, Samantha Samuel wrote:
> > Both the client and the Xserver are running Linux. I am on an intranet,
> > where I am connected to a Win2k server. I go online through the win
> > machine. And traffic is re-routed thataway to me. I want to connect to
> > the linux x server.
>
> Then try what I suggested, which was, from the prompt on your local
> machine:
>
>   ssh -X -f <remote linux host> <x program>
>
> ssh should return your shell after setting up a connection, then
> you'll have to wait a bit, and the X window should pop up.
>
> If you get error messages in the terminal, please post them.

I did that, I did get back my prompt. But x windows did'nt pop up.
And yes, I do have x windows configured.

> Inspecting /var/log/messages on the server for relevant error
> messages will probably help too.

I didn't find anything of relevance.

When I sshed into the remote server, I did a 'w' and saw only one user
being logged on. Is that the right answer? I thought I would have two,
since I had previously sshed in, using the above suggestion.

> > The win2k box is just a router.
>
> As long as it passes TCP/IP connections properly and is blocking
> neither port 22 outgoing nor 6000 + a few incoming, the above should
> work.

> But I'm not convinced that's actually the problem. What error
> message do you see in your terminal on the local Linux machine? In
> /var/log/messages on the remote host?

I checked and saw this:
<date> <remote host name> sshd(pam_unix)[20630]: session opened for user
<blah>

Hmm....now what can I do?

-Sam


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug