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
![](https://rcg.jp/wordpress/wp-content/uploads/2022/06/fedora36_desctop0-300.jpg)
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
![UltraVNCをダウンロード](https://rcg.jp/wordpress/wp-content/uploads/2019/06/ultravnc1-400x238.gif)
Select 32bit, 64bit and click “DOWNLOAD”.
![23bit、64bitを選択して「DOWNLOAD」](https://rcg.jp/wordpress/wp-content/uploads/2019/06/ultravnc1-2-400x241.gif)
Select “I accept the above listed conditions” and click “Download”.
![「I accept the above listed conditions」を選択して「Download」](https://rcg.jp/wordpress/wp-content/uploads/2019/06/ultravnc1-3-400x238.gif)
Double-click the downloaded “UltraVNC_***_Setup.exe” icon to install.
![UltraVNC_***_Setup.exe](https://rcg.jp/wordpress/wp-content/uploads/2019/06/ultravnc1-4.gif)
Click “Windows Start Menu” and start “UltraVNC Viewer”.
![Windowsスタートメニュー](https://rcg.jp/wordpress/wp-content/uploads/2019/06/ultravnc2.gif)
Enter the IP address of the VNC server you started earlier: Display number and click “Connect”.
![VNCサーバーのIPアドレス:ディスプレイ番号を入力](https://rcg.jp/wordpress/wp-content/uploads/2019/06/ultravnc3-1.gif)
Enter your VNC password and click Log on.
![VNCパスワードを入力](https://rcg.jp/wordpress/wp-content/uploads/2019/06/ultravnc4.gif)
Your desktop will appear.
![](https://rcg.jp/wordpress/wp-content/uploads/2022/06/fedora36_desctop2-300.jpg)
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.
![スタートメニュー](https://rcg.jp/wordpress/wp-content/uploads/2019/06/xrdp1.gif)
Enter the server IP address and click “Connect”.
![サーバーIPアドレスを入力し「接続」をクリック](https://rcg.jp/wordpress/wp-content/uploads/2019/06/xrdp2-400x248.gif)
Enter “usermame” (user name), “password” (password) and click “OK”.
![](https://rcg.jp/wordpress/wp-content/uploads/2021/04/Almalinux8_xrdp1-400x328.png)
Your desktop will appear.
![](https://rcg.jp/wordpress/wp-content/uploads/2022/06/fedora36_desctop3-300.jpg)
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
コメント