public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gerrit Kühn" <gerrit@pmp.uni-hannover.de>
To: gentoo-user-de@lists.gentoo.org
Subject: [gentoo-user-de] x11vnc / xauth / Magic-cookie
Date: Wed, 21 Sep 2016 13:57:11 +0200	[thread overview]
Message-ID: <20160921135711.31633a8bbd3bae0e041a28bc@pmp.uni-hannover.de> (raw)

Hallo,

ich habe da gerade folgendes Problem, bei dem ich den Wald vor lauter
Bäumen nicht mehr sehe:
Ein System mit xfce, das mit lightdm am Login-Bildschirm steht. Ich würde
gerne remote per vnc zugreifen und möchte daher per ssh eingeloggt x11vnc
starten. Geht aber nicht:

---
21/09/2016 13:36:39 x11vnc version: 0.9.14 lastmod: 2015-11-14  pid: 16777
No protocol specified
21/09/2016 13:36:39 XOpenDisplay(":0") failed.
21/09/2016 13:36:39 Trying again with XAUTHLOCALHOSTNAME=localhost ...
No protocol specified

21/09/2016 13:36:39 ***************************************
21/09/2016 13:36:39 *** XOpenDisplay failed (:0)
---


Nun liegt sowas normalerweise am fehlenden/nicht gefundenen Cookie. Der
ist aber da:

---
ws1 ~ # echo $XAUTHORITY
/var/run/lightdm/root/:0
ws1 ~ # xauth list
ws1/unix:0  MIT-MAGIC-COOKIE-1 3923a2c3b7d11f982b21ec3acf060a46
---

Sieht soweit eigentlich gut aus, finde ich. Nur funktionieren tut's nicht:

---
ws1 ~ # xdpyinfo -display :0
No protocol specified
xdpyinfo:  unable to open display ":0".
---


Ich habe diverse Maschinen, wo ich das genau so benutze und bin gerade
etwas ratlos... Ideen?


cu
  Gerrit


                 reply	other threads:[~2016-09-21 11:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160921135711.31633a8bbd3bae0e041a28bc@pmp.uni-hannover.de \
    --to=gerrit@pmp.uni-hannover.de \
    --cc=gentoo-user-de@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox