看板 Linux 關於我們 聯絡資訊
也來分享一下我的做法 主要是參考這篇 https://productforums.google.com/forum/#!topic/chrome/k_yZkIGlqt0 roccqqck 大大的方式我之前試過沒成功 提供我的步驟給大家參考 ※ 引述《roccqqck (Rochelle)》之銘言: : 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 以上相同,接下來有點不同 1. $sudo /etc/init.d/chrome-remote-desktop stop 2. Setting the resolution of the virtual desktop: By default, the system will create a virtual desktop that is 1600x1200 pixels in size. To change this, add this line to your ~/.profile script: export CHROME_REMOTE_DESKTOP_DEFAULT_DESKTOP_SIZES=1024x768 3. Install several tools $sudo apt-get install lightdm lightdm-gtk-greeter light-locker light-locker-settings $sudo apt install xfce4 $sudo apt install gnome-session 4. Create ~/.chrome-remote-desktop-session $nano ~/.chrome-remote-desktop-session Add content: exec /usr/sbin/lightdm-session startxfce4 (works in my Ubuntu 16.04/18.04) Or add: (1) exec /usr/sbin/lightdm-session "gnome-session --session=gnome" (works in my Ubuntu 16.04) (2) exec /usr/sbin/lightdm-session "gnome-session --session=ubuntu" (works in my Ubuntu 16.04) 5. $sudo /etc/init.d/chrome-remote-desktop start 6. if failed ==> check log file /tmp/chrome_remote_desktop_* Step 4 試了很久才成功 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.128.67.241 ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1541747011.A.D0D.html