xpra 是乙個開源的跨平台遠端顯示伺服器和客戶端工具,可以用來**圖形應用和桌面。這裡以 centos7 系統為例,演示一下怎樣使用 xpra **圖形應用和桌面。
# cd /etc/yum.repos.d/
# wget -c
# yum install xpra
其它版本的 xpra 可以參考
在當前機器上執行乙個圖形應用
# xpra start ssh:localhost --exit-with-children=yes --start-child=gedit
# 以桌面形式執行應用程式
# xpra start-desktop ssh:localhost --exit-with-children=yes --start-child=gedit
在遠端機器上執行乙個圖形應用
# xpra start ssh:@--exit-with-children=yes --start-child=gedit
首先安裝乙個輕量級的桌面環境
# yum install epel-release
# yum groupinstall xfce
啟動桌面
# xpra start-desktop ssh:localhost --exit-with-children=yes --start-child=xfce4-session
Struts使用入門使用
struts 官網位址 那麼我們知道strtus只乙個web框架,用它可以來替換我們之前所用過的servlet技術,它幫我們封裝了 請求資料的功能,簡化國際化,簡化檔案上傳,後台資料校驗等等。既然使用它,我們先來看下它執行的過程 乙個請求在struts2框架中的處理分為以下幾個步驟 1.客戶端發出乙...
Mysql入門使用
設定遠端使用者root密碼 mysql update user set password password 12345 where user root and host 查詢所有使用者 select user,host,password from mysql.users 遠端登入 mysql h i...
Linux cmake入門使用
linux cmake guide 由於除錯需要因此研究了一下cmake這個誇平台的編譯工具的使用方法.1.本人的機器為ubuntu 10.04,在連網的情況下直接在終端輸入 root zsh linux apt get install cmake 安裝完畢之後可以在 var cache apt a...