看板 Linux 關於我們 聯絡資訊
http://robotslam.blogspot.com/2018/03/ubuntu-chrome-remote-desktop-setting.html 來源是這裡 linux照windows mac 方法安裝chrome遠端 無法像windows mac一定連到本地螢幕桌面 會像xrdp一樣 連到一個新的桌面 至於要怎麼設定連到本地桌面 $ sudo apt-get update $ sudo apt-get upgrade 如要在 Linux 電腦上使用 Chrome,您的系統需符合以下條件: 64 位元 Ubuntu 14.04 以上版本 Debian 8 以上版本 openSUSE 13.3 以上版本 Fedora Linux 24 以上版本 Intel Pentium 4 以上版本處理器 (可支援 SSE2) 安裝chrome 瀏覽器 stable https://www.google.com/chrome/browser/desktop/index.html 安裝 chrome遠端app https://chrome.google.com/webstore/detail/gbchcmhmhahfdphkhkmpfmihenigjmpp 安裝 chrome遠端主機 https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb 停止 Chrome Remote Desktop: $ /opt/google/chrome-remote-desktop/chrome-remote-desktop --stop 再來這指令很長 是一行喔 Backup the original configuration: $ sudo cp /opt/google/chrome-remote-desktop/chrome-remote-desktop/opt/google/ chrome-remote-desktop/chrome-remote-desktop.orig 編輯config file (sudo vim, gksudo gedit, nano都可): $ sudo vim /opt/google/chrome-remote-desktop/chrome-remote-desktop 進去vim編輯後 找到 DEFAULT_SIZES 改參數 DEFAULT_SIZES = "1920x1080" 找到FIRST_X_DISPLAY_NUMBER 改參數 FIRST_X_DISPLAY_NUMBER = 0 找到這函數 用#註解下面兩行 def get_unused_display_number(): """Return a candidate display numbre for which ther is currently no X server lock file""" display = FIRST_X_DISPLAY_NUMBER # while os.path.exists(X_LOCK_FILE_TEMPLATE % display): # display += 1 return display 找到這個函數 用#註解某兩行 再加display跟self.child兩行 def launch_session(self, x_args): self._init_child_env() self._setup_pulseaudio() self._setup_gnubby() # self._launch_x_server(x_args) # self._launch_x_session() display = self.get_unused_display_number() self.child_env["DISPLAY"] = ":%d" % display 儲存vim 或 nano 下指令 $ /opt/google/chrome-remote-desktop/chrome-remote-desktop --start 這樣你chrome遠端 就跟一般windows mac一樣了 如何想要重開機也可以遠端 要去設定 user account 開啟auto login -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1541491345.A.DE8.html ※ 編輯: roccqqck (223.136.78.222), 11/07/2018 00:41:12
Meshif: 前一陣子試很久 11/09 14:35
roccqqck: ubuntu16.04.5 我測試要software更新 apt upgrade後才可 11/09 17:15
roccqqck: 我也不知為何 11/09 17:21
HMKRL: 18.04裝了這個gnome-terminal就打不開了 繼續teamviewer 11/11 18:07
roccqqck: 市唷?可能我是重新安裝18.04.1最新版本測試 11/12 19:01
MATAO: 16.04 LTS可依教學正常使用 感謝大大分享 04/06 20:08