Desktop environment installation.
Install a desktop environment.
[root@www ~]# dnf -y group install "Basic Desktop" GNOME
Start Desktop. (Since the terminal may freeze after setting, please open the terminal again and proceed with the setting.)
[root@www ~]# startx
Make login settings.
[root@www ~]# systemctl set-default graphical.target
[root@www ~]# systemctl set-default
[root@www ~]# ll /etc/systemd/system/default.target
Restart.
[root@www ~]# reboot
Note: Install either VNC server or Xrdp server. If both are installed, it may not be displayed. Xrdp server is recommended.
Setting up a VNC server.
Install a VNC server.
root@www:~# dnf -y install tigervnc-server
Log in as the user for whom you want to set the VNC connection, and set a password (up to 8 alphanumeric characters) on the VNC server.
root@www:~# vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
Create a VNC server configuration file.
root@www:~# vi ~/.vnc/config
session=gnome
securitytypes=vncauth,tlsvnc
geometry=800x600
Make the VNC server available with root privileges.
root@www:~# vi /etc/tigervnc/vncserver.users
# TigerVNC User assignment
#
# This file assigns users to specific VNC display numbers.
# The syntax is <display>=<username>. E.g.:
#
# :2=andrew
# :3=lisa
:1=root
:2=webmaster
Start a VNC server.
root@www:~# systemctl enable --now vncserver@:1 vncserver@:2
Restart
root@www:~# reboot
Download UltraVNC_1_2_40_X64_Setup.exe of UltraVNC to the client PC. (There is a download link at the bottom of the page.)
UltraVNC
UltraVNC_1_2_40_X64_Setup.exe
Select 32bit, 64bit and click “DOWNLOAD”.
Select “I accept the above listed conditions” and click “Download”.
Double-click the downloaded “UltraVNC_***_Setup.exe” icon to install.
Click “Windows Start Menu” and start “UltraVNC Viewer”.
Enter the IP address of the VNC server you started earlier: Display number and click “Connect”.
Enter your VNC password and click Log on.
Your desktop will appear.
Xrdp server settings.
Install and configure the Xrdp server so that you can connect using the Windows remote desktop function.
[root@www ~]# dnf -y install xrdp tigervnc-server
Set autostart.
[root@www ~]# systemctl enable --now xrdp
From the Windows Start menu, select “Accessories” → “Remote Desktop Connection” to launch the connection screen.
Enter the server IP address and click “Connect”.
Enter “usermame” (user name), “password” (password) and click “OK”.
Your desktop will appear.
Japanese environment settings.
Install the Japanese environment package.
[root@www ~]# dnf -y install ibus-kkc vlgothic-*
Sets the system character set.
[root@www ~]# localectl set-locale LANG=ja_JP.UTF-8
[root@www ~]# source /etc/locale.conf
Check your settings.
[root@www ~]# echo $LANG
ja_JP.UTF-8
コメント