VNC連線圖形介面
[root@localhost ~]# rpm -qa |grep vnc
vnc-4.1.2-14.el5_6.6
vnc-server-4.1.2-14.el5_6.6
[root@localhost ~]#
[root@localhost ~]# vi /etc/sysconfig/vncservers
# The VNCSERVERS variable is a list of display:user pairs.
#
# Uncomment the lines below to start a VNC server on display :2
# as my 'myusername' (adjust this to your own). You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted! For a secure way of using VNC, see
#
# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
# Use "-nohttpd" to prevent web-based VNC clients connecting.
# Use "-localhost" to prevent remote VNC clients connecting except when
# doing so through a secure tunnel. See the "-via" option in the
# `man vncviewer' manual page.
# VNCSERVERS="2:myusername"
# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
VNCSERVERS="2:oracle"
VNCSERVERARGS[2]="-geometry 800x600"
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 800x600"
"/etc/sysconfig/vncservers" 25L, 963C written
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# service vncserver start
Starting VNC server: 1:root [FAILED]
[root@localhost ~]# vncpasswd oracle
Password:
Verify:
[root@localhost ~]#
[root@localhost ~]# vi /root/.vnc/xstartup
[root@localhost ~]# vncpasswd root
Password:
Verify:
[root@localhost ~]# vi /root/.vnc/xstartup
[root@localhost ~]# vncserver :1
You will require a password to access your desktops.
Password:
Verify:
xauth: creating new authority file /root/.Xauthority
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log
[root@localhost ~]# vi /root/.vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
a &
[root@localhost ~]# vi /root/.vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
gnome-session &
".vnc/xstartup" 13L, 351C written
[root@localhost ~]# vncserver -kill :1
Killing Xvnc process ID 9363
[root@localhost ~]# vncserver :1
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log
[root@localhost ~]#
vnc-4.1.2-14.el5_6.6
vnc-server-4.1.2-14.el5_6.6
[root@localhost ~]#
[root@localhost ~]# vi /etc/sysconfig/vncservers
# The VNCSERVERS variable is a list of display:user pairs.
#
# Uncomment the lines below to start a VNC server on display :2
# as my 'myusername' (adjust this to your own). You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted! For a secure way of using VNC, see
#
# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
# Use "-nohttpd" to prevent web-based VNC clients connecting.
# Use "-localhost" to prevent remote VNC clients connecting except when
# doing so through a secure tunnel. See the "-via" option in the
# `man vncviewer' manual page.
# VNCSERVERS="2:myusername"
# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
VNCSERVERS="2:oracle"
VNCSERVERARGS[2]="-geometry 800x600"
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 800x600"
"/etc/sysconfig/vncservers" 25L, 963C written
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# service vncserver start
Starting VNC server: 1:root [FAILED]
[root@localhost ~]# vncpasswd oracle
Password:
Verify:
[root@localhost ~]#
[root@localhost ~]# vi /root/.vnc/xstartup
[root@localhost ~]# vncpasswd root
Password:
Verify:
[root@localhost ~]# vi /root/.vnc/xstartup
[root@localhost ~]# vncserver :1
You will require a password to access your desktops.
Password:
Verify:
xauth: creating new authority file /root/.Xauthority
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log
[root@localhost ~]# vi /root/.vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
a &
[root@localhost ~]# vi /root/.vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
gnome-session &
".vnc/xstartup" 13L, 351C written
[root@localhost ~]# vncserver -kill :1
Killing Xvnc process ID 9363
[root@localhost ~]# vncserver :1
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log
[root@localhost ~]#
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29477587/viewspace-1704222/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- VNC連線linux圖形介面VNCLinux
- 配置vnc遠端連線Linux和unix伺服器圖形介面安裝OracleVNCLinux伺服器Oracle
- VNC連線,VNC如何連線WindowsVNCWindows
- VNC,VNC連線操作!VNC
- Ubuntu Server安裝介面並VNC連線UbuntuServerVNC
- Xmanager XDMCP遠端連線Linux圖形介面Linux
- VNC批次連線工具,VNC批次連線工具下載VNC
- LINUX的遠端圖形介面VNC配置以及調整LinuxVNC
- VNC遠端連線,如何VNC遠端連線伺服器VNC伺服器
- Oracle Linux 6.2 無法切換到圖形介面 (VNC)處理 - yum 安裝圖形介面軟體 - 1OracleLinuxVNC
- Oracle Linux 6.2 無法切換到圖形介面 (VNC)處理 - yum 安裝圖形介面軟體 - 2OracleLinuxVNC
- Xmanager4遠端連線linux圖形介面(vsftpd配置)LinuxFTP
- vnc連線黑屏,3步解析vnc連線黑屏的解決辦法VNC
- vnc連線雲主機,如何在Windows中用vnc連線雲主機VNCWindows
- VNC圖形介面操作Linux時出現灰色畫面問題VNCLinux
- VNC遠端控制,VNC遠端控制連線WindowsVNCWindows
- VNC,Linux遠端VNC連線伺服器!VNCLinux伺服器
- vnc遠端連線linux,vnc遠端連線linux的具體方法。VNCLinux
- vnc遠端連線linux,vnc遠端連線linux的具體操作VNCLinux
- vnc遠端連線黑屏,vnc連線Linux後黑屏的處理辦法VNCLinux
- vnc連線本地,vnc連線本地用的什麼軟體?3款好用推薦VNC
- vnc圖形介面登陸和訊號無法分配而db無法nomountVNC
- CentOS使用配置VNC遠端連線CentOSVNC
- Ubuntu 設定遠端桌面(VNC 連線)UbuntuVNC
- VNC,Linux系統下如何安裝和連線VNC!VNCLinux
- Windows下圖形管理Linux非VNC薦WindowsLinuxVNC
- xmanager xstart 連結linux 開啟圖形介面Linux
- centos7安裝圖形化介面並使用Windows遠端連線,安裝xrdpCentOSWindows
- AIX圖形介面配置AI
- CentOS 7 配置 VNC 遠端桌面連線CentOSVNC
- 在Windwos系統中用Xmanager2.0連線遠端AIX系統顯示圖形介面AI
- vnc遠端連線工具,vnc遠端連線工具如何監控多臺員工電腦螢幕?VNC
- 通過vnc連線linux伺服器VNCLinux伺服器
- Linux字元介面和圖形介面Linux字元
- vnc安裝步驟,4個vnc安裝步驟實現vnc與Linux的連線VNCLinux
- vnc viewer 遠端桌面,vnc viewer 遠端桌面連線的11個步驟VNCView
- windows7客戶端vnc viewer連線rhel5 vnc server小記Windows客戶端VNCViewServer
- 樹莓派遠端連線工具VNC使用教程樹莓派VNC