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 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
                              • 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
                                #58

                                @srouviere06 a dit dans MAJ Raspberry PI Zero W :

                                /etc/lightdm/lightdm.conf

                                Il faut ajouter :

                                xserver-command=X -nocursor
                                

                                Dans [Seat:*]

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

                                  Et ensuite un reboot …

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

                                    @srouviere06 je préfère :

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

                                    Cela permet de ne pas avoir les commentaires …

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

                                    @farias a dit dans MAJ Raspberry PI Zero W :

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

                                    pi@raspberrypiFlipper:~ $ cat /etc/lightdm/lightdm.conf | grep -v "^#"
                                    [LightDM]
                                    
                                    [Seat:*]
                                    greeter-session=pi-greeter
                                    greeter-hide-users=false
                                    user-session=LXDE-pi-x
                                    display-setup-script=/usr/share/dispsetup.sh
                                    autologin-user=pi
                                    autologin-session=LXDE-pi-x
                                    
                                    [XDMCPServer]
                                    
                                    [VNCServer]
                                    pi@raspberrypiFlipper:~ $
                                    1 réponse Dernière réponse
                                    👍
                                    0
                                    • S Hors-ligne
                                      S Hors-ligne
                                      srouviere06
                                      a écrit sur dernière édition par
                                      #61

                                      PERFECT !!! MERCIIII !!!

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

                                        la vidéo passe un peu ralentie…

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

                                          la vidéo passe un peu ralentie…

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

                                          @srouviere06 Tu peux ouvrir deux terminaux ?
                                          Et faire un top sur le second.

                                          fariasF 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