Remote X Apps
Noah Dain
noahdain at gmail.com
Fri Mar 11 00:45:38 UTC 2005
On Thu, 10 Mar 2005 19:33:49 -0300, Gabriel Patiño <gepatino at gmail.com> wrote:
> On Thu, 10 Mar 2005 17:25:53 -0500, GrapeApe <ulist at gs1.ubuntuforums.org> wrote:
> > If you are running gdm, make sure it is allowing your X server to have
> > TCP connections. You can check by doing a "ps -elf | grep X".
> > (the option to look for is -nolisten tcp). It comes with the factory
> > default to NOT allow TCP connections.
> >
> > You can change it by running gdmsetup->security->Disallow TCP or by
> > editing the /etc/gdm.conf file by hand (look for TCP).
> >
> > You'll have to restart gdm.
> >
>
> Be carefull!!!
>
> When you allow TCP connection in gdm, the result is that remote
> clients can connect to your gdm, and from there start a session in
> your machine, using their own display.
>
> This is different to what Ben was trying to do, just to diplay a
> remote's application in your local display. For this, he should follow
> the advices of using ssh -X.
>
> --
> Gabriel E. Patiño
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
if you use ssh X11 tunneling, you needn't bother with xhosts or
removing -nolisten tcp from the x-server command. They're only good
for direct external connections, like those originating from telnet
sessions.
see that you have these lines uncommented in your /etc/ssh/sshd_config file:
X11Forwarding yes
X11DisplayOffset 10
and for the ssh client (/etc/ssh/ssh_config):
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
after that, you needn't bother with the -X (ie. ssh -X user at hostname)
--
Noah Dain
noahdain at gmail.com
More information about the ubuntu-users
mailing list