Chrome遠端 ubuntu 設定 - Linux

Necoo avatar
By Necoo
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 試了很久才成功


--
Tags: Linux

All Comments

小白求助如何在linux上安裝ubuntu

Isla avatar
By Isla
at 2018-11-07T19:58
之前申請了一台伺服器 IT交付的時候已經裝了linux 請問還能安裝ubuntu嗎? 因為完全沒管理過伺服器,用語不精確還請見諒 - ...

oVirt問題請益

Emily avatar
By Emily
at 2018-11-07T14:28
1.網路上的一些LAB 通常都是二台實體 一台做engine 一台做node 如果以完整架構 應該要有三台以上的實體機? 一台engine 2+N做node 一台storage 這樣的構成? 2.在oVirt官方web找到下面這個 http://0rz.tw/YOIWR 想請問這個超融合 能全 ...

請問有人有用過海思平台嗎 Hi35xx系列

Hardy avatar
By Hardy
at 2018-11-06T23:20
覺得這裡流量比較大... 而且他也是搭載 Linux,應該有沾到邊...如果還是違規了,請下面回覆我 我馬上刪除,謝謝。 關於 Hi3559AV100 平台,有前輩會修改他的 pinmux嗎? 網路上的查詢,似乎是和 hi3559av100-denb.dts有關 裡面有許多 andamp;gpio_ ...

Chrome遠端 ubuntu 設定

Rosalind avatar
By Rosalind
at 2018-11-06T16:02
http://robotslam.blogspot.com/2018/03/ubuntu-chrome-remote-desktop-setting.html 來源是這裡 linux照windows mac 方法安裝chrome遠端 無法像windows mac一定連到本地螢幕桌面 會像xrd ...

提取含有特定字串的欄位

Iris avatar
By Iris
at 2018-11-05T10:48
我有一個檔案裡面 A_1 A_2 A_3 A_4 A_5 ...... A_19 B_1 B_2 ...... B_19 .... XX XX XX ..... 總共有19x N個欄位 我想整理成 1 2 3 4 5 6 ... 19 A B C D 19xN的矩陣 一開始想說用cut ...