#author("2025-08-15T03:51:22+00:00;2025-08-10T10:02:52+00:00","default:sysosa","sysosa")
#author("2025-10-25T16:40:28+00:00;2025-08-10T10:02:52+00:00","default:sysosa","sysosa")
本家リリースノート [[https://docs.rockylinux.org/release_notes/10_0/>+https://docs.rockylinux.org/release_notes/10_0/]]
-kernel-6.12.0   (RL9は	5.14, ubuntu24.04は 6.8, ubuntu22.04は 5.15)
-Python 3.12 (RL9は 3.9, ubuntu24.04は 3.12.3, ubuntu22.04は 3.10.4)
-gcc 14.2.1 (RL9は 11.5.0)
-glibc 2.39 (RL9は 2.34, ubuntu24.04は 2.39, ubuntu22.04は 2.35) 
-gnome-shell 47.4 (GNOME 47と見做しいいと思う. RL9は40.10、ubuntu24.04は 46.0、ubuntu22.04は42.0)
-Wayland 1.23.0
-xorg-server 未搭載

ざっと触った感じ. やっぱりkernelが新しいのできびきびしている.
GENOME環境で右クリックからTerminalメニューがない. GNOME-classic環境はdnf installで入るけど、こちらも画面上の右クリックメニューからTerminalがない..
っがともに ファイラー の中で右クリックメニューに「Open in Console」が表示され、Teminalが立ち上がる

従来「GNOME Classic」環境で画面中どこでも右クリックメニューに「Open in Terminal」が出て、「Standard(X11 display server)」環境ならファイラーの枠内で右クリックメニューに「Open in Terminal」でターミナル(端末)が使えた.

RockyLinux10 では後者のファイラーの枠内で右クリックメニューに「Open in Console」として存在して、ターミナル(端末)が利用できるみたい,
genome-shell 47.4 採用のせいかな.

***OSインストール [#y4c4cd4a]
proxmoxで作っているが、GPUを搭載してのOSインストールに成功しない. GPUを外すと可能.


***nvidia driverインストール [#s5cd7ae5]
#code(nonumber){{
[root@rockylinux10 ~]# cat /etc/redhat-release
Rocky Linux release 10.0 (Red Quartz)

[root@rockylinux10 ~]# grubby --update-kernel ALL --args "nouveau.modeset=0 modprobe.blacklist=nouveau ipv6.disable=1"
[root@rockylinux10 ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
[root@rockylinux10 ~]# grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg
[root@rockylinux10 ~]# reboot
}}
再起動後に
#code(nonumber){{
[root@rockylinux10 ~]# systemctl isolate multi-user.target
[root@rockylinux10 ~]# rmmod nouveau
[root@rockylinux10 ~]# bash /Public/cuda/NVIDIA-Linux-x86_64-570.181.run -Z
}}

***ディスクトップ画面上の右クリックでターミナルを起動させる [#a8a165f5]
ファイラーを開いて特定のフォルダ内で右クリックすると「Open in Console」が項目として表示され、それを選択するとターミナルが立ち上がる
でもファイラを開くことなくディスクトップ画面上で右クリックしてターミナルを立ち上げたい.

方法としては「gnome-shell-extension-custom-menu」を活用するとか。
ここでは「gnome-shell-extension*」な全てを入れてできるようにしてます。
#code(nonumber){{
[root@rockylinux10 ~]# dnf install yum-utils -y
[root@rockylinux10 ~]# dnf repolist all
 :
[root@rockylinux10 ~]# yum-config-manager --enable crb
[root@rockylinux10 ~]# dnf install gnome-shell-extension*
}}
ユーザ権限でログインして、画面左上のアイコンをクリックしてから、画面中央のメニュー欄から「Show Apps」をクリックします
&ref(2025y08m07d_165757719.png,nolink,80%);

タイル状に配置されたアプリケーションから「Extensions」を選択します。
&ref(2025y08m07d_170008655.png,nolink,80%);

「Extensions」画面が表示されて先ほどdnfでインストールした「gnome-shell-extension*」らが反映されております。
&ref(2025y08m07d_170249238.png,nolink,80%);

この中で「Custom menu」を有効にすると、デスクトップ上でマウスの右クリックを押下すると「Edit menu」を表記されます。
&ref(2025y08m07d_170408597.png,nolink,80%);  &ref(2025y08m07d_170608365.png,nolink,80%);

この「Edit menu」は「$HOME/.entries.json」を編集すればいろいろ項目とかが作れるみたい。
&ref(2025y08m07d_013617459.png,nolink,80%);

サンプルがある[[https://github.com/andreabenini/gnome-plugin.custom-menu-panel/blob/main/examples/.entries.json>+https://github.com/andreabenini/gnome-plugin.custom-menu-panel/blob/main/examples/.entries.json]]

っが「gnome-shell」が置けずに「xterm」しか置けなかった。方法はあるのだろうが、今の所不明。なのでwindows likeなディスクトップ画面にして固定されたメニューから起動できるようにしてみた。
先の「Extensions」で「Dash to Panel」「Places Status Indicator」「Workspace Indicator」を有効にしたら下記のようになる
&ref(2025y08m07d_171335331.png,nolink,90%);
しばらくこれでいいかな

***他のディスクトップ環境を使ってみる [#hfb8d02e]

GNOMEはいいのですが、いろいろ自身で手を加えないと使い勝手が向上しない。。
っで他のディスクトップ環境を試してみる

現時点でディスプレイサーバ xorgの代わりとなった Waylandネイティブなディスクトップ環境は少ない模様。
rockylinuxでは KDE が使えるみたい。
[[RockyLinux10/Desktop]]

***自動実行のリスト [#w2011085]
#code(nonumber){{
[root@rockylinux10 ~]# systemctl list-timers --all
NEXT                            LEFT LAST                        PASSED UNIT                         ACTIVATES
Thu 2025-08-07 17:37:55 JST    13min -                                - systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
Thu 2025-08-07 18:24:02 JST    59min -                                - dnf-makecache.timer          dnf-makecache.service
Thu 2025-08-07 18:56:28 JST 1h 31min Thu 2025-08-07 17:14:17 JST      - fwupd-refresh.timer          fwupd-refresh.service
Fri 2025-08-08 00:57:26 JST       7h Thu 2025-08-07 00:12:09 JST      - logrotate.timer              logrotate.service
Fri 2025-08-08 00:58:54 JST       7h Thu 2025-08-07 00:12:09 JST      - plocate-updatedb.timer       plocate-updatedb.service
Sun 2025-08-10 01:00:00 JST   2 days Thu 2025-08-07 00:12:09 JST      - raid-check.timer             raid-check.service
Mon 2025-08-11 00:29:24 JST   3 days Thu 2025-08-07 00:12:09 JST      - fstrim.timer                 fstrim.service

7 timers listed.
[root@rockylinux10 ~]#
}}
「raid-check.service」はsoftware-raidのチェックかな. fstrimはTRIMの模様

***em関連アプリ [#ce5a59fe]
-chimera-1.16
「libXss.so.1」の提供が無くなったのでrockylinux9から拝借
#code(nonumber){{
dnf install https://dl.rockylinux.org/pub/rocky/9/AppStream/x86_64/os/Packages/l/libXScrnSaver-1.2.3-10.el9.x86_64.rpm
}}
-pymol
参照[[PyMOL#y99f7069]]
-chimeraX
rockylinux9ならパッケージがあるのですが、rockylinux10にはない. なので flatpak でインストール
#code(nonumber){{
[root@rockylinux10 ~]# flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

[root@rockylinux10 ~]# flatpak install /Public/em/ChimeraX-1.10.1.flatpak
Required runtime for edu.ucsf.rbvi.ChimeraX/x86_64/master (runtime/org.freedesktop.Platform/x86_64/24.08) found in remote flathub
Do you want to install it? [Y/n]:

edu.ucsf.rbvi.ChimeraX permissions:
    ipc    network    wayland    x11    dri    file access [1]

    [1] home, host, xdg-cache/ChimeraX:create, xdg-config/ChimeraX:create, xdg-data/ChimeraX:create, xdg-desktop, xdg-download/ChimeraX:create


        ID                                                      Branch                  Op              Remote                      Download
 1.     org.freedesktop.Platform.GL.default                     24.08                   i               flathub                     < 155.4&#160;MB
 2.     org.freedesktop.Platform.GL.default                     24.08extra              i               flathub                     < 155.4&#160;MB
 3.     org.freedesktop.Platform.GL.nvidia-570-181              1.4                     i               flathub                     < 299.0&#160;MB
 4.     org.freedesktop.Platform.Locale                         24.08                   i               flathub                     < 382.4&#160;MB (partial)
 5.     org.freedesktop.Platform.openh264                       2.5.1                   i               flathub                     < 971.4&#160;kB
 6.     org.freedesktop.Platform                                24.08                   i               flathub                     < 261.9&#160;MB
 7.     edu.ucsf.rbvi.ChimeraX                                  master                  i               chimerax-origin             0 bytes

Proceed with these changes to the system installation? [Y/n]: Y
Installation complete.
[root@rockylinux10 ~]#
}}
実行は
#code(nonumber){{
[saber@rockylinux10 ~]$ flatpak run edu.ucsf.rbvi.ChimeraX
}}
で行う
-crYOLO
[[crYOLO]]

***X11アプリが使えない [#dd9d37e0]
windowsにXmin/MobaXterm経由、あるいはmacOSからXQuartz経由で Rockylinux10 にSSHでアクセスして X11 アプリをwindows/macOSに表示することは無理。そのままでは。

っで、sshd_configに下記修正を加えて「xorg-x11-xauth」をインストールすれば従来通りにリモートからX11アプリが使えます。
#code(nonumber){{
[root@rockylinux10 ~]# vi /etc/ssh/sshd_config
#X11Forwarding no
 ↓
X11Forwarding yes
[root@rockylinux10 ~]# systemctl restart sshd

[root@rockylinux10 ~]# dnf install xorg-x11-xauth
}}
これで従来通りX11アプリが使えます。

「qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.」と言われたら
#code(nonumber){{
[root@rockylinux10 ~]# dnf install xcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil
}}

glxinfoを調べたら下記のようになっているので普通のX11アプリも大丈夫かと思う
#code(nonumber){{
[root@rockylinux10 ~]# dnf install glx-utils

[root@rockylinux10 ~]# glxinfo|grep -i opengl
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA RTX A2000/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 570.181
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 570.181
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 570.181
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
[root@rockylinux10 ~]#
}}


***Waylandネイティブで。。 [#f21e7a8c]
一応windowsのWSLならそれが出来そうです。だけど肝心のアプリがWaylandに対応しているか微妙。素直に Xwayland様を通して使った方がいいのかも。

***RDPを使ってリモートから画面を呼び出す [#he35e0f5]
参照先 [[https://gitlab.gnome.org/GNOME/gnome-remote-desktop#headless-multi-user-remote-login>+https://gitlab.gnome.org/GNOME/gnome-remote-desktop#headless-multi-user-remote-login]]
「Headless multi user remote login」で作ります。こちらは共通のパスワードでリモートディスクトップに入って、それから個々の認証でログインするスタイル。
vncでXDMCPを繋いで中に入るって感じと同じ.
既に存在するアカウント「gnome-remote-desktop」でカギと証明書を作るところから開始
#code(nonumber){{
[root@rockylinux10 ~]# dnf install freerdp -y
[root@rockylinux10 ~]# getent passwd gnome-remote-desktop
gnome-remote-desktop:x:993:993:GNOME Remote Desktop:/var/lib/gnome-remote-desktop:/usr/sbin/nologin
[root@rockylinux10 ~]#
[root@rockylinux10 ~]# sudo -u gnome-remote-desktop sh -c 'mkdir -p ~/.local/share/gnome-remote-desktop'
[root@rockylinux10 ~]# sudo -u gnome-remote-desktop sh -c 'winpr-makecert -silent -rdp -path ~/.local/share/gnome-remote-desktop tls'

(確認)
[root@rockylinux10 ~]# ls -l /var/lib/gnome-remote-desktop/.local/share/gnome-remote-desktop/
total 8
-rw-r--r--. 1 gnome-remote-desktop gnome-remote-desktop 1018 Aug 10 12:38 tls.crt
-rw-r--r--. 1 gnome-remote-desktop gnome-remote-desktop 1705 Aug 10 12:38 tls.key
[root@rockylinux10 ~]#
}}
&size(10){作った tls.crt の中身は「openssl x509 -text -noout -in /var/lib/gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.crt」};
&size(10){tls.key の中身は「openssl rsa -text -noout -in /var/lib/gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.key」で確認できます};

そしてGNOME Remote Desktop の設定を施します . &size(10){「Init TPM credentials failed because No TPM device found, using GKeyFile as fallback.」と表示されても無視して構わない};
#code(nonumber){{
[root@rockylinux10 ~]# grdctl --system rdp set-tls-key ~gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.key
[root@rockylinux10 ~]# grdctl --system rdp set-tls-cert ~gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.crt

[root@rockylinux10 ~]# grdctl --system rdp set-credentials
Username: access-rdp            <--- windows/macOSからRDPで繋いだ時に問われるアカウントとパスワードを定義
Password:

[root@rockylinux10 ~]# grdctl --system rdp enable
}}


っでデーモンを起動
#code(nonumber){{
[root@rockylinux10 ~]# systemctl daemon-reload
[root@rockylinux10 ~]# systemctl enable gnome-remote-desktop
[root@rockylinux10 ~]# systemctl restart gnome-remote-desktop
}}

あとはfirewallに穴をあける
#code(nonumber){{
[root@rockylinux10 ~]# firewall-cmd --add-service=rdp --zone=public --permanent
[root@rockylinux10 ~]# firewall-cmd --reload
}}

っでwindows/macOSのリモートデスクトップアプリを起動してアクセスを試みます。
&ref(2025y08m10d_125431897.png,nolink,70%);

下記のような画面が表示されるが continue で構わない.
&ref(2025y08m10d_125638905.png,nolink,70%);

メッセージ上の「use redirection server name:i:1」にするにはリモートデスクトップを開いて、「オプションの表示」を有効にして設定接続欄で「保存」を行います
&ref(2025y08m10d_185410089.png,nolink,70%);
「保存」されたファイルは「ドキュメント」フォルダに「Default.rdp」として落ちるのですが、このファイルは不可視ファイルです。フォルダのオプションで
「隠しファイル、隠しフォルダ、および隠しドライブを表示する」に一旦変更して、「Default.rdp」を表示させます。
&ref(2025y08m10d_185634513.png,nolink); &ref(2025y08m10d_185846656.png,nolink);
その上で適当なeditorで開いて、「use redirection server name:i:1」にします。
&ref(2025y08m10d_190059752.png,nolink);
この状態で保存して、再度リモートデスクトップを開いてアクセスするとメッセージが表示されなくなります

***XDMCPを使いたい。 [#q988b535]
xorgがないので無理っぽい。代替には RDP(waylandネイティブ) がいいみたい。

***VirtualGLで高速描画 [#mbc881cb]
、は無理みたい。VirtualGLはxorgが基本なので。RDPの速度に期待するしかないみたい。
1

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS