개발/linux,ubuntu,centos 4

window wsl2 systemctl 활성화

윈도우 터미널에서 지원하는 wsl2 ubuntu 22-04 버전은 기본적으로 systemctl 을 지원하지 않습니다. 그래서 수동 설정으로 사용할 수 있도록 설정을 해야하는데 방법은 sudo apt install git git clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git cd ubuntu-wsl2-systemd-script sudo bash ubuntu-wsl2-systemd-script.sh --force 위의 명령어를 순서대로 입력해 서 설치하고 터미널을 재시작 하시면 systemctl 이 활성화 됩니다.

리눅스 linux 우분투 ubuntu Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.PermissionsInvalid: The permission of the setuid helper is not correct , Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.PermissionsInvalid: The permission of the s..

윈도우 wsl 에서 uibuntu 22-04 버전을 사용하던 중 Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.PackageKit: Permission denied 혹 Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.PermissionsInvalid: The permission of the setuid helper is not correct 이런 에러가 뜨는 현상이 발생했습니다. 그래서 구글링을 한 결과 https://lists.debian.org/debian-user/2015/08/msg01066.html [SOLVE..