Я бы для начала глянул на /etc/passwd и /etc/group
$ sudo lspci -vnn | grep -i VGA -A 18
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218 [GeForce 210] [10de:0a65] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] N210 [Geforce 210] PCIe graphics adapter [1462:8094]
Flags: bus master, fast devsel, latency 0, IRQ 136
Memory at 90000000 (32-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
Memory at 4010000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [size=128]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
<template>
<div v-if="situation1">
(шаблон 1, здесь ссылки на Comp1...CompN, var1...varN, fn1...fnN)
</div>
<div v-else>
(шаблон 2, здесь ссылки на Comp1...CompN, var1...varN, fn1...fnN)
</div>
</template>
<script>
import Comp1 from '@/components/Comp1'
import Comp2 from '@/components/Comp2'
...
import CompN from '@/components/CompN'
export default {
name: 'MyComponent',
components: {
Comp1,
Comp2,
...
CompN
},
data: () => {
return {
var1: null,
var2: null,
...
varN
}
},
methods: {
fn1()...
fn2()...
fnN()...
},
...
}
</script>
sudo loginctl enable-linger $(whoami)
export PATH=/usr/bin:$PATH
export DOCKER_HOST=unix:///run/user/1000/docker.sock
systemctl --user status -l $SERVICE
$ systemctl --user enable --now docker
$systemctl --user start docker
$ systemctl --user is-enabled docker
enabled
$ docker ps
Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?
$ systemctl --user is-enabled docker
enabled
$ systemctl --user start docker
Failed to start docker.service: Unit docker.service not found.
$ systemctl --user list-unit-files docker.service
UNIT FILE STATE
docker.service enabled
$systemctl --user start docker
Failed to start docker.service: Unit docker.service not found.
Чудеса)) Заработало!
Теперь, если не трудно, объясните пожалуйста фокус)
Почему до того, как юзеру 1 не давали права на папку юзера 2, сам юзер 2 мог работать? Или права на папку .ssh юзера 2 меняются как-то в момент включения юзера 1 в группу юзера 2 ?