VNC Server konfigurieren, brauche unterstüzung :(

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
saash
Beiträge: 49
Registriert: 18.10.2002 15:56:53

VNC Server konfigurieren, brauche unterstüzung :(

Beitrag von saash » 09.11.2002 19:57:17

Hallo zusammen!

Möchte gerne von Win2k auf meine Linux KDE oberfläche.
Ich hab Debian Woddy.
Jetzt hab ich das Paket Vnc server etc. installiert und kann auch mit "vncserver" den server schonmal starten.
das gibt er mir dann an:
Server:~# vncserver
Found /usr/share/vncserver for http connections.

New 'X' desktop is Server:1

Starting applications specified in /etc/X11/Xsession
Log file is /root/.vnc/Server:1.log

Es wird wahrscheinlich an meiner Konfigurationsdatei liegen aber irgendwie krieg ich das nicht hin, könnt ihr bitte mal drüber schauen?


# /etc/vnc.conf written by Marcus Brinkmann. This file is in the Public Domain.
#
# This is the configuration file for the vncserver package.
# It is perl syntax, but only variable assignment is allowed.
# A semicolon will be added if missing.
# Every value has suitable defaults, so you probably don't need any file.
#
# This file will be sourced by `vncserver' and `vncpasswd'.
# After this file, $(HOME)/.vncrc will be sourced, so values can be
# overwritten on a per-user basis. If you want to reactivate the default
# value there, you have to specify an empty value. For example, $fontPath
# will set to the default value after
#
$fontPath = "/foo";
$fontPath = "";
#
# If you are missing something, please let me know.
# Marcus.Brinkmann@ruhr-uni-bochum.de

# System configuration
# --------------------
#
# This section contains entries that should be true for all users.

# $vncClasses should be the path to the java classes of server.
$vncClasses = "/usr/share/vncserver";

# $XFConfigPath can be set to the global XF86Config file. This will be
# parsed to gain default values for $fontPath and $colorPath.
# If you want to disable this feature, point it to an
# invalid file, "/foo" for example.
$XFConfigPath = "/etc/X11/XF86Config";

# $fontPath should be a comma seperated list of fonts to be added to the font
# path. If not specified, and $XFConfigPath is valid, vncserver
# will read the $fontPath from there. If both are not set, the
# default will apply.
# Example: $fontPath = "tcp/localhost:7100"; # would make vnc to use xfs.
# Example: $fontPath = "";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/misc/,";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/Type1/,";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/Speedo/,";
$fontPath .= "/usr/X11R6/lib/X11/fonts/75dpi/,";
$fontPath .= "/usr/X11R6/lib/X11/fonts/100dpi/,";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/freefont/,";
# $fontPath .= "/usr/X11R6/lib/X11/fonts/sharefont/";
# I don't know what the default is, though.

# $colorPath should be the RGB file to be used by X. This can also be taken from
XF86Config file if specified by $XFConfigPath
$colorPath = "/usr/X11R6/lib/X11/rgb.txt";

# User configuration
# ------------------
#
# This section contains entries that may change from user to user.

# $vncUserDir contains the filename for the log files directory of Xvnc
# (the server) and the viewers that are connected to it.
$vncUserDir = "$ENV{HOME}/.vnc";

$vncPasswdFile contains the filename of the password file for Xvnc.
$vncPasswdFile = $vncUserDir . "/passwd";

# $vncStartup points to a script that will be started at the very beginning.
$vncStartup = "/etc/X11/Xsession";

# $xauthorityFile should be the path to the authority file that should be used
# by your vnc X server.
$xauthorityFile = "$ENV{HOME}/.Xauthority";

# $defaultDesktopName should be set to the default name of the desktop.
# This can be changed at the command line with -name.
$defaultDesktopName = "X";

# $geometry sets framebuffer width & height. Default will be calculated if
# server is started from within a running X servers. Can be changed at
# the commandline (-geometry). A fixed default will be used if
$vncUserDir = "$ENV{HOME}/.vnc";

$vncPasswdFile contains the filename of the password file for Xvnc.
$vncPasswdFile = $vncUserDir . "/passwd";

# $vncStartup points to a script that will be started at the very beginning.
$vncStartup = "/etc/X11/Xsession";

# $xauthorityFile should be the path to the authority file that should be used
# by your vnc X server.
$xauthorityFile = "$ENV{HOME}/.Xauthority";

# $defaultDesktopName should be set to the default name of the desktop.
# This can be changed at the command line with -name.
$defaultDesktopName = "X";

# $geometry sets framebuffer width & height. Default will be calculated if
# server is started from within a running X servers. Can be changed at
# the commandline (-geometry). A fixed default will be used if
# vncserver is not invoked in a running X session.
$geometry ="640x480";

# $depth sets the framebuffer color depth. Must be between 8 and 32.

Benutzeravatar
tomiboy
Beiträge: 328
Registriert: 28.03.2002 23:34:27
Lizenz eigener Beiträge: GNU Free Documentation License
Wohnort: Potsdam
Kontaktdaten:

Beitrag von tomiboy » 10.11.2002 21:42:53

Jo, is doch alles in Butter der vncserver scheint doch zu starten. Jetzt musst Du Dir nur noch den vncviewer für W2k besorgen. Dort gibst Du dann den Debian Rechner an 192.168.x.x:1 und dann sollte es los gehen. Probiere bei Problemen mit der Übertragung die Option RAW im viewer dann sollte es gehen. Alle anderen Optionen z.b welcher manager benutzt werden soll stellst Du wie gewohnt in der vnc.conf ein. Meld Dich mal bei Erfolg.

Ciao :cry:
"Aus einem verzagten Arsch kommt kein fröhlicher Furz."
Luther

saash
Beiträge: 49
Registriert: 18.10.2002 15:56:53

Beitrag von saash » 11.11.2002 21:13:26

Mldonkey geht immer noch net.
Das will einfach nicht laufen :-(

Benutzeravatar
Stefan
Beiträge: 1429
Registriert: 08.09.2002 14:31:59
Lizenz eigener Beiträge: GNU General Public License

Beitrag von Stefan » 16.01.2003 20:18:21

Hallo

ich habe auch den vncserver/vncviewer installiert.
Ich kann von Debian aus auf alle Windows Rechner zugreifen.
Aber ich kann nicht von Windows auf Debian zugreifen. :x

Code: Alles auswählen

debian2:/home/stefan# vncserver

New 'X' desktop is debian2:1

Starting applications specified in /etc/X11/Xsession
Log file is /root/.vnc/debian2:4.log
Wenn ich von Windows meinen vncviewer Benutze und die ip des Debian Rechner eingebe kommt:

Code: Alles auswählen

Faied to connect to server
Kann mir einer helfen ?

Gruss,
Stefan

tuxtomm
Beiträge: 61
Registriert: 03.12.2002 15:12:12
Wohnort: hamburg.de

Beitrag von tuxtomm » 16.01.2003 20:28:06

Versuch mal im winvncviewer ip:1
Um auf den winvncserver zuzugreifen reicht die ip, denn der laeft unter ip:0 und das ist fuer den viewer default.

tom

Benutzeravatar
Stefan
Beiträge: 1429
Registriert: 08.09.2002 14:31:59
Lizenz eigener Beiträge: GNU General Public License

Beitrag von Stefan » 17.01.2003 15:57:20

Hallo

Leider komme ich immer noch nicht auf meine Debian Rechner
Wie gesagt von Linux auf Windows kein Problem aber anders gehts nicht :twisted:
Muss die /etc/X11/Xsession nicht bearbeitet werden ?

Gruss,
Stefan

tuxtomm
Beiträge: 61
Registriert: 03.12.2002 15:12:12
Wohnort: hamburg.de

Beitrag von tuxtomm » 17.01.2003 20:05:50

Kuck mal in das logfile in ~/.vnc!
Wenn da irgendwas von fontpath steht, musst Du noch Deine /etc/vnc.conf anpassen.
Hier der Teil den ich bei mir geaendert hab:

Code: Alles auswählen

# $fontPath should be a comma seperated list of fonts to be added to the font
#           path. If not specified, and $XFConfigPath is valid, vncserver
#           will read the $fontPath from there. If both are not set, the
#           default will apply.
# Example: $fontPath = "tcp/localhost:7100";     # would make vnc to use xfs.
# Example:
        $fontPath = "";
        $fontPath .= "/usr/X11R6/lib/X11/fonts/misc/,";
        $fontPath .= "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,";
        $fontPath .= "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,";
        $fontPath .= "/usr/X11R6/lib/X11/fonts/Type1/,";
        $fontPath .= "/usr/X11R6/lib/X11/fonts/Speedo/,";
        $fontPath .= "/usr/X11R6/lib/X11/fonts/75dpi/,";
        $fontPath .= "/usr/X11R6/lib/X11/fonts/100dpi/,";
#       $fontPath .= "/usr/X11R6/lib/X11/fonts/freefont/,";
#       $fontPath .= "/usr/X11R6/lib/X11/fonts/sharefont/";
# I don't know what the default is, though.
Damit laeuft's bei mir.
Ich weiss zwar immer noch nicht, was ich tun muss, um einen anderen wm als kde zu starten, aber das habe ich erstmal auf Ablage gelegt.

tom

Benutzeravatar
Stefan
Beiträge: 1429
Registriert: 08.09.2002 14:31:59
Lizenz eigener Beiträge: GNU General Public License

Beitrag von Stefan » 18.01.2003 13:04:22

Hallo

auch das ändern der /etc/vnc.conf hat keine Lösung gebracht.
Leider weiss ich auch nicht was ich anpassen muss.

Gruss,
Stefan

Benutzeravatar
odradeck
Beiträge: 156
Registriert: 24.03.2003 20:58:57
Wohnort: Aachen

Beitrag von odradeck » 04.05.2003 12:11:07

falls das Thema noch aktuell ist (hatte gestern das gleiche Problem):

für die Verbindung via http hilft die Installation des vnc-java Paketes.

Für die Standartverbindung wird der angegebene Port jeweils um die Display-Nummer der exportierten Desktops incrementiert. die Standartports sind 5900 (http) und 5800 (Viewer)
dh.
via http:
http://hostname:5801 für den Desktop:1

via vncViewer
hostname:5901

ggf. hilft ein netstat -a um die listening Ports rauszufinden
~ wer Rechtschreibfehler findet, darf sie behalten ~

Antworten