이를 위해 생성한 사용자로 시작하려고 하는데 입력하면 다음과 같은 결과 vncserver
가 나타납니다.Red Hat Enterprise Linux Server release 6.5
vncserver
WARNING: The first attempt to start Xvnc failed, possibly because the font catalog is not properly configured.
Attempting to determine an appropriate font path for this system and restart Xvnc using that font path ...
Could not start Xvnc.
Xvnc TigerVNC 1.3.1 - built Mar 19 2014 12:23:33
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11300000, The X.Org Foundation
Initializing built-in extension VNC-EXTENSION
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension GLX
Thu Apr 16 13:39:57 2015
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5901
vncext: Listening for HTTP connections on all interface(s), port 5801
vncext: created VNC server for screen 0
[dix] Could not init font path element catalogue:/etc/X11/fontpath.d, removing from list!
[dix] Could not init font path element built-ins, removing from list!
Fatal server error:
could not open default font 'fixed'
Xvnc TigerVNC 1.3.1 - built Mar 19 2014 12:23:33
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11300000, The X.Org Foundation
Initializing built-in extension VNC-EXTENSION
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension GLX
Thu Apr 16 13:40:00 2015
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5901
vncext: Listening for HTTP connections on all interface(s), port 5801
vncext: created VNC server for screen 0
[dix] Could not init font path element /usr/share/X11/fonts/misc, removing from list!
[dix] Could not init font path element /usr/share/X11/fonts/75dpi, removing from list!
[dix] Could not init font path element /usr/share/X11/fonts/100dpi, removing from list!
[dix] Could not init font path element /usr/share/X11/fonts/Type1, removing from list!
[dix] Could not init font path element /usr/X11R6/lib/X11/fonts/misc, removing from list!
[dix] Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi, removing from list!
[dix] Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi, removing from list!
[dix] Could not init font path element /usr/X11R6/lib/X11/fonts/Type1, removing from list!
[dix] Could not init font path element /usr/share/fonts/default/Type1, removing from list!
[dix] Could not init font path element built-ins, removing from list!
Fatal server error:
could not open default font 'fixed'
해결책을 찾고 있지만 이 문제에 대한 해결책을 찾을 수 없습니다. 누구든지 도와주실 수 있나요?
답변1
마지막으로 Red Hat Enterprise Linux Server ISO를 다운로드하고 다음 지침에 따라 로컬 리포지토리를 생성해야 했습니다.
# mkdir /media/rhel6
# mount -o loop rhel-server-6.5-x86_64-dvd.iso /media/rhel6/
# head -n1 /media/rhel6/.discinfo => Note down the number
# nano /etc/yum.repos.d/rhel6.repo
우리는 rhel6.repo
다음을 추가해야 합니다:
[rhel6-Server]
mediaid=(Number previously noted)
name=RHEL6-Server
baseurl=file:///media/rhel6/Server
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled=1
gpgcheck=1
이 시점에서 저장소가 생겼습니다. 이제 필요한 패키지를 설치해야 합니다:
yum update
이렇게 하고 다음과 같은 내용을 표시하면:
...
file:///mnt/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/repodata/repomd.xml
...
enabled
변수를 로 설정하여 /etc/yum.repos.d/other-repos.repo
시스템의 다른 저장소를 비활성화 해야 합니다 0
.
그런 다음 다음을 설치해야 합니다 groupinstall
.
# yum --skip-broken -y groupinstall "X Window System"
# yum --skip-broken -y groupinstall "Desktop"
# yum --skip-broken -y groupinstall "Fonts"
그게 다입니다. 우리는 이미 vncserver를 사용할 수 있습니다.