>> Delete No. 45074 article
No. vnc 설정에 관하여..

등록 2002-03-19 20:34:00 By localhost     조회 2
이름 조영환    

		안녕하세요..
 리눅스 <--> 윈도우 다른 기종간의  통신을 하려고
VNC를 깔아서 쓰려고 합니다.
 이상하게도 localhost에 두 기종을 두고 vnc로 접속을 하면
리눅스에서 윈도우로 접속이 잘 되고
윈도우에서 리눅스로 접속을 해도 wmaker가 잘 뜹니다.
 그런데 이상하게도 리눅스 머신과 윈도우 머신을
공인 IP쪽으로 빼 놓으면
리눅스에서 윈도우로는 접속이 잘 되나
윈도우에서 리눅스에서는 접속은 되나 윈도우메이커가 뜨지를
않는군요..
(그냥 sawfish같은 창만 뜨고 메뉴같은건 전혀 뜨지 않네요)
 아마도 vnc쪽에서 로컬에서만 접근을 허용한거 같은데..
/etc/vnc.conf를 봐도 모르겠습니다.
 아시는분 있으시면 조언 좀 부탁 드립니다.
  -- 설정 입니다.. --
# /etc/vnc.conf written by Marcus Brinkmann. This file is in the Public Domain.
#
# $fontPath = "/foo";
# $fontPath = "";
#
# 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";
 # 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
#           vncserver is not invoked in a running X session.
# Example: $geometry ="640x480";
$geometry ="800x600";
 # $depth       sets the framebuffer color depth. Must be between 8 and 32.
# $pixelformat sets the default pixelformat.
#              The default will be calculated if none of both is specified
#              and when vncserver is called from within a running X servers.
#              Can be changed at the command line with option -depth.
#              A fixed default value will be used if vncserver is not
#              invoked in a running X session.
# Example: $depth = "16";
#           $pixelformat = "rgb565";
$depth = "16";
$pixelformat = "rgb565";
 # $getDefaultFrom sets the display from which you can query the default of
#                 the above three options, if you don't want to start vncserver
#                 from within a running X server. It will be added to the call
#                 of xdpyinfo.
#                 It is useful to get the default from the X server you will
#                 run xvncviewer in.
# Example: $getDefaultFrom = "-display localhost:0"
 # $rfbwait sets the maximum time in msec to wait for vnc client viewer.
# $rfbwait = "120000";--달려라~ 리눅스~~ ;)
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved