日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

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

發布時間:2024/10/12 linux 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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的全部內容,希望文章能夠幫你解決所遇到的問題。

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