Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 02/04/2024, à 12:36

petitbouchon

installation ubuntu noble 24.04 arm64 sur un RPi5

Bonjour,
J'ai installé la version arm64 de 24.04 sur un RPi5.
1 - je n'ai pas pu mettre en place ros2 rolling (version prévue)
2 - j'ai installé tigervncserver sur le RPi5 avec noble, le résultat :

moi@raspi5-noble:~$ cat ~/.vnc/xstartup
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

# Assurez-vous que la session GNOME est configurée pour démarrer correctement.
export XKL_XMODMAP_DISABLE=1
# Optionnellement, vous pouvez aussi ajouter les lignes suivantes pour une meilleure intégration
 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
gnome-session
moi@raspi5-noble:~$ 
moi@raspi5-noble:~$ cat /etc/systemd/system/vncserver@.service
[Unit]
Description=Start TigerVNC server at startup
After=syslog.target network.target

[Service]
Type=simple
User=moi
Group=moi
WorkingDirectory=/home/moi

PIDFile=/home/someuser/.vnc/%H:590%i.pid
ExecStartPre=-/bin/sh -c "/usr/bin/vncserver -kill :%i > /dev/null 2>&1"
ExecStart=/usr/bin/vncserver -fg -depth 24 -geometry 1920x1080 -localhost no :%i
ExecStop=/usr/bin/vncserver -kill :%i

[Install]
WantedBy=multi-user.target
moi@raspi5-noble:~$ 

Le serveurvnc fonctionne mais ci-dessous status du serveur avec erreur landlock à la fin.

moi@raspi5-noble:~$ sudo systemctl status vncserver@2.service
● vncserver@2.service - Start TigerVNC server at startup
     Loaded: loaded (/etc/systemd/system/vncserver@.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-01 18:28:00 CEST; 31min ago
    Process: 1467 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill :2 > /dev/null 2>&1 (code=exited, status=1/FAILURE)
   Main PID: 1535 (vncserver)
      Tasks: 312 (limit: 9078)
     Memory: 529.1M (peak: 565.1M)
        CPU: 26.676s
     CGroup: /system.slice/system-vncserver.slice/vncserver@2.service
             ├─1535 /usr/bin/perl /usr/bin/vncserver -fg -depth 24 -geometry 1920x1080 -localhost no :2
             ├─1647 /usr/bin/Xtigervnc :2 -localhost=0 -desktop "raspi5-noble:2 (moi)" -rfbport 5902 -PasswordFile /tmp/tigervnc.OwZcW7/passwd -SecurityTy>
             ├─1651 /bin/sh /home/moi/.vnc/xstartup
             ├─1652 /usr/libexec/gnome-session-binary
             ├─1656 dbus-launch --exit-with-session /usr/libexec/gnome-session-binary
             ├─1657 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session
             ├─1664 /usr/libexec/at-spi-bus-launcher
             ├─1677 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/hom>
             ├─1845 /usr/bin/gnome-keyring-daemon --start --components=secrets
             ├─1863 /usr/bin/gnome-shell
             ├─1875 /usr/libexec/gvfsd
             ├─1926 /usr/libexec/mutter-x11-frames
             ├─1943 /usr/libexec/at-spi2-registryd --use-gnome-session
             ├─2264 /usr/libexec/xdg-permission-store
             ├─2272 /usr/libexec/gnome-shell-calendar-server
             ├─2302 /usr/libexec/evolution-source-registry
             ├─2365 /usr/libexec/goa-daemon
             ├─2367 /usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.Shell.Notifications
             ├─2370 /usr/libexec/gsd-usb-protection
             ├─2374 /usr/libexec/gsd-wacom
             ├─2381 ibus-daemon --panel disable --xim
             ├─2385 /usr/libexec/gsd-media-keys
             ├─2391 /usr/libexec/gsd-rfkill
             ├─2394 /usr/libexec/gsd-a11y-settings
             ├─2404 /usr/libexec/gsd-xsettings
             ├─2416 /usr/libexec/goa-identity-service
             ├─2424 /usr/libexec/evolution-calendar-factory
             ├─2430 /usr/libexec/gsd-power
             ├─2449 /usr/libexec/gsd-screensaver-proxy
             ├─2457 /usr/libexec/gsd-color
             ├─2484 /usr/libexec/gsd-print-notifications
             ├─2485 /usr/libexec/gsd-sharing
             ├─2491 /usr/libexec/gsd-datetime
             ├─2501 /usr/libexec/gsd-smartcard
             ├─2505 /usr/libexec/gsd-housekeeping
             ├─2516 /usr/libexec/gsd-wwan
             ├─2522 /usr/libexec/evolution-addressbook-factory
             ├─2540 /usr/libexec/gsd-sound
             ├─2562 /usr/libexec/gsd-keyboard
             ├─2569 /usr/libexec/ibus-dconf
             ├─2575 /usr/libexec/ibus-extension-gtk3
             ├─2608 /usr/libexec/ibus-x11 --kill-daemon
             ├─2621 /usr/libexec/ibus-portal
             ├─2635 /usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.ScreenSaver
             ├─2699 /usr/libexec/gsd-printer
             ├─2706 /usr/libexec/gvfs-udisks2-volume-monitor
             ├─2719 /usr/lib/aarch64-linux-gnu/indicator-messages/indicator-messages-service
             ├─2747 /usr/libexec/gsd-disk-utility-notify
             ├─2761 /usr/libexec/tracker-miner-fs-3
             ├─2775 /usr/libexec/evolution-data-server/evolution-alarm-notify
             ├─2831 /usr/libexec/ibus-engine-simple
             ├─2904 /usr/libexec/dconf-service
             ├─2969 /usr/libexec/gvfsd-trash --spawner :1.9 /org/gtk/gvfs/exec_spaw/0
             ├─3041 /usr/libexec/xdg-desktop-portal
             ├─3077 /usr/libexec/xdg-desktop-portal-gnome
             ├─3387 /usr/libexec/gvfsd-metadata
             ├─3392 /usr/libexec/xdg-desktop-portal-gtk
             └─4033 gjs /usr/share/gnome-shell/extensions/ding@rastersoft.com/app/ding.js -E -P /usr/share/gnome-shell/extensions/ding@rastersoft.com/app

avril 01 18:28:19 raspi5-noble org.gnome.Shell.desktop[1863]: DING: DBus interface for Nautilus (org.gnome.Nautilus.FileOperations2) is now available.
avril 01 18:28:19 raspi5-noble org.gnome.Shell.desktop[1863]: DING: DBus interface for Nautilus (org.freedesktop.FileManager1) is now available.
avril 01 18:28:19 raspi5-noble org.gnome.Shell.desktop[1863]: DING: ** Message: 18:28:19.587: Connecting to org.freedesktop.Tracker3.Miner.Files
avril 01 18:28:19 raspi5-noble org.gnome.Shell.desktop[1863]: DING: GNOME nautilus 46.0
avril 01 18:28:32 raspi5-noble tracker-miner-f[4344]: Could not get landlock supported ABI: Operation not supported
avril 01 18:28:32 raspi5-noble tracker-miner-f[4344]: Refusing to extract file data since Landlock could not be enabled. Update your kernel to fix this wa>
avril 01 18:29:08 raspi5-noble gnome-shell[1863]: JS ERROR: Gio.IOErrorEnum: Error removing file /home/moi/.cache/gnome-shell-disable-extensions: No such >
                                                  init/<@resource:///org/gnome/shell/ui/extensionSystem.js:68:25
                                                  @resource:///org/gnome/shell/ui/init.js:21:20
avril 01 18:29:10 raspi5-noble update-notifier[4402]: already running?
avril 01 18:32:10 raspi5-noble dbus-daemon[1657]: [session uid=1002 pid=1655] Activating service name='org.gnome.DejaDup' requested by ':1.73' (uid=1002 p>
avril 01 18:32:10 raspi5-noble dbus-daemon[1657]: [session uid=1002 pid=1655] Successfully activated service 'org.gnome.DejaDup'
moi@raspi5-noble:~$ sudo systemctl status vncserver@2.service
● vncserver@2.service - Start TigerVNC server at startup
     Loaded: loaded (/etc/systemd/system/vncserver@.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-01 18:28:00 CEST; 33min ago
    Process: 1467 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill :2 > /dev/null 2>&1 (code=exited, status=1/FAILURE)
   Main PID: 1535 (vncserver)
      Tasks: 312 (limit: 9078)
     Memory: 529.0M (peak: 565.1M)
        CPU: 26.872s
     CGroup: /system.slice/system-vncserver.slice/vncserver@2.service
             ├─1535 /usr/bin/perl /usr/bin/vncserver -fg -depth 24 -geometry 1920x1080 -localhost no :2
             ├─1647 /usr/bin/Xtigervnc :2 -localhost=0 -desktop "raspi5-noble:2 (moi)" -rfbport 5902 -PasswordFile /tmp/tigervnc.OwZcW7/passwd -SecurityTypes VncAuth,TLSVnc -auth /home/moi/>
             ├─1651 /bin/sh /home/moi/.vnc/xstartup
             ├─1652 /usr/libexec/gnome-session-binary
             ├─1656 dbus-launch --exit-with-session /usr/libexec/gnome-session-binary
             ├─1657 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session
             ├─1664 /usr/libexec/at-spi-bus-launcher
             ├─1677 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/home/moi/.cache/at-spi/bus_2
             ├─1845 /usr/bin/gnome-keyring-daemon --start --components=secrets
             ├─1863 /usr/bin/gnome-shell
             ├─1875 /usr/libexec/gvfsd
             ├─1926 /usr/libexec/mutter-x11-frames
             ├─1943 /usr/libexec/at-spi2-registryd --use-gnome-session
             ├─2264 /usr/libexec/xdg-permission-store
             ├─2272 /usr/libexec/gnome-shell-calendar-server
             ├─2302 /usr/libexec/evolution-source-registry
             ├─2365 /usr/libexec/goa-daemon
             ├─2367 /usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.Shell.Notifications
             ├─2370 /usr/libexec/gsd-usb-protection
             ├─2374 /usr/libexec/gsd-wacom
             ├─2381 ibus-daemon --panel disable --xim
             ├─2385 /usr/libexec/gsd-media-keys
             ├─2391 /usr/libexec/gsd-rfkill
             ├─2394 /usr/libexec/gsd-a11y-settings
             ├─2404 /usr/libexec/gsd-xsettings
             ├─2416 /usr/libexec/goa-identity-service
             ├─2424 /usr/libexec/evolution-calendar-factory
             ├─2430 /usr/libexec/gsd-power
             ├─2449 /usr/libexec/gsd-screensaver-proxy
             ├─2457 /usr/libexec/gsd-color
             ├─2484 /usr/libexec/gsd-print-notifications
             ├─2485 /usr/libexec/gsd-sharing
             ├─2491 /usr/libexec/gsd-datetime
             ├─2501 /usr/libexec/gsd-smartcard
             ├─2505 /usr/libexec/gsd-housekeeping
             ├─2516 /usr/libexec/gsd-wwan
             ├─2522 /usr/libexec/evolution-addressbook-factory
             ├─2540 /usr/libexec/gsd-sound
             ├─2562 /usr/libexec/gsd-keyboard
             ├─2569 /usr/libexec/ibus-dconf
             ├─2575 /usr/libexec/ibus-extension-gtk3
             ├─2608 /usr/libexec/ibus-x11 --kill-daemon
             ├─2621 /usr/libexec/ibus-portal
             ├─2635 /usr/bin/gjs -m /usr/share/gnome-shell/org.gnome.ScreenSaver
             ├─2699 /usr/libexec/gsd-printer
             ├─2706 /usr/libexec/gvfs-udisks2-volume-monitor
             ├─2719 /usr/lib/aarch64-linux-gnu/indicator-messages/indicator-messages-service
             ├─2747 /usr/libexec/gsd-disk-utility-notify
             ├─2761 /usr/libexec/tracker-miner-fs-3
             ├─2775 /usr/libexec/evolution-data-server/evolution-alarm-notify
             ├─2831 /usr/libexec/ibus-engine-simple
             ├─2904 /usr/libexec/dconf-service
             ├─2969 /usr/libexec/gvfsd-trash --spawner :1.9 /org/gtk/gvfs/exec_spaw/0
             ├─3041 /usr/libexec/xdg-desktop-portal
             ├─3077 /usr/libexec/xdg-desktop-portal-gnome
             ├─3387 /usr/libexec/gvfsd-metadata
             ├─3392 /usr/libexec/xdg-desktop-portal-gtk
             └─4033 gjs /usr/share/gnome-shell/extensions/ding@rastersoft.com/app/ding.js -E -P /usr/share/gnome-shell/extensions/ding@rastersoft.com/app

avril 01 18:28:19 raspi5-noble org.gnome.Shell.desktop[1863]: DING: DBus interface for Nautilus (org.gnome.Nautilus.FileOperations2) is now available.
avril 01 18:28:19 raspi5-noble org.gnome.Shell.desktop[1863]: DING: DBus interface for Nautilus (org.freedesktop.FileManager1) is now available.
avril 01 18:28:19 raspi5-noble org.gnome.Shell.desktop[1863]: DING: ** Message: 18:28:19.587: Connecting to org.freedesktop.Tracker3.Miner.Files
avril 01 18:28:19 raspi5-noble org.gnome.Shell.desktop[1863]: DING: GNOME nautilus 46.0
avril 01 18:28:32 raspi5-noble tracker-miner-f[4344]: Could not get landlock supported ABI: Operation not supported
avril 01 18:28:32 raspi5-noble tracker-miner-f[4344]: Refusing to extract file data since Landlock could not be enabled. Update your kernel to fix this warning.
avril 01 18:29:08 raspi5-noble gnome-shell[1863]: JS ERROR: Gio.IOErrorEnum: Error removing file /home/moi/.cache/gnome-shell-disable-extensions: No such file or directory
                                                  init/<@resource:///org/gnome/shell/ui/extensionSystem.js:68:25
                                                  @resource:///org/gnome/shell/ui/init.js:21:20
avril 01 18:29:10 raspi5-noble update-notifier[4402]: already running?
avril 01 18:32:10 raspi5-noble dbus-daemon[1657]: [session uid=1002 pid=1655] Activating service name='org.gnome.DejaDup' requested by ':1.73' (uid=1002 pid=4547 comm="/usr/libexec/deja-dup>
avril 01 18:32:10 raspi5-noble dbus-daemon[1657]: [session uid=1002 pid=1655] Successfully activated service 'org.gnome.DejaDup'
moi@raspi5-noble:~$
moi@raspi5-noble:~$ uname -a
Linux raspi5-noble 6.8.0-1001-raspi #1-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 27 16:56:12 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
moi@raspi5-noble:~$

3 - retour des problèmes des applications snap utilisées avec VNC

moi@raspi5-noble:~$ firefox
/system.slice/system-vncserver.slice/vncserver@2.service is not a snap cgroup
moi@raspi5-noble:~$ chromium
/system.slice/system-vncserver.slice/vncserver@2.service is not a snap cgroup
moi@raspi5-noble:~$ chromium
/system.slice/system-vncserver.slice/vncserver@2.service is not a snap cgroup
moi@raspi5-noble:~

Dernière modification par petitbouchon (Le 02/04/2024, à 16:06)

Hors ligne