VNC Server konfigurieren, brauche unterstüzung :(
VNC Server konfigurieren, brauche unterstüzung :(
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.
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.
- tomiboy
- Beiträge: 328
- Registriert: 28.03.2002 23:34:27
- Lizenz eigener Beiträge: GNU Free Documentation License
- Wohnort: Potsdam
-
Kontaktdaten:
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
Ciao
"Aus einem verzagten Arsch kommt kein fröhlicher Furz."
Luther
Luther
- Stefan
- Beiträge: 1429
- Registriert: 08.09.2002 14:31:59
- Lizenz eigener Beiträge: GNU General Public License
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.
Wenn ich von Windows meinen vncviewer Benutze und die ip des Debian Rechner eingebe kommt:
Kann mir einer helfen ?
Gruss,
Stefan
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.
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
Code: Alles auswählen
Faied to connect to server
Gruss,
Stefan
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:
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
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.
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
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
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 ~