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

[solved] Re: VNC klappt nicht mehr



André Bischof schrieb:
Hallo zusammen,

nach einiger Zeit wollte ich mal wieder via VNC eine Verbindung zu meinem Server herstellen, das klappt aber nicht mehr (getunnelt über SSH, Start vncserver über inetd auf speziellen Ports). Dazwischen war ein Update auf KDE 3.4.2, bei dem wurde auch SSH mitgezogen.

Die Meldung, die VNCViewer bringt, ist ein Fenster:

"The connection closed unexpectedly. Do you wish to attempt to reconnect to localhost:5910?"

Im auth.log erscheint beim Verbindungsversuch:

Dec 8 14:19:04 linux sshd[25653]: debug1: server_input_channel_open: ctype direct-tcpip rchan 262 win 16384 max 16384 Dec 8 14:19:04 linux sshd[25653]: debug1: server_request_direct_tcpip: originator client-side-connection port 0, target localhost port 5910
Dec  8 14:19:04 linux sshd[25653]: debug1: channel 6: new [direct-tcpip]
Dec 8 14:19:04 linux sshd[25653]: debug1: server_input_channel_open: confirm direct-tcpip
Dec  8 14:19:04 linux sshd[25653]: debug1: channel 6: connected
Dec 8 14:19:04 linux sshd[25653]: debug1: channel 6: free: direct-tcpip, nchannels 7

In messages|syslog taucht nichts dazu auf. SSH-Verbindungen klappen nach wie vor.

Ich bin ein bißchen ratlos wo ich suchen soll, hat jemand 'nen Tipp für mich?

Hier noch weitere Schnipsel, um die Glaskugel transparenter zu machen:

inetd.conf
...
xxxx stream tcp nowait nobody /usr/bin/Xvnc :42 -inetd -once -query localhost -geometry 800x600 -depth 8 xxxx stream tcp nowait nobody /usr/bin/Xvnc :42 -inetd -once -query localhost -geometry 1024x768 -depth 8 xxxx stream tcp nowait nobody /usr/bin/Xvnc :42 -inetd -once -query localhost -geometry 1280x1024 -depth 16

root@linux:/var/log# dpkg -l *vnc* |grep ii
ii  vnc-common     3.3.7-7        Virtual network computing server software
ii  vnc-java       3.3.3r2-5      VNC java applet and command line program
ii  vncserver      3.3.7-7        Virtual network computing server software
ii xvncviewer 3.3.7-7 Virtual network computing client software fo

Sorry für Fullquote, aber es ist schon einige Zeit vergangen, so dass ich den gesamten Kontext erhalten wollte.

Ich habe letztlich rausbekommen, dass beim manuellen Starten (nicht über inetd) die Meldung kam "could not open default font 'fixed'". Das ist ein ganz altes Ding und hat schon seit 1998 oder so einen Eintrag in der FAQ von VNC, leider half das nicht, aber es hat mit dem Fonthandling unter Debian zu tun (xfs).

Weitere Webrecherche brachte dann Versuche mit /etc/vnc.conf und /etc/X11/xorg.conf bzgl. FontPath, das brachte aber auch nichts.

Was die Lösung brachte, war, VNC mit der Option "-fp unix/:7100" zu starten, das geht dann sowohl manuell als auch über inetd.

Warum das allerdings vorher ohne ging und jetzt mit testing notwendig ist, ist mir unklar, da hat sich wohl was im Umgang mit Fonts unter Debian geändert?

Viele Grüße
André



Reply to: