Cara Pasang WSL2 Dan Desktop Ubuntu (GUI) Dalam Windows 10

Mfauzy
Mfauzy
1.1 هزار بار بازدید - 8 ماه پیش - Windows Subsystem for Linux (WSL2)
Windows Subsystem for Linux (WSL2) membolehkan anda memasang terminal Linux dan persekitaran desktop lengkap dengan antara muka pengguna grafik (GUI)

00:00 - Pengenalan
00:30 - Pasang WSL2
01:10 - Pasang Ubuntu 20.04
03:23 - Pasang Desktop Ubuntu
04:02 - Pasang Xrdp
05:42 - Capai Desktop Ubuntu
07:12 - Tukar port 3389 ke 3390

PASANG WSL2
1. Buka Command Prompt sebagai Administrator
2. wsl --install --no-distribution --web-download
3. Mulakan semula komputer (restart)

PASANG UBUNTU
1. Buka Command Prompt sebagai Administrator
2. wsl --install Ubuntu-20.04 --web-download
3. Taip nama pengguna baru & kata laluan
4. sudo apt update
5. sudo apt upgrade
6. exit

PASANG DESKTOP DAN XRDP
1. Buka terminal Ubuntu
2. sudo apt-mark hold acpid acpi-support
3. sudo apt install -y ubuntu-desktop-minimal
4. sudo apt -y install xrdp
5. Cipta fail .xsessionrc
export GNOME_SHELL_SESSION_MODE=ubuntu
export XDG_CURRENT_DESKTOP=ubuntu:GNOME
export XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop
export WAYLAND_DISPLAY=
export XDG_CONFIG_DIRS=/etc/xdg

6. exit

CAPAI DESKTOP (GUI)
1. Buka terminal Ubuntu
2. Buka Remote Desktop Connection
3. Taip 'localhost'
4. Log masuk Xrdp

SPESIFIKASI KOMPUTER
Windows 10 Home Single Language
Version 22H2
OS build 19045.3803
Processor AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx 2.60 GHz
Installed RAM 8.00 GB (5.94 GB usable)
System type 64-bit operating system, x64-based processor

#linux #linuxterminal #linuxubuntu
8 ماه پیش در تاریخ 1402/10/04 منتشر شده است.
1,112 بـار بازدید شده
... بیشتر