Red Hat SATELLITE 5.1.0 RELEASE NOTES Instalační manuál Strana 132

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 268
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 131
114 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
Set a VNC password using the vncpasswd command. This password will be needed to
connect to the VNC server:
# vncpasswd
Password: <lnx4vm>
Verify: <lnx4vm>
First stop the firewall:
# service iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
Start the VNC server. This will create some initial configuration files under the /root/.vnc/
directory:
# service vncserver start
Starting VNC server: 1:root xauth: creating new authority file /root/.Xauthority
New 'virtc530.itso.ibm.com:1 (root)' desktop is virtc530.itso.ibm.com:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/virtc530.itso.ibm.com:1.log
[ OK ]
There is one more configuration to be done. Change from the Tiny window manger, twm, to
the Motif window manager, mwm:
# cd /root/.vnc
# vi xstartup // change last line
...
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
mwm &
Now restart the VNC server with the service command:
# service vncserver restart
Shutting down VNC server: 1:root [ OK ]
Starting VNC server: 1:root
...
[ OK ]
You can now use the VNC client to connect to the IP address of the controller with a :1
appended. A sample session is shown in Figure 7-13 on page 115.
Zobrazit stránku 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 267 268

Komentáře k této Příručce

Žádné komentáře