Chrome遠端 ubuntu 設定 - Linux

By Necoo
at 2018-11-09T15:03
at 2018-11-09T15:03
Table of Contents
也來分享一下我的做法
主要是參考這篇
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 試了很久才成功
--
主要是參考這篇
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 試了很久才成功
--
Tags:
Linux
All Comments
Related Posts
小白求助如何在linux上安裝ubuntu

By Isla
at 2018-11-07T19:58
at 2018-11-07T19:58
oVirt問題請益

By Emily
at 2018-11-07T14:28
at 2018-11-07T14:28
請問有人有用過海思平台嗎 Hi35xx系列

By Hardy
at 2018-11-06T23:20
at 2018-11-06T23:20
Chrome遠端 ubuntu 設定

By Rosalind
at 2018-11-06T16:02
at 2018-11-06T16:02
提取含有特定字串的欄位

By Iris
at 2018-11-05T10:48
at 2018-11-05T10:48