天天看點

Linux遠端連接配接windows桌面和screen背景虛拟終端程序管理

一、Rdesktop遠端連接配接工具

1、安裝rdesktop

[root@localhost ~]# rpm -qa rdesktop

[root@localhost ~]# yum install rdesktop

2、常用參數選項

格式:rdesktop [options] server[:port]

[options]

-u:    使用者名

-p:    使用者密碼

-g:    指定螢幕顯示分辨率大小

-f:     全屏模式(Ctrl+Alt+Enter退出全屏)

-a:    顯示器顔色位數(16/32)

3、遠端連接配接windows桌面

[root@localhost ~]# rdesktop  -g 1440x800 -a 32 -u HM  192.168.1.238 

二、Screen背景虛拟終端程序管理

1、安裝screen

[root@localhost ~]# yum install screen

2、打開一個虛拟終端

[root@localhost ~]# screen 

3、傳回到使用者終端

    【先按ctrl+a 再輸入d】

4、檢視背景虛拟終端

[root@localhost ~]# screen -ls

There is a screen on:

    11791.pts-0.localhost    (Detached)

1 Socket in /var/run/screen/S-root.

5、進入背景虛拟終端

[root@localhost ~]# screen -r 11791  //指定screen虛拟終端ID

6、關閉背景虛拟終端

輸入exit或者ctrl+d

本文轉自 HMLinux 51CTO部落格,原文連結:http://blog.51cto.com/7424593/1727804

繼續閱讀