Re: X-forwarding stops working after a while

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

 



On Fri, Jan 1, 2016 at 10:16 PM, Yuri <yuri@xxxxxxxxx> wrote:
> I connect from host into the guest VM with X-forwarding (ssh -X), so that
> programs launched in the VM will run on the host display.
>
> X-forwarding works first, but after a while it stops working. Connection
> (from inside of the VM) on the corresponding port (6010 or similar) is
> immediately closed by the foreign host. Ssh connection itself is okay
> though. Reconnecting ssh helps, but later the same thing repeats.

By default ssh will request an untrusted xauth cookie that expires
after 20 minutes.  You can change that with ForwardX11Timeout in
ssh_config(5) or request a trusted cookie that doesn't expire
(ForwardX11Trusted=yes or ssh -Y).

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux