{"id":20206,"date":"2022-05-14T09:55:38","date_gmt":"2022-05-14T00:55:38","guid":{"rendered":"https:\/\/www.hiro345.net\/blogs\/hiro345\/?p=20206"},"modified":"2022-05-17T08:00:06","modified_gmt":"2022-05-16T23:00:06","slug":"%e3%83%aa%e3%83%a2%e3%83%bc%e3%83%88%e3%81%ab%e3%81%82%e3%82%8b-ubuntu-%e3%83%9e%e3%82%b7%e3%83%b3%e3%81%a8-windows-%e3%83%9e%e3%82%b7%e3%83%b3%e3%82%92%e4%bd%bf%e3%81%88%e3%82%8b%e3%82%88%e3%81%86","status":"publish","type":"post","link":"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/20206.html","title":{"rendered":"\u30ea\u30e2\u30fc\u30c8\u306b\u3042\u308b Ubuntu \u30de\u30b7\u30f3\u3068 Windows \u30de\u30b7\u30f3\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u306e\u3067\u691c\u8a0e\u4e2d"},"content":{"rendered":"<p>Ubuntu 22.04 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u306e\u3067\u300118.04 \u3092\u5165\u308c\u3066\u3042\u3063\u305f\u30de\u30b7\u30f3\u3078\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u3066\u307f\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u3001\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u81ea\u5b85\u306e Ubuntu \u30de\u30b7\u30f3\u3068 Windows \u30de\u30b7\u30f3\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u306e\u3067\u691c\u8a0e\u4e2d\u3067\u3059\u3002\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u30b0\u30ed\u30fc\u30d0\u30eb\u3067 SSH \u30ed\u30b0\u30a4\u30f3\u304c\u3067\u304d\u308b\u30de\u30b7\u30f3\u304c\u3042\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u7d4c\u7531\u3057\u3066\u8a2d\u5b9a\u3092\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<br \/>\n<!--more--><br \/>\n\u4e0b\u8a18\u306e\u3088\u3046\u306a\u611f\u3058\u3067 SSH \u63a5\u7d9a\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3092\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\nssh -A -l user001 www.example.jp -t ssh -p 2222 localhost\r\n<\/pre>\n<p>\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3\u306e Ubuntu 22.04 (ubuntu2204) \u304b\u3089\u30b0\u30ed\u30fc\u30d0\u30eb\u306e www.example.jp \u3078\u306f autossh \u306e\u30ea\u30d0\u30fc\u30b9\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u3092\u4f7f\u3063\u3066 SSH \u306e\u901a\u4fe1\u8def\u3092\u7528\u610f\u3057\u307e\u3059\u3002www.example.jp:2222 \u3078 SSH \u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068 ubuntu2204 \u3078 SSH \u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u624b\u5143\u306b macOS \u30de\u30b7\u30f3\u306e mbp \u304c\u3042\u308b\u3068\u3057\u3066\u3001mbp \u304b\u3089\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3067\u591a\u6bb5 SSH \u30ed\u30b0\u30a4\u30f3\u3092\u3059\u308b\u3068\u3001ubuntu2204 \u3078 SSH \u30ed\u30b0\u30a4\u30f3\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>SSH \u3067\u63a5\u7d9a\u304c\u3067\u304d\u305f\u3089 Chrome Remote Desktop \u306e\u8a2d\u5b9a\u3092\u3057\u3066\u3001ubuntu2204 \u3078 Chrome \u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u3001ubuntu2204 \u306e Remmina\uff08RDP \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff09\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u4f7f\u3063\u3066\u81ea\u5b85\u306e Windows \u30de\u30b7\u30f3\u3078 Windows \u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308c\u3070\u826f\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>macOS &#8211; Linux &#8211; Windows \u3068\u3064\u306a\u3050\u306e\u3067\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u304c\u3069\u3053\u304b\u3067\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u304b\u3082\u3057\u308c\u306a\u304f\u3001\u65e5\u672c\u8a9e\u5165\u529b\u304c\u3046\u307e\u304f\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u53ef\u80fd\u6027\u306f\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5834\u5408\u306f\u3001VPN \u69cb\u7bc9\u3092\u3057\u3066 VPN \u7d4c\u7531\u3067 Windows \u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3092\u4f7f\u3046\u3068\u3044\u3046\u65b9\u91dd\u306b\u3059\u308b\u4e88\u5b9a\u3067\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u65e5\u306f Ubuntu 22.04 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066 openssh-server \u3092\u8ffd\u52a0\u3001\u30b9\u30ef\u30c3\u30d7\u30e1\u30e2\u30ea\u306e\u8a2d\u5b9a\u3001Chrome Remote Desktop \u306e\u8a2d\u5b9a\u3092\u3057\u305f\u7a0b\u5ea6\u3067\u3059\u304c\u3001\u5c11\u3057\u305a\u3064\u4f5c\u696d\u3092\u3057\u3066\u3044\u304f\u3064\u3082\u308a\u3067\u3059\u3002\u3061\u306a\u307f\u306b openssh-server \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\nsudo apt update &amp;&amp; sudo apt -y upgrade\r\nsudo apt -y install openssh-server\r\n<\/pre>\n<p>\u3061\u306a\u307f\u306b SSD \u306e\u30c7\u30a3\u30b9\u30af\u3078 Linux \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001swapfile \u3092\u3069\u3046\u3059\u308b\u306e\u304b\u3068\u3044\u3046\u8a71\u304c\u3067\u3066\u304d\u307e\u3059\u3002SSD \u3060\u3068 \/swapfile \u304c swap \u3068\u3057\u3066\u7528\u610f\u3055\u308c\u308b\u3088\u3046\u306a\u306e\u3067\u3059\u304c\u3001\u3053\u3053\u3078\u306e\u30a2\u30af\u30bb\u30b9\u304c\u983b\u7e41\u306b\u8d77\u3053\u308b\u3068 SSD \u306e\u5bff\u547d\u304c\u77ed\u304f\u306a\u308a\u305d\u3046\u3067\u5acc\u3067\u3059\u3088\u306d\u3002\u81ea\u5206\u306f USB \u30e1\u30e2\u30ea\u3092\u5225\u9014\u7528\u610f\u3057\u3066\u3001\u305d\u308c\u3092\u30de\u30a6\u30f3\u30c8\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3092\u3088\u304f\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u7528\u610f\u3057\u305f\u30de\u30b7\u30f3\u3067\u306f HDD \u30922\u53f0\u63a5\u7d9a\u3057\u3066\u3042\u308b\u306e\u3067\u3001\u305d\u3053\u306b\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>HDD \u306f \/mnt\/hdd01 \u306e\u3088\u3046\u306a\u611f\u3058\u3067\u81ea\u52d5\u30de\u30a6\u30f3\u30c8\u3059\u308b\u3088\u3046\u306b \/etc\/fstab \u3078\u8a2d\u5b9a\u6e08\u307f\u3060\u3068\u3057\u307e\u3059\u3002\/mnt\/hdd01\/swapfile \u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u30b9\u30ef\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u7528\u610f\u3057\u3066\u3001\u3053\u308c\u3092\u4f7f\u3046\u3088\u3046\u306b \/etc\/fstab \u306b\u8a2d\u5b9a\u3092\u66f8\u3044\u3066\u5bfe\u5fdc\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u4ed6\u306b\u3082\u3044\u308d\u3044\u308d\u4f5c\u696d\u3092\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u5177\u4f53\u7684\u306a\u624b\u9806\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u306f\u82f1\u8a9e\u304c\u826f\u3044\u306e\u3067\u4e0b\u8a18\u3067\u5909\u66f4<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\nLANG=C xdg-user-dirs-gtk-update\r\n<\/pre>\n<p>google-chrome-stable_current_amd64.deb \u306a\u3069\u3001deb \u30d5\u30a1\u30a4\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u4f9d\u5b58\u95a2\u4fc2\u3082\u30c1\u30a7\u30c3\u30af\u3057\u3066\u304f\u308c\u308b gdebi \u304c\u4fbf\u5229\u306a\u306e\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u3042\u3089\u304b\u3058\u3081\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304a\u3044\u305f Google Chrome \u306e deb \u30d5\u30a1\u30a4\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\nsudo apt -y install gdebi\r\nsudo gdebi ~\/Downloads\/google-chrome-stable_current_amd64.deb\r\n<\/pre>\n<p>\u30ad\u30fc\u30dc\u30fc\u30c9\u306f A \u306e\u5de6\u3092 Ctrl \u30ad\u30fc\u306b\u3057\u305f\u3044\u306e\u3067 XKBOPTIONS \u3078 ctrl:swapcaps \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f GUI \u3067\u4f5c\u696d\u3092\u3057\u3066\u3044\u305f\u306e\u3067 gedit \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u304c\u3001vi \u3084 nano \u3084 emacs \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u7de8\u96c6\u3057\u3066\u3082\u826f\u3044\u3067\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ sudo gedit \/etc\/default\/keyboard \r\n$ cat \/etc\/default\/keyboard \r\n\uff08\u7565\uff09\r\nXKBMODEL=&quot;pc105&quot;\r\nXKBLAYOUT=&quot;jp&quot;\r\nXKBVARIANT=&quot;&quot;\r\nXKBOPTIONS=&quot;ctrl:swapcaps&quot;\r\n\uff08\u7565\uff09\r\n<\/pre>\n<p>\u30b9\u30ef\u30c3\u30d7\u30e1\u30e2\u30ea\u306e\u72b6\u614b\u306f free \u30b3\u30de\u30f3\u30c9\u3084 swapon &#8211;show \u30b3\u30de\u30f3\u30c9\u3067\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ free -m\r\n\uff08\u7565\uff09\r\n$ sudo swapon --show\r\n\uff08\u7565\uff09\r\n<\/pre>\n<p>swapoff \u3067\u30b9\u30ef\u30c3\u30d7\u30e1\u30e2\u30ea\u306e\u5229\u7528\u3092\u505c\u6b62\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\nsudo swapoff -a\r\n<\/pre>\n<p>\u8d77\u52d5\u6642\u306b\u30b9\u30ef\u30c3\u30d7\u30e1\u30e2\u30ea\u3092\u4f7f\u308f\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3001\/etc\/fstab \u306e swap \u30d5\u30a1\u30a4\u30eb\u306e\u6307\u5b9a\u884c\u306e\u5148\u982d\u306b # \u3092\u3064\u3051\u3066\u30b3\u30e1\u30f3\u30c8\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ sudo gedit \/etc\/fstab\r\n$ cat \/etc\/fstab\r\n\uff08\u7565\uff09\r\n#\/swapfile  none  swap  sw  0  0\r\n\uff08\u7565\uff09\r\n<\/pre>\n<p>swapfile \u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\nsudo fallocate -l 32G \/mnt\/hdd01\/swapfile\r\nsudo chmod 600 \/mnt\/hdd01\/swapfile\r\nsudo mkswap \/mnt\/hdd01\/swapfile\r\nsudo swapon \/mnt\/hdd01\/swapfile\r\n<\/pre>\n<p>\/mnt\/hdd01 \u306f\u5148\u306b\u30de\u30a6\u30f3\u30c8\u304c\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067 swap \u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066 \/etc\/fstab \u3078\u6307\u5b9a\u3059\u308b\u3068\u304d\u306b\u306f\u3001\u57fa\u672c\u7684\u306b\u6700\u5f8c\u306b\u66f8\u3044\u3066\u304a\u304f\u3068\u826f\u3044\u306f\u305a\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ cat \/etc\/fstab\r\n\uff08\u7565\uff09\r\n\/mnt\/hdd01\/swapfile  none  swap  sw  0  0\r\n#\/swapfile  none  swap  sw  0  0\r\n\uff08\u7565\uff09\r\n<\/pre>\n<p>\u3064\u3044\u3067\u306b Chrome Remote Desktop \u3082\u5148\u306b\u8a2d\u5b9a\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u8cc7\u6599\u3068\u3057\u3066\u306f\u300c<a href=\"https:\/\/cloud.google.com\/architecture\/chrome-desktop-remote-on-compute-engine?hl=ja\">Compute Engine \u3067\u306e Linux \u5411\u3051 Chrome \u30ea\u30e2\u30fc\u30c8 \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7 \u00a0|\u00a0 Cloud \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3 \u30bb\u30f3\u30bf\u30fc \u00a0|\u00a0 Google Cloud<\/a>\u300d\u3068\u3044\u3063\u305f\u3082\u306e\u3082\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u666e\u6bb5\u4f7f\u3046\u30de\u30b7\u30f3\uff08\u3053\u3053\u3060\u3068 mbp\uff09\u3067 Chrome \u3092\u8d77\u52d5\u3057\u3001Google \u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u72b6\u614b\u3067 <a href=\"https:\/\/remotedesktop.google.com\/access\">\u30ea\u30e2\u30fc\u30c8 \u30a2\u30af\u30bb\u30b9 &#8211; Chrome \u30ea\u30e2\u30fc\u30c8 \u30c7\u30b9\u30af\u30c8\u30c3\u30d7 https:\/\/remotedesktop.google.com\/access<\/a> \u3078\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u5de6\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300cSSH \u7d4c\u7531\u3067\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u300d\u3092\u9078\u629e\u3057\u3066\u3001\u300c\u958b\u59cb\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304b\u3089\u8868\u793a\u3055\u308c\u308b\u6307\u793a\u306b\u5f93\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u304b\u3089\u306f ubuntu2204 \u3078 SSH \u30ed\u30b0\u30a4\u30f3\u3057\u3066\u4f5c\u696d\u3092\u3057\u307e\u3059\u3002chrome-remote-desktop_current_amd64.deb \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ cd ~\/Downloads\r\n$ wget https:\/\/dl.google.com\/linux\/direct\/chrome-remote-desktop_current_amd64.deb\r\n$ sudo gdebi ~\/Downloads\/chrome-remote-desktop_current_amd64.deb\r\n\uff08\u7565\uff09\r\n<\/pre>\n<p>mbp \u306e Chrome \u3067\u300c\u6b21\u3078\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u5404 OS \u3067\u5b9f\u884c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002Ubuntu \u306f Debian \u7cfb\u306a\u306e\u3067\u3001Debian \u3067\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3092\u30b3\u30d4\u30fc\u3057\u3066 ubuntu2204 \u3067\u5b9f\u884c\u3057\u307e\u3059\u3002PIN \u30b3\u30fc\u30c9\u306e\u5165\u529b\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u3053\u3067\u6307\u5b9a\u3057\u305f PIN \u30b3\u30fc\u30c9\u304c\u5b9f\u969b\u306b\u30ea\u30e2\u30fc\u30c8\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u304d\u306b\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ DISPLAY= \/opt\/google\/chrome-remote-desktop\/start-host \\\r\n  --code=&quot;\uff08\u7565\uff09&quot; \\\r\n  --redirect-url=&quot;https:\/\/remotedesktop.google.com\/_\/oauthredirect&quot; \\\r\n  --name=$(hostname)\r\nEnter a PIN of at least six digits: \uff08\uff16\u6587\u5b57\u4ee5\u4e0a\u306e\u6570\u5b57\u3067PIN\u30b3\u30fc\u30c9\u3092\u5165\u529b\uff09\r\nEnter the same PIN again: \uff08\u4e0a\u3067\u5165\u529b\u3057\u305fPIN\u30b3\u30fc\u30c9\u3092\u518d\u5ea6\u5165\u529b\uff09\r\n<\/pre>\n<p>\u3053\u308c\u3067\u8a2d\u5b9a\u304c\u3046\u307e\u304f\u3044\u304f\u3068\u3001mbp \u306e Chrome \u3067 Chrome Remote Desktop \u306e\u753b\u9762\u3092\u30ea\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3001ubuntu2204 \u304c\u4e00\u89a7\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002\u958b\u3044\u3066\u4f7f\u3063\u3066\u307f\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001 Chrome Remote Desktop \u306f systemctl \u30b3\u30de\u30f3\u30c9\u3067\u7121\u52b9\u5316\u3067\u304d\u307e\u3059\u3002user001 \u7528\u306e\u3082\u306e\u3092\u7121\u52b9\u5316\u3059\u308b\u306b\u306f systemctl disable \u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n$ sudo systemctl disable chrome-remote-desktop@user001\r\n\uff08\u7565\uff09\r\n<\/pre>\n<p>disable \u3092 enable \u3068\u3059\u308c\u3070\u6709\u52b9\u5316\u3001start \u3068\u3059\u308c\u3070\u958b\u59cb\u3001stop \u3068\u3059\u308c\u3070\u505c\u6b62\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu 22.04 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u306e\u3067\u300118.04 \u3092\u5165\u308c\u3066\u3042\u3063\u305f\u30de\u30b7\u30f3\u3078\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u3066\u307f\u3066\u3044\u307e\u3059\u3002 \u305d\u308c\u3067\u3001\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u81ea\u5b85\u306e Ubuntu \u30de\u30b7\u30f3\u3068 Windows \u30de\u30b7\u30f3\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u306e\u3067\u691c\u8a0e &hellip; <a href=\"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/20206.html\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-20206","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/20206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/comments?post=20206"}],"version-history":[{"count":7,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/20206\/revisions"}],"predecessor-version":[{"id":20216,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/20206\/revisions\/20216"}],"wp:attachment":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/media?parent=20206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/categories?post=20206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/tags?post=20206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}