日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

vnc远程桌面复制文件Linux,vncviewer远程桌面linux

發布時間:2024/10/12 54 豆豆
生活随笔 收集整理的這篇文章主要介紹了 vnc远程桌面复制文件Linux,vncviewer远程桌面linux 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1、在服務器上啟用vnc

(1)查看有沒有安裝vnc

[root@localhost ~]# rpm -qa |grep vnc

gtk-vnc-0.3.2-3.el5

vnc-4.1.2-14.el5

vnc-server-4.1.2-14.el5

gtk-vnc-python-0.3.2-3.el5

(2)root用戶登錄

[root@localhost ~]# vncserver

You will require a password to access your desktops.

Password:

(3)輸入root用戶密碼并確認

[root@localhost ~]# vncserver

You will require a password to access your desktops.

Password:

Verify:

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

2、停掉vnc

[root@localhost ~]# vncserver -kill :1

Killing Xvnc process ID 24659

3、更改/root/.vnc/xstartup文件

去掉注釋

# unset SESSION_MANAGER

# exec /etc/X11/xinit/xinitrc

修改后如下:

#!/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 &

4、重新啟動vnc

[root@localhost ~]# vncserver

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

5、客戶端遠程桌面(注意關閉防火墻)

運行vncviewer.exe,服務器:10.108.140.9:1 口令:********

總結

以上是生活随笔為你收集整理的vnc远程桌面复制文件Linux,vncviewer远程桌面linux的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。