x11 forwarding and vnc



Hi all,

i'm running debian amd64 unstable machine. i connect to the machine
through ssh and forward x11 most of the time. recently i installed
tightvnc and have one or two displays running.
when i'm at work, i tunnel vnc through ssh and connect to my machine
as localhost:1.

if the ssh client (it can be either putty or ssh client) has the x11
turned on and i connect to my machine either through the tunnel(if i'm
at work) or if i'm at home connect directly to the machine through the
vnc, i get this error message

Xlib: connection to ":1.0" refused by server
Xlib: client is not authorized to connect to Server

i can start any gui application in the vnc server after i delete
~/.Xauthority file

why this conflict.
is it not supposed to work. with different .Xauthority file i cannot
work in the vnc.

thanks
jc
.



Relevant Pages

  • Re: Remote access to Unix desktop
    ... PC, I use the VNC client, which works fine. ... X11 is an optional install from the installation DVD. ... First use a terminal emulator and ssh to the Unix system for any ...
    (comp.sys.mac.system)
  • Re: MAC OS-X or Linux ?
    ... While I still haven't found a way to telnet into the mac, I can ssh ... I just use VNC and view the desktop. ... But since Mac OS X is NOT X11 based, using VNC is a way to access ...
    (comp.os.vms)
  • Re: MAC OS-X or Linux ?
    ... While I still haven't found a way to telnet into the mac, I can ssh into ... I just use VNC and view the desktop. ... But since Mac OS X is NOT X11 based, using VNC is a way to access ...
    (comp.os.vms)
  • Re: MAC OS-X or Linux ?
    ... While I still haven't found a way to telnet into the mac, I can ssh into ... I just use VNC and view the desktop. ... But since Mac OS X is NOT X11 based, using VNC is a way to access ...
    (comp.os.vms)
  • Re: MAC OS-X or Linux ?
    ... While I still haven't found a way to telnet into the mac, I can ssh into it and issue plenty of unix commands. ... So I use a combination of ssh for terminal sessions and VNC if I want the desktop (I actually tunnel the VNC via an ssh tunnel over the same ssh terminal connection. ... But since Mac OS X is NOT X11 based, using VNC is a way to access the Mac OS X GUI apps remotely, if you need to do it once in a while, or even regularly if you have enough bandwidth. ...
    (comp.os.vms)