ubuntu系統開啟windows遠端

2021-10-10 10:16:16 字數 2330 閱讀 2542

1、系統設定,開啟共享及設定密碼

2、安裝xrdp

major@major-system-product-name:~$ sudo apt-get install xrdp

[sudo] password for major: 

reading package lists... done

building dependency tree       

reading state information... done

xrdp is already the newest version (0.9.12-1).

0 upgraded, 0 newly installed, 0 to remove and 234 not upgraded.

3、安裝dconf-editor

major@major-system-product-name:~$ sudo apt-get install dconf-editor

reading package lists... done

building dependency tree       

reading state information... done

the following new packages will be installed:

dconf-editor

0 upgraded, 1 newly installed, 0 to remove and 234 not upgraded.

need to get 314 kb of archives.

after this operation, 1,241 kb of additional disk space will be used.

get:1 focal/universe amd64 dconf-editor amd64 3.36.0-1 [314 kb]

fetched 314 kb in 3s (109 kb/s)        

selecting previously unselected package dconf-editor.

(reading database ... 225999 files and directories currently installed.)

preparing to unpack .../dconf-editor_3.36.0-1_amd64.deb ...

unpacking dconf-editor (3.36.0-1) ...

setting up dconf-editor (3.36.0-1) ...

processing triggers for mime-support (3.64ubuntu1) ...

processing triggers for hicolor-icon-theme (0.17-2) ...

processing triggers for gnome-menus (3.36.0-1ubuntu1) ...

processing triggers for libglib2.0-0:amd64 (2.64.3-1~ubuntu20.04.1) ...

processing triggers for man-db (2.9.1-1) ...

processing triggers for desktop-file-utils (0.24-1ubuntu3) ...

4、啟動軟體「dconf-editor",開啟之後,依次展開org->gnome->desktop->remote-access,然後取消 「requlre-encryption」的勾選即可。如圖所示:

進入windows,開啟遠端桌面,填入ip登陸,選擇vnc-any,填入ip和共享設定的密碼。

出現如下介面選擇vnc-any,再次輸入ip位址,埠預設5900,填入第一步設定的密碼

最後到了我們的介面

Ubuntu系統 安裝開啟SSH

ssh分客戶端openssh client和openssh server 如果你只是想登陸別的機器的ssh只需要安裝openssh client ubuntu有預設安裝,如果沒有則sudo apt get install openssh client 如果要使本機開放ssh服務就需要安裝openss...

mysql開啟慢查詢日誌及查詢 windows

mysql慢查詢配置 1.慢查詢有什麼用?它能記錄下所有執行超過long query time時間的sql語句,幫你找到執行慢的sql,方便我們對這些sql進行優化.2.如何開啟慢查詢?首先我們先檢視mysql伺服器的慢查詢狀態是否開啟.執行如下命令 show variables like quer...

mysql開啟慢查詢日誌及查詢 windo

api介面有點慢 不知道是否是sql原因 查詢到sql滿日誌 記錄下來 我用的wamp mysql版本5.6 如下配置 加到my.ini 配置 wamp重啟失敗,應加到my default.ini 中 修改完配置檔案後,記得儲存重啟mysql服務.可以在mysql裡直接開啟慢查詢 mysql set...