我正在尝试安装 Chrome 远程桌面,我正在阅读有关如何安装它的常见问题解答,但它没有说太多 AFAIK。
使用 Ubuntu Gnome 14.04,.chrome-remote-desktop-session
文件的内容应该是什么?
我.chrome-remote-desktop-session
用一行创建了所需的文件:
gnome-session
Run Code Online (Sandbox Code Playgroud)
但是,启动远程桌面会话只会导致空白屏幕。我曾尝试寻找解决方案,但没有一个是最新的,也没有为解决方案提供有用的提示。我也尝试过gnome-session-classic
,但也没有运气。
为什么网络浏览器的内存如此之重?我用两个标签打开了 Firefox,它占用了 800 MB 以上的内存,带有四个标签的 Chrome 占用了 1.2 GB!我的意思是,消耗这么多内存是怎么回事?
我正在学习 UTF-8 标准,这就是我正在学习的内容:
Definition and bytes used
UTF-8 binary representation Meaning
0xxxxxxx 1 byte for 1 to 7 bits chars
110xxxxx 10xxxxxx 2 bytes for 8 to 11 bits chars
1110xxxx 10xxxxxx 10xxxxxx 3 bytes for 12 to 16 bits chars
11110xxx 10xxxxxx 10xxxxxx 10xxxxxx 4 bytes for 17 to 21 bits chars
Run Code Online (Sandbox Code Playgroud)
我想知道,为什么10xxxxxx
不是2 字节的 UTF-8 代码,而是使用 4 字节的 UTF-8 代码获得 1 位到 22 位?现在的情况是,丢失了 64 个可能的值(从1000000
到10111111
)。我不是要争论标准,但我想知道为什么会这样?
**编辑**
甚至,为什么不是
UTF-8 binary representation …
Run Code Online (Sandbox Code Playgroud) 有一个服务器已经设置了一段时间,我需要更改一些设置,其中一个是具有超级用户权限的用户。但是,我到处都在告诉使用visudo
或编辑/etc/sudoers
,但是这台服务器上不存在这些东西。
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
$ whereis visudo
visudo:
$ visudo
-bash: visudo: command not found
$ ls -l /etc/sudoers
ls: cannot access '/etc/sudoers': No such file or directory
Run Code Online (Sandbox Code Playgroud)
那个配置在哪里?
需要明确的是,用户可以su
没有密码,因此可以在某处进行设置,但由于/etc/sudoers
不存在visudo
且未安装(也未安装sudo
),那么该配置在哪里?