Aller directement au contenu
  • Catégories
  • Récent
  • Mots-clés
  • Populaire
  • Web
  • Utilisateurs
  • Groupes
Habillages
  • Clair
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Sombre
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Défaut (Darkly)
  • Aucun habillage
Réduire

NodeBB

  1. Accueil
  2. General Discussion
  3. Linux
  4. MAJ Raspberry PI Zero W

MAJ Raspberry PI Zero W

Planifié Épinglé Verrouillé Déplacé Linux
raspberrypi zero wexiftoolmplayerffmpeg
85 Messages 2 Publieurs 2.2k Vues
  • Du plus ancien au plus récent
  • Du plus récent au plus ancien
  • Les plus votés
Répondre
  • Répondre à l'aide d'un nouveau sujet
Se connecter pour répondre
Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
  • S Hors-ligne
    S Hors-ligne
    srouviere06
    a écrit sur dernière édition par
    #38

    Bon, avec la nouvelle carte… on dirait que ça se passe mieux
    pas d’erreur
    J’ai installé mplayer et le driver de l’écran
    maintenant, qd je lance la vidéo j’ai :

    pi@raspberrypiFlipper:~ $ export DISPLAY=:0
    pi@raspberrypiFlipper:~ $ mplayer LW3-2.avi
    MPlayer UNKNOWN-12 (C) 2000-2023 MPlayer Team
    do_connect: could not connect to socket
    connect: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    
    Playing LW3-2.avi.
    libavformat version 59.27.100 (external)
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    AVI: No audio stream found -> no sound.
    VIDEO:  [H264]  320x180  24bpp  25.000 fps   46.4 kbps ( 5.7 kbyte/s)
    vo: couldn't open the X11 display (:0)!
    vo: couldn't open the X11 display (:0)!
    vo: couldn't open the X11 display (:0)!
    vo: couldn't open the X11 display (:0)!
    vo: couldn't open the X11 display (:0)!
    VO XOverlay need a subdriver
    [VO_SDL] SDL initialization failed: Unable to open a console terminal.
    vo: couldn't open the X11 display (:0)!
    vo: couldn't open the X11 display (:0)!
    vo: couldn't open the X11 display (:0)!
    vo: couldn't open the X11 display (:0)!
    vo: couldn't open the X11 display (:0)!
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 59.37.100 (external)
    [h264 @ 0xb5e3b3e8]Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe.
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    Clip info:
     Software: Lavf61.7.100
    Load subtitles in ./
    Audio: no sound
    Starting playback...
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    [swscaler @ 0xb6736358]bicubic scaler, from yuv420p to bgra using C
    [swscaler @ 0xb6736358]No accelerated colorspace conversion found from yuv420p to bgra.
    [swscaler @ 0xb6736358]using unscaled yuv420p -> bgra special converter
    VO: [fbdev] 320x180 => 320x180 BGRA
    V:   0.3   8/  8 ??% ??% ??,?% 0 0
    
    
    MPlayer interrupted by signal 2 in module: sleep_timer
    V:   0.3   9/  9 ??% ??% ??,?% 0 0
    
    Exiting... (Quit)
    1 réponse Dernière réponse
    👯
    0
    • fariasF Hors-ligne
      fariasF Hors-ligne
      farias
      a écrit sur dernière édition par
      #39

      Tu as le fichier de configuration de mplayer de l’ancien pour comparer avec celui-ci ?
      Je crois que c’est sous /etc/mplayer/ .

      S 1 réponse Dernière réponse
      0
      • fariasF Hors-ligne
        fariasF Hors-ligne
        farias
        a écrit sur dernière édition par
        #40

        Et aussi il faut :

        lshw -c display
        

        A noter qu’il faut prendre des mp4 et pas des AVI.

        La commande était du type :

        mplayer -nolirc -noquiet -slave -identify -fps 30 -vo fbdev2:/dev/fb1 -vf scale=240:-3 BigBuckBunny_320x180.mp4 -nosound
        
        S 1 réponse Dernière réponse
        0
        • fariasF farias

          Tu as le fichier de configuration de mplayer de l’ancien pour comparer avec celui-ci ?
          Je crois que c’est sous /etc/mplayer/ .

          S Hors-ligne
          S Hors-ligne
          srouviere06
          a écrit sur dernière édition par
          #41

          @farias Non, je ne l’ai plus

          1 réponse Dernière réponse
          0
          • fariasF farias

            Et aussi il faut :

            lshw -c display
            

            A noter qu’il faut prendre des mp4 et pas des AVI.

            La commande était du type :

            mplayer -nolirc -noquiet -slave -identify -fps 30 -vo fbdev2:/dev/fb1 -vf scale=240:-3 BigBuckBunny_320x180.mp4 -nosound
            
            S Hors-ligne
            S Hors-ligne
            srouviere06
            a écrit sur dernière édition par
            #42

            @farias a dit dans MAJ Raspberry PI Zero W :

            mplayer -nolirc -noquiet -slave -identify -fps 30 -vo fbdev2:/dev/fb1 -vf scale=240:-3 BigBuckBunny_320x180.mp4 -nosound
            0

            farias
            Tu as le fichier de configuration de mplayer de l’ancien pour comparer avec celui-ci ?
            Je crois que c’est sous /etc/mplayer/ .

            La vidéo s’affiche sur l’écran mais

            • elle n’est pas en plein écran
            • j’ai un curseur en haut à gauche de l’écran
            • j’ai un scintillement énorme. Je t’envoie une vidéo
            fariasF 1 réponse Dernière réponse
            0
            • S Hors-ligne
              S Hors-ligne
              srouviere06
              a écrit sur dernière édition par
              #43

              J’ai du installer lshw.
              Quand je lance la commande, à l’affichage, j’ai
              PCI (sysfs)
              USB
              mais USB vient s’écrire sur PCI (sysfs)

              puis ensuite :

              pi@raspberrypiFlipper:~ $ sudo lshw
              raspberrypiflipper
                  description: ARMv6-compatible processor rev 7 (v6l)
                  product: Raspberry Pi Zero W Rev 1.1
                  serial: 00000000d1622f06
                  width: 32 bits
                *-core
                     description: Motherboard
                     physical id: 0
                   *-cpu
                        description: CPU
                        product: cpu
                        physical id: 0
                        bus info: cpu@0
                        size: 1GHz
                        capacity: 1GHz
                        capabilities: half thumb fastmult vfp edsp java tls cpufreq
                      *-cache
                           description: L1 Cache
                           physical id: 0
                           size: 16KiB
                   *-memory
                        description: System memory
                        physical id: 1
                        size: 427MiB
                *-usbhost
                     product: DWC OTG Controller
                     vendor: Linux 6.12.43+ dwc_otg_hcd
                     physical id: 1
                     bus info: usb@1
                     logical name: usb1
                     version: 6.12
                     capabilities: usb-2.00
                     configuration: driver=hub slots=1 speed=480Mbit/s
                *-mmc0
                     description: MMC Host
                     physical id: 2
                     logical name: mmc0
                   *-device
                        description: SD Card
                        product: SD64G
                        vendor: Unknown (39)
                        physical id: 5048
                        logical name: /dev/mmcblk0
                        version: 6.0
                        date: 03/2021
                        serial: 26164439
                        size: 56GiB (60GB)
                        capabilities: sd partitioned partitioned:dos
                        configuration: logicalsectorsize=512 sectorsize=512 signature=324e7c1b
                      *-volume:0
                           description: Windows FAT volume
                           vendor: mkfs.fat
                           physical id: 1
                           logical name: /dev/mmcblk0p1
                           logical name: /boot/firmware
                           version: FAT32
                           serial: 0512-6085
                           size: 503MiB
                           capacity: 512MiB
                           capabilities: primary fat initialized
                           configuration: FATs=2 filesystem=fat label=bootfs mount.fstype=vfat mount.options=rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro state=mounted
                      *-volume:1
                           description: EXT4 volume
                           vendor: Linux
                           physical id: 2
                           logical name: /dev/mmcblk0p2
                           logical name: /
                           version: 1.0
                           serial: bbd12f80-9a62-4baf-b67b-c7ece572d713
                           size: 56GiB
                           capacity: 56GiB
                           capabilities: primary journaled extended_attributes large_files dir_nlink recover extents ext4 ext2 initialized
                           configuration: created=2025-05-13 02:20:33 filesystem=ext4 label=rootfs lastmountpoint=/ modified=2025-08-29 09:12:58 mount.fstype=ext4 mount.options=rw,noatime mounted=2025-08-28 19:17:02 state=mounted
                *-mmc1
                     description: MMC Host
                     physical id: 3
                     logical name: mmc1
                   *-device
                        description: SDIO Device
                        physical id: 1
                        bus info: mmc@1:0001
                        serial: 0
                        capabilities: sdio
                      *-interface:0
                           description: Wireless interface
                           product: 43430
                           vendor: Broadcom
                           physical id: 1
                           bus info: mmc@1:0001:1
                           logical name: mmc1:0001:1
                           logical name: wlan0
                           serial: b8:27:eb:37:7a:53
                           capabilities: ethernet physical wireless
                           configuration: broadcast=yes driver=brcmfmac driverversion=7.45.98 firmware=01-8e14b897 ip=192.168.1.16 multicast=yes wireless=IEEE 802.11
                      *-interface:1
                           product: 43430
                           vendor: Broadcom
                           physical id: 2
                           bus info: mmc@1:0001:2
                           logical name: mmc1:0001:2
                *-sound
                     description: b1
                     physical id: 4
                     logical name: card0
                     logical name: /dev/snd/controlC0
                     logical name: /dev/snd/pcmC0D0p
                     logical name: /dev/snd/pcmC0D1p
                *-graphics:0
                     product: BCM2708 FB
                     physical id: 5
                     logical name: /dev/fb0
                     capabilities: fb
                     configuration: depth=32 resolution=480,320
                *-graphics:1
                     product: fb_ili9486
                     physical id: 6
                     logical name: /dev/fb1
                     capabilities: fb
                     configuration: depth=16 resolution=480,320
                *-input
                     product: ADS7846 Touchscreen
                     physical id: 7
                     logical name: input0
                     logical name: /dev/input/event0
                     logical name: /dev/input/mouse0
                     capabilities: spi
              pi@raspberrypiFlipper:~ $
              1 réponse Dernière réponse
              👍
              0
              • S srouviere06

                @farias a dit dans MAJ Raspberry PI Zero W :

                mplayer -nolirc -noquiet -slave -identify -fps 30 -vo fbdev2:/dev/fb1 -vf scale=240:-3 BigBuckBunny_320x180.mp4 -nosound
                0

                farias
                Tu as le fichier de configuration de mplayer de l’ancien pour comparer avec celui-ci ?
                Je crois que c’est sous /etc/mplayer/ .

                La vidéo s’affiche sur l’écran mais

                • elle n’est pas en plein écran
                • j’ai un curseur en haut à gauche de l’écran
                • j’ai un scintillement énorme. Je t’envoie une vidéo
                fariasF Hors-ligne
                fariasF Hors-ligne
                farias
                a écrit sur dernière édition par
                #44

                @srouviere06 Pour jouer la vidéo tu fais quelle commande ?

                S 1 réponse Dernière réponse
                0
                • fariasF farias

                  @srouviere06 Pour jouer la vidéo tu fais quelle commande ?

                  S Hors-ligne
                  S Hors-ligne
                  srouviere06
                  a écrit sur dernière édition par
                  #45

                  @farias exactement celle que tu m’as donné

                  1 réponse Dernière réponse
                  0
                  • fariasF Hors-ligne
                    fariasF Hors-ligne
                    farias
                    a écrit sur dernière édition par
                    #46

                    Dans mplayer tu as essayer de forcer le 480 via : "-vf scale=480:-3 " ? Sur mon exemple on était en 240.
                    Mais toi tu as :
                    “configuration: depth=32 resolution=480,320”

                    1 réponse Dernière réponse
                    0
                    • S Hors-ligne
                      S Hors-ligne
                      srouviere06
                      a écrit sur dernière édition par
                      #47

                      Effectivement, maintenant c’est plein écran
                      Par contre j’ai toujours le curseur et le scintillement

                      pi@raspberrypiFlipper:~ $ mplayer -nolirc -noquiet -slave -identify -fps 30 -vo fbdev2:/dev/fb1 -vf scale=480:-3 LW3Org.mp4 -nosound
                      MPlayer UNKNOWN-12 (C) 2000-2023 MPlayer Team
                      
                      Playing LW3Org.mp4.
                      libavformat version 59.27.100 (external)
                      libavformat file format detected.
                      [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb6637a58]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
                      ID_VIDEO_ID=0
                      [lavf] stream 0: video (h264), -vid 0
                      ID_AUDIO_ID=0
                      [lavf] stream 1: audio (aac), -aid 0, -alang und
                      VIDEO:  [H264]  640x360  24bpp  29.970 fps  366.5 kbps (44.7 kbyte/s)
                      Opening video filter: [scale w=480 h=-3]
                      ==========================================================================
                      Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
                      libavcodec version 59.37.100 (external)
                      [h264 @ 0xb5ddb3e8]Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe.
                      Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
                      ==========================================================================
                      ID_VIDEO_CODEC=ffh264
                      Clip info:
                       major_brand: mp42
                      ID_CLIP_INFO_NAME0=major_brand
                      ID_CLIP_INFO_VALUE0=mp42
                       minor_version: 0
                      ID_CLIP_INFO_NAME1=minor_version
                      ID_CLIP_INFO_VALUE1=0
                       compatible_brands: isommp42
                      ID_CLIP_INFO_NAME2=compatible_brands
                      ID_CLIP_INFO_VALUE2=isommp42
                       creation_time: 2018-11-21T02:24:27.000000Z
                      ID_CLIP_INFO_NAME3=creation_time
                      ID_CLIP_INFO_VALUE3=2018-11-21T02:24:27.000000Z
                      ID_CLIP_INFO_N=4
                      Load subtitles in ./
                      ID_FILENAME=LW3Org.mp4
                      ID_DEMUXER=lavfpref
                      ID_VIDEO_FORMAT=H264
                      ID_VIDEO_BITRATE=366488
                      ID_VIDEO_WIDTH=640
                      ID_VIDEO_HEIGHT=360
                      ID_VIDEO_FPS=30.000
                      ID_VIDEO_ASPECT=0.0000
                      ID_START_TIME=0.00
                      ID_LENGTH=236.01
                      ID_SEEKABLE=1
                      ID_CHAPTERS=0
                      Audio: no sound
                      FPS forced to be 30.000  (ftime: 0.033).
                      Starting playback...
                      Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
                      ID_VIDEO_ASPECT=1.7778
                      [swscaler @ 0xb66d6358]bicubic scaler, from yuv420p to rgb565le using C
                      VO: [fbdev2] 480x270 => 480x270 BGR 16-bit
                      ^C   5.2 155/155 92% 211%  0.0% 0 0
                      
                      
                      MPlayer interrupted by signal 2 in module: av_sync
                      ID_SIGNAL=25/155 92% 211%  0.0% 0 0
                      
                      Exiting... (Quit)
                      ID_EXIT=QUIT
                      pi@raspberrypiFlipper:~ $
                      fariasF 1 réponse Dernière réponse
                      0
                      • S srouviere06

                        Effectivement, maintenant c’est plein écran
                        Par contre j’ai toujours le curseur et le scintillement

                        pi@raspberrypiFlipper:~ $ mplayer -nolirc -noquiet -slave -identify -fps 30 -vo fbdev2:/dev/fb1 -vf scale=480:-3 LW3Org.mp4 -nosound
                        MPlayer UNKNOWN-12 (C) 2000-2023 MPlayer Team
                        
                        Playing LW3Org.mp4.
                        libavformat version 59.27.100 (external)
                        libavformat file format detected.
                        [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb6637a58]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
                        ID_VIDEO_ID=0
                        [lavf] stream 0: video (h264), -vid 0
                        ID_AUDIO_ID=0
                        [lavf] stream 1: audio (aac), -aid 0, -alang und
                        VIDEO:  [H264]  640x360  24bpp  29.970 fps  366.5 kbps (44.7 kbyte/s)
                        Opening video filter: [scale w=480 h=-3]
                        ==========================================================================
                        Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
                        libavcodec version 59.37.100 (external)
                        [h264 @ 0xb5ddb3e8]Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe.
                        Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
                        ==========================================================================
                        ID_VIDEO_CODEC=ffh264
                        Clip info:
                         major_brand: mp42
                        ID_CLIP_INFO_NAME0=major_brand
                        ID_CLIP_INFO_VALUE0=mp42
                         minor_version: 0
                        ID_CLIP_INFO_NAME1=minor_version
                        ID_CLIP_INFO_VALUE1=0
                         compatible_brands: isommp42
                        ID_CLIP_INFO_NAME2=compatible_brands
                        ID_CLIP_INFO_VALUE2=isommp42
                         creation_time: 2018-11-21T02:24:27.000000Z
                        ID_CLIP_INFO_NAME3=creation_time
                        ID_CLIP_INFO_VALUE3=2018-11-21T02:24:27.000000Z
                        ID_CLIP_INFO_N=4
                        Load subtitles in ./
                        ID_FILENAME=LW3Org.mp4
                        ID_DEMUXER=lavfpref
                        ID_VIDEO_FORMAT=H264
                        ID_VIDEO_BITRATE=366488
                        ID_VIDEO_WIDTH=640
                        ID_VIDEO_HEIGHT=360
                        ID_VIDEO_FPS=30.000
                        ID_VIDEO_ASPECT=0.0000
                        ID_START_TIME=0.00
                        ID_LENGTH=236.01
                        ID_SEEKABLE=1
                        ID_CHAPTERS=0
                        Audio: no sound
                        FPS forced to be 30.000  (ftime: 0.033).
                        Starting playback...
                        Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
                        ID_VIDEO_ASPECT=1.7778
                        [swscaler @ 0xb66d6358]bicubic scaler, from yuv420p to rgb565le using C
                        VO: [fbdev2] 480x270 => 480x270 BGR 16-bit
                        ^C   5.2 155/155 92% 211%  0.0% 0 0
                        
                        
                        MPlayer interrupted by signal 2 in module: av_sync
                        ID_SIGNAL=25/155 92% 211%  0.0% 0 0
                        
                        Exiting... (Quit)
                        ID_EXIT=QUIT
                        pi@raspberrypiFlipper:~ $
                        fariasF Hors-ligne
                        fariasF Hors-ligne
                        farias
                        a écrit sur dernière édition par farias
                        #48

                        @srouviere06 Tu as essayé "-cursor off " ou ( “–no-input-cursor” ou “–input-cursor=no” ) ?

                        1 réponse Dernière réponse
                        0
                        • S Hors-ligne
                          S Hors-ligne
                          srouviere06
                          a écrit sur dernière édition par
                          #49

                          ça n’exite pas ces options lol 😉

                          fariasF 1 réponse Dernière réponse
                          0
                          • S srouviere06

                            ça n’exite pas ces options lol 😉

                            fariasF Hors-ligne
                            fariasF Hors-ligne
                            farias
                            a écrit sur dernière édition par
                            #50

                            @srouviere06 Avant de lancer mplayer :

                            setterm -cursor off
                            
                            1 réponse Dernière réponse
                            0
                            • fariasF Hors-ligne
                              fariasF Hors-ligne
                              farias
                              a écrit sur dernière édition par
                              #51

                              Si cela fonctionne tu ajoute la commande dans le .bashrc …

                              1 réponse Dernière réponse
                              0
                              • S Hors-ligne
                                S Hors-ligne
                                srouviere06
                                a écrit sur dernière édition par
                                #52

                                non ya toujours le curseur

                                fariasF 1 réponse Dernière réponse
                                0
                                • S srouviere06

                                  non ya toujours le curseur

                                  fariasF Hors-ligne
                                  fariasF Hors-ligne
                                  farias
                                  a écrit sur dernière édition par
                                  #53

                                  @srouviere06 Tu as un fichier /etc/lightdm/lightdm.conf ?

                                  S 1 réponse Dernière réponse
                                  0
                                  • fariasF Hors-ligne
                                    fariasF Hors-ligne
                                    farias
                                    a écrit sur dernière édition par
                                    #54

                                    J’ai l’impression qu’il faut installer un truc (que je connais pas).

                                    sudo apt-get install unclutter
                                    unclutter -idle 0 
                                    

                                    Mais normalement via /etc/lightdm/lightdm.conf tu peux supprimer.

                                    S 1 réponse Dernière réponse
                                    0
                                    • fariasF farias

                                      @srouviere06 Tu as un fichier /etc/lightdm/lightdm.conf ?

                                      S Hors-ligne
                                      S Hors-ligne
                                      srouviere06
                                      a écrit sur dernière édition par
                                      #55

                                      @farias

                                      pi@raspberrypiFlipper:~ $ more /etc/lightdm/lightdm.conf
                                      #
                                      # General configuration
                                      #
                                      # start-default-seat = True to always start one seat if none are defined in the configuration
                                      # greeter-user = User to run greeter as
                                      # minimum-display-number = Minimum display number to use for X servers
                                      # minimum-vt = First VT to run displays on
                                      # lock-memory = True to prevent memory from being paged to disk
                                      # user-authority-in-system-dir = True if session authority should be in the system location
                                      # guest-account-script = Script to be run to setup guest account
                                      # logind-check-graphical = True to on start seats that are marked as graphical by logind
                                      # log-directory = Directory to log information to
                                      # run-directory = Directory to put running state in
                                      # cache-directory = Directory to cache to
                                      # sessions-directory = Directory to find sessions
                                      # remote-sessions-directory = Directory to find remote sessions
                                      # greeters-directory = Directory to find greeters
                                      # backup-logs = True to move add a .old suffix to old log files when opening new ones
                                      # dbus-service = True if LightDM provides a D-Bus service to control it
                                      #
                                      [LightDM]
                                      #start-default-seat=true
                                      #greeter-user=lightdm
                                      #minimum-display-number=0
                                      #minimum-vt=7
                                      #lock-memory=true
                                      #user-authority-in-system-dir=false
                                      #guest-account-script=guest-account
                                      #logind-check-graphical=false
                                      #log-directory=/var/log/lightdm
                                      #run-directory=/var/run/lightdm
                                      #cache-directory=/var/cache/lightdm
                                      #sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
                                      #remote-sessions-directory=/usr/share/lightdm/remote-sessions
                                      #greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
                                      #backup-logs=true
                                      #dbus-service=true
                                      
                                      #
                                      # Seat configuration
                                      #
                                      # Seat configuration is matched against the seat name glob in the section, for example:
                                      # [Seat:*] matches all seats and is applied first.
                                      # [Seat:seat0] matches the seat named "seat0".
                                      # [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
                                      #
                                      # type = Seat type (local, xremote, unity)
                                      # pam-service = PAM service to use for login
                                      # pam-autologin-service = PAM service to use for autologin
                                      # pam-greeter-service = PAM service to use for greeters
                                      # xserver-backend = X backend to use (mir)
                                      # xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
                                      # xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
                                      # xserver-config = Config file to pass to X server
                                      # xserver-layout = Layout to pass to X server
                                      # xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
                                      # xserver-share = True if the X server is shared for both greeter and session
                                      # xserver-hostname = Hostname of X server (only for type=xremote)
                                      # xserver-display-number = Display number of X server (only for type=xremote)
                                      # xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
                                      # xdmcp-port = XDMCP UDP/IP port to communicate on
                                      # xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
                                      # unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option)
                                      # unity-compositor-timeout = Number of seconds to wait for compositor to start
                                      # greeter-session = Session to load for greeter
                                      # greeter-hide-users = True to hide the user list
                                      # greeter-allow-guest = True if the greeter should show a guest login option
                                      # greeter-show-manual-login = True if the greeter should offer a manual login option
                                      # greeter-show-remote-login = True if the greeter should offer a remote login option
                                      # user-session = Session to load for users
                                      # allow-user-switching = True if allowed to switch users
                                      # allow-guest = True if guest login is allowed
                                      # guest-session = Session to load for guests (overrides user-session)
                                      # session-wrapper = Wrapper script to run session with
                                      # greeter-wrapper = Wrapper script to run greeter with
                                      # guest-wrapper = Wrapper script to run guest sessions with
                                      # display-setup-script = Script to run when starting a greeter session (runs as root)
                                      # display-stopped-script = Script to run after stopping the display server (runs as root)
                                      # greeter-setup-script = Script to run when starting a greeter (runs as root)
                                      # session-setup-script = Script to run when starting a user session (runs as root)
                                      # session-cleanup-script = Script to run when quitting a user session (runs as root)
                                      # autologin-guest = True to log in as guest by default
                                      # autologin-user = User to log in with by default (overrides autologin-guest)
                                      # autologin-user-timeout = Number of seconds to wait before loading default user
                                      # autologin-session = Session to load for automatic login (overrides user-session)
                                      # autologin-in-background = True if autologin session should not be immediately activated
                                      # exit-on-failure = True if the daemon should exit if this seat fails
                                      # fallback-test = Script to run to check if hardware can handle Wayland - should return 1 if so
                                      # fallback-session = Session to launch if fallback-test returns 0
                                      # fallback-greeter = Greeter session to launch if fallback-test returns 0
                                      #
                                      [Seat:*]
                                      #type=local
                                      #pam-service=lightdm
                                      #pam-autologin-service=lightdm-autologin
                                      #pam-greeter-service=lightdm-greeter
                                      #xserver-backend=
                                      #xserver-command=X
                                      #xmir-command=Xmir
                                      #xserver-config=
                                      #xserver-layout=
                                      #xserver-allow-tcp=false
                                      #xserver-share=true
                                      #xserver-hostname=
                                      #xserver-display-number=
                                      #xdmcp-manager=
                                      #xdmcp-port=177
                                      #xdmcp-key=
                                      #unity-compositor-command=unity-system-compositor
                                      #unity-compositor-timeout=60
                                      greeter-session=pi-greeter
                                      greeter-hide-users=false
                                      #greeter-allow-guest=true
                                      #greeter-show-manual-login=false
                                      #greeter-show-remote-login=true
                                      user-session=LXDE-pi-x
                                      #allow-user-switching=true
                                      #allow-guest=true
                                      #guest-session=
                                      #session-wrapper=lightdm-session
                                      #greeter-wrapper=
                                      #guest-wrapper=
                                      display-setup-script=/usr/share/dispsetup.sh
                                      #display-stopped-script=
                                      #greeter-setup-script=
                                      #session-setup-script=
                                      #session-cleanup-script=
                                      #autologin-guest=false
                                      autologin-user=pi
                                      #autologin-user-timeout=0
                                      #autologin-in-background=false
                                      autologin-session=LXDE-pi-x
                                      #exit-on-failure=false
                                      #fallback-test=
                                      #fallback-session=
                                      #fallback-greeter=
                                      
                                      #
                                      # XDMCP Server configuration
                                      #
                                      # enabled = True if XDMCP connections should be allowed
                                      # port = UDP/IP port to listen for connections on
                                      # listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
                                      # key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
                                      # hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
                                      #
                                      # The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn.  Alternatively
                                      # it can be a word and the first 7 characters are used as the key.
                                      #
                                      [XDMCPServer]
                                      #enabled=false
                                      #port=177
                                      #listen-address=
                                      #key=
                                      #hostname=
                                      
                                      #
                                      # VNC Server configuration
                                      #
                                      # enabled = True if VNC connections should be allowed
                                      # command = Command to run Xvnc server with
                                      # port = TCP/IP port to listen for connections on
                                      # listen-address = Host/address to listen for VNC connections (use all addresses if not present)
                                      # width = Width of display to use
                                      # height = Height of display to use
                                      # depth = Color depth of display to use
                                      #
                                      [VNCServer]
                                      #enabled=false
                                      #command=Xvnc
                                      #port=5900
                                      #listen-address=
                                      #width=1024
                                      #height=768
                                      #depth=8
                                      fariasF 2 réponses Dernière réponse
                                      0
                                      • S srouviere06

                                        @farias

                                        pi@raspberrypiFlipper:~ $ more /etc/lightdm/lightdm.conf
                                        #
                                        # General configuration
                                        #
                                        # start-default-seat = True to always start one seat if none are defined in the configuration
                                        # greeter-user = User to run greeter as
                                        # minimum-display-number = Minimum display number to use for X servers
                                        # minimum-vt = First VT to run displays on
                                        # lock-memory = True to prevent memory from being paged to disk
                                        # user-authority-in-system-dir = True if session authority should be in the system location
                                        # guest-account-script = Script to be run to setup guest account
                                        # logind-check-graphical = True to on start seats that are marked as graphical by logind
                                        # log-directory = Directory to log information to
                                        # run-directory = Directory to put running state in
                                        # cache-directory = Directory to cache to
                                        # sessions-directory = Directory to find sessions
                                        # remote-sessions-directory = Directory to find remote sessions
                                        # greeters-directory = Directory to find greeters
                                        # backup-logs = True to move add a .old suffix to old log files when opening new ones
                                        # dbus-service = True if LightDM provides a D-Bus service to control it
                                        #
                                        [LightDM]
                                        #start-default-seat=true
                                        #greeter-user=lightdm
                                        #minimum-display-number=0
                                        #minimum-vt=7
                                        #lock-memory=true
                                        #user-authority-in-system-dir=false
                                        #guest-account-script=guest-account
                                        #logind-check-graphical=false
                                        #log-directory=/var/log/lightdm
                                        #run-directory=/var/run/lightdm
                                        #cache-directory=/var/cache/lightdm
                                        #sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
                                        #remote-sessions-directory=/usr/share/lightdm/remote-sessions
                                        #greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
                                        #backup-logs=true
                                        #dbus-service=true
                                        
                                        #
                                        # Seat configuration
                                        #
                                        # Seat configuration is matched against the seat name glob in the section, for example:
                                        # [Seat:*] matches all seats and is applied first.
                                        # [Seat:seat0] matches the seat named "seat0".
                                        # [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
                                        #
                                        # type = Seat type (local, xremote, unity)
                                        # pam-service = PAM service to use for login
                                        # pam-autologin-service = PAM service to use for autologin
                                        # pam-greeter-service = PAM service to use for greeters
                                        # xserver-backend = X backend to use (mir)
                                        # xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
                                        # xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
                                        # xserver-config = Config file to pass to X server
                                        # xserver-layout = Layout to pass to X server
                                        # xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
                                        # xserver-share = True if the X server is shared for both greeter and session
                                        # xserver-hostname = Hostname of X server (only for type=xremote)
                                        # xserver-display-number = Display number of X server (only for type=xremote)
                                        # xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
                                        # xdmcp-port = XDMCP UDP/IP port to communicate on
                                        # xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
                                        # unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option)
                                        # unity-compositor-timeout = Number of seconds to wait for compositor to start
                                        # greeter-session = Session to load for greeter
                                        # greeter-hide-users = True to hide the user list
                                        # greeter-allow-guest = True if the greeter should show a guest login option
                                        # greeter-show-manual-login = True if the greeter should offer a manual login option
                                        # greeter-show-remote-login = True if the greeter should offer a remote login option
                                        # user-session = Session to load for users
                                        # allow-user-switching = True if allowed to switch users
                                        # allow-guest = True if guest login is allowed
                                        # guest-session = Session to load for guests (overrides user-session)
                                        # session-wrapper = Wrapper script to run session with
                                        # greeter-wrapper = Wrapper script to run greeter with
                                        # guest-wrapper = Wrapper script to run guest sessions with
                                        # display-setup-script = Script to run when starting a greeter session (runs as root)
                                        # display-stopped-script = Script to run after stopping the display server (runs as root)
                                        # greeter-setup-script = Script to run when starting a greeter (runs as root)
                                        # session-setup-script = Script to run when starting a user session (runs as root)
                                        # session-cleanup-script = Script to run when quitting a user session (runs as root)
                                        # autologin-guest = True to log in as guest by default
                                        # autologin-user = User to log in with by default (overrides autologin-guest)
                                        # autologin-user-timeout = Number of seconds to wait before loading default user
                                        # autologin-session = Session to load for automatic login (overrides user-session)
                                        # autologin-in-background = True if autologin session should not be immediately activated
                                        # exit-on-failure = True if the daemon should exit if this seat fails
                                        # fallback-test = Script to run to check if hardware can handle Wayland - should return 1 if so
                                        # fallback-session = Session to launch if fallback-test returns 0
                                        # fallback-greeter = Greeter session to launch if fallback-test returns 0
                                        #
                                        [Seat:*]
                                        #type=local
                                        #pam-service=lightdm
                                        #pam-autologin-service=lightdm-autologin
                                        #pam-greeter-service=lightdm-greeter
                                        #xserver-backend=
                                        #xserver-command=X
                                        #xmir-command=Xmir
                                        #xserver-config=
                                        #xserver-layout=
                                        #xserver-allow-tcp=false
                                        #xserver-share=true
                                        #xserver-hostname=
                                        #xserver-display-number=
                                        #xdmcp-manager=
                                        #xdmcp-port=177
                                        #xdmcp-key=
                                        #unity-compositor-command=unity-system-compositor
                                        #unity-compositor-timeout=60
                                        greeter-session=pi-greeter
                                        greeter-hide-users=false
                                        #greeter-allow-guest=true
                                        #greeter-show-manual-login=false
                                        #greeter-show-remote-login=true
                                        user-session=LXDE-pi-x
                                        #allow-user-switching=true
                                        #allow-guest=true
                                        #guest-session=
                                        #session-wrapper=lightdm-session
                                        #greeter-wrapper=
                                        #guest-wrapper=
                                        display-setup-script=/usr/share/dispsetup.sh
                                        #display-stopped-script=
                                        #greeter-setup-script=
                                        #session-setup-script=
                                        #session-cleanup-script=
                                        #autologin-guest=false
                                        autologin-user=pi
                                        #autologin-user-timeout=0
                                        #autologin-in-background=false
                                        autologin-session=LXDE-pi-x
                                        #exit-on-failure=false
                                        #fallback-test=
                                        #fallback-session=
                                        #fallback-greeter=
                                        
                                        #
                                        # XDMCP Server configuration
                                        #
                                        # enabled = True if XDMCP connections should be allowed
                                        # port = UDP/IP port to listen for connections on
                                        # listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
                                        # key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
                                        # hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
                                        #
                                        # The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn.  Alternatively
                                        # it can be a word and the first 7 characters are used as the key.
                                        #
                                        [XDMCPServer]
                                        #enabled=false
                                        #port=177
                                        #listen-address=
                                        #key=
                                        #hostname=
                                        
                                        #
                                        # VNC Server configuration
                                        #
                                        # enabled = True if VNC connections should be allowed
                                        # command = Command to run Xvnc server with
                                        # port = TCP/IP port to listen for connections on
                                        # listen-address = Host/address to listen for VNC connections (use all addresses if not present)
                                        # width = Width of display to use
                                        # height = Height of display to use
                                        # depth = Color depth of display to use
                                        #
                                        [VNCServer]
                                        #enabled=false
                                        #command=Xvnc
                                        #port=5900
                                        #listen-address=
                                        #width=1024
                                        #height=768
                                        #depth=8
                                        fariasF Hors-ligne
                                        fariasF Hors-ligne
                                        farias
                                        a écrit sur dernière édition par
                                        #56

                                        @srouviere06 je préfère :

                                        cat /etc/lightdm/lightdm.conf | grep -v "^#"
                                        

                                        Cela permet de ne pas avoir les commentaires …

                                        S 1 réponse Dernière réponse
                                        0
                                        • fariasF farias

                                          J’ai l’impression qu’il faut installer un truc (que je connais pas).

                                          sudo apt-get install unclutter
                                          unclutter -idle 0 
                                          

                                          Mais normalement via /etc/lightdm/lightdm.conf tu peux supprimer.

                                          S Hors-ligne
                                          S Hors-ligne
                                          srouviere06
                                          a écrit sur dernière édition par
                                          #57

                                          @farias

                                          pi@raspberrypiFlipper:~ $ sudo apt-get install unclutter
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          The following packages were automatically installed and are no longer required:
                                            agnostics autotouch cups-pk-helper dconf-cli device-tree-compiler dos2unix feedbackd feedbackd-common fio flashrom fonts-gfs-didot-classic fonts-piboto gir1.2-notify-0.7 gir1.2-secret-1
                                            grim gtk-nop gtk2-engines-pixbuf gtk2-engines-pixflat gui-pkinst gui-updater ibverbs-providers iw labwc-prompt libaio1 libbasicusageenvironment1 libboost-iostreams1.74.0 libcupsimage2
                                            libfdt1 libfeedback-0.0-0 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libgpiolib0 libgroupsock8 libgsound0 libibverbs1 libliftoff-rpi liblivemedia77 libnbd0 libnuma1 librados2 librbd1
                                            librdmacm1 libwf-config1 libwf-utils0 libwlroots11 lxplug-batt lxplug-bluetooth lxplug-cpu lxplug-cputemp lxplug-ejecter lxplug-magnifier lxplug-menu lxplug-netman lxplug-volumepulse
                                            mate-polkit-bin pastebinit pi-greeter pi-language-support pi-printer-support pipanel pixflat-icons pixflat-theme printer-driver-escpr python3-cairo python3-cups python3-cupshelpers
                                            python3-pycryptodome python3-smbc python3-v4l2 qt5-gtk2-platformtheme qt5-style-plugin-cleanlooks qt5-style-plugin-motif qt5-style-plugin-plastique qt5-style-plugins qt5ct raspi-utils-core
                                            raspi-utils-eeprom raspi-utils-otp rp-bookshelf rpd-wallpaper rpinters swaylock system-config-printer-common system-config-printer-udev triggerhappy wayfire wfplug-batt wlopm xmlstarlet
                                            xsettingsd
                                          Use 'sudo apt autoremove' to remove them.
                                          The following additional packages will be installed:
                                            unclutter-startup
                                          The following NEW packages will be installed:
                                            unclutter unclutter-startup
                                          0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
                                          Need to get 24.0 kB of archives.
                                          After this operation, 63.5 kB of additional disk space will be used.
                                          Do you want to continue? [Y/n] Y
                                          Get:1 http://distrib-coffee.ipsl.jussieu.fr/pub/linux/raspbian/raspbian bookworm/main armhf unclutter armhf 8-25 [15.2 kB]
                                          Get:2 http://mirrors.ircam.fr/pub/raspbian/raspbian bookworm/main armhf unclutter-startup all 8-25 [8,860 B]
                                          Fetched 24.0 kB in 1s (22.4 kB/s)
                                          Preconfiguring packages ...
                                          Selecting previously unselected package unclutter.
                                          (Reading database ... 168822 files and directories currently installed.)
                                          Preparing to unpack .../unclutter_8-25_armhf.deb ...
                                          Unpacking unclutter (8-25) ...
                                          Selecting previously unselected package unclutter-startup.
                                          Preparing to unpack .../unclutter-startup_8-25_all.deb ...
                                          Unpacking unclutter-startup (8-25) ...
                                          Setting up unclutter (8-25) ...
                                          update-alternatives: using /usr/bin/unclutter-classic to provide /usr/bin/unclutter (unclutter) in auto mode
                                          Setting up unclutter-startup (8-25) ...
                                          Processing triggers for man-db (2.11.2-2) ...
                                          pi@raspberrypiFlipper:~ $ unclutter -idle 0
                                          unclutter: could not open display
                                          pi@raspberrypiFlipper:~ $
                                          1 réponse Dernière réponse
                                          0

                                          Bonjour ! Vous semblez intéressé par cette conversation, mais vous n’avez pas encore de compte.

                                          Marre de refaire défiler les mêmes messages ? Créez un compte pour retrouver votre position, recevoir des notifications des nouvelles réponses, sauvegarder vos favoris et voter pour les messages que vous appréciez.

                                          Grâce à votre participation, ce message peut devenir encore meilleur 💗

                                          S'inscrire Se connecter
                                          Répondre
                                          • Répondre à l'aide d'un nouveau sujet
                                          Se connecter pour répondre
                                          • Du plus ancien au plus récent
                                          • Du plus récent au plus ancien
                                          • Les plus votés


                                          • Se connecter

                                          • Vous n'avez pas de compte ? S'inscrire

                                          • Connectez-vous ou inscrivez-vous pour faire une recherche.
                                          Powered by NodeBB Contributors
                                          • Premier message
                                            Dernier message
                                          0
                                          • Catégories
                                          • Récent
                                          • Mots-clés
                                          • Populaire
                                          • Web
                                          • Utilisateurs
                                          • Groupes