IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Applications et environnements graphiques Discussion :

Impossible de lancer startx sur Raspberry


Sujet :

Applications et environnements graphiques

  1. #1
    Membre habitué
    Homme Profil pro
    Webmaster
    Inscrit en
    Mai 2011
    Messages
    258
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 62
    Localisation : France

    Informations professionnelles :
    Activité : Webmaster
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 258
    Points : 151
    Points
    151
    Par défaut Impossible de lancer startx sur Raspberry
    Voilà:
    Je me connecte en SSH de la façon suivante :
    ssh -X pi@mon_ip_privé.
    Là, pas de soucis.
    Puis, connecté sur le raspberry, je tape la commande :
    startx.
    Et là: problème.
    Il semblerait qu'il manque un module ?
    Ou bien , est-ce plus simplement un pb de config ?


    X.Org X Server 1.18.4
    Release Date: 2016-07-19
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
    Current Operating System: Linux raspberrypiserveur 4.1.17-v7+ #838 SMP Tue Feb 9 13:15:09 GMT 2016 armv7l
    Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2709.boardrev=0xa01041 bcm2709.serial=0xa3e6790e smsc95xx.macaddr=B8:27:EB:E6:79:0E bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
    Build Date: 11 November 2016 11:59:59AM
    xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
    Current version of pixman: 0.33.3
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 15 19:10:37 2019
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    modprobe: FATAL: Module g2d_23 not found.
    ^Cxinit: connection to X server lost

    waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

    xinit: unexpected signal 2

  2. #2
    Membre habitué

    Homme Profil pro
    Développeur .NET
    Inscrit en
    Septembre 2008
    Messages
    110
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Canada

    Informations professionnelles :
    Activité : Développeur .NET
    Secteur : Service public

    Informations forums :
    Inscription : Septembre 2008
    Messages : 110
    Points : 167
    Points
    167
    Par défaut
    Citation Envoyé par frederic13870 Voir le message
    Voilà:
    Je me connecte en SSH de la façon suivante :
    ssh -X pi@mon_ip_privé.
    Là, pas de soucis.
    Puis, connecté sur le raspberry, je tape la commande :
    startx.
    Et là: problème.
    Il semblerait qu'il manque un module ?
    Ou bien , est-ce plus simplement un pb de config ?


    X.Org X Server 1.18.4
    Release Date: 2016-07-19
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
    Current Operating System: Linux raspberrypiserveur 4.1.17-v7+ #838 SMP Tue Feb 9 13:15:09 GMT 2016 armv7l
    Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2709.boardrev=0xa01041 bcm2709.serial=0xa3e6790e smsc95xx.macaddr=B8:27:EB:E6:79:0E bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
    Build Date: 11 November 2016 11:59:59AM
    xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
    Current version of pixman: 0.33.3
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 15 19:10:37 2019
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    modprobe: FATAL: Module g2d_23 not found.
    ^Cxinit: connection to X server lost

    waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

    xinit: unexpected signal 2
    le module n'est pas ton problème ici, que du ton log dans /var/log/Xorg.0.log?

  3. #3
    Membre habitué
    Homme Profil pro
    Webmaster
    Inscrit en
    Mai 2011
    Messages
    258
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 62
    Localisation : France

    Informations professionnelles :
    Activité : Webmaster
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 258
    Points : 151
    Points
    151
    Par défaut Contenu du fichier de log de X ...
    [ 818.144]
    X.Org X Server 1.18.4
    Release Date: 2016-07-19
    [ 818.144] X Protocol Version 11, Revision 0
    [ 818.145] Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
    [ 818.145] Current Operating System: Linux raspberrypiserveur 4.1.17-v7+ #838 SMP Tue Feb 9 13:15:09 GMT 2016 armv7l
    [ 818.145] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2709.boardrev=0xa01041 bcm2709.serial=0xa3e6790e smsc95xx.macaddr=B8:27:EB:E6:79:0E bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
    [ 818.145] Build Date: 11 November 2016 11:59:59AM
    [ 818.146] xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
    [ 818.146] Current version of pixman: 0.33.3
    [ 818.146] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 818.146] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 818.147] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 15 19:10:37 2019
    [ 818.148] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [ 818.149] (==) No Layout section. Using the first Screen section.
    [ 818.149] (==) No screen section available. Using defaults.
    [ 818.149] (**) |-->Screen "Default Screen Section" (0)
    [ 818.149] (**) | |-->Monitor "<default monitor>"
    [ 818.150] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
    [ 818.150] (**) | |-->Device "Allwinner A10/A13 FBDEV"
    [ 818.150] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 818.150] (==) Automatically adding devices
    [ 818.150] (==) Automatically enabling devices
    [ 818.150] (==) Automatically adding GPU devices
    [ 818.150] (==) Max clients allowed: 256, resource mask: 0x1fffff
    [ 818.150] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    [ 818.151] Entry deleted from font path.
    [ 818.151] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    built-ins
    [ 818.151] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 818.151] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 818.151] (II) Loader magic: 0x54cb5f20
    [ 818.151] (II) Module ABI versions:
    [ 818.151] X.Org ANSI C Emulation: 0.4
    [ 818.151] X.Org Video Driver: 20.0
    [ 818.151] X.Org XInput driver : 22.1
    [ 818.151] X.Org Server Extension : 9.0
    [ 818.155] (--) using VT number 2

    [ 818.156] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
    [ 818.156] (II) no primary bus or device found
    [ 818.156] (II) LoadModule: "glx"
    [ 818.157] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 818.164] (II) Module glx: vendor="X.Org Foundation"
    [ 818.164] compiled for 1.18.4, module version = 1.0.0
    [ 818.164] ABI class: X.Org Server Extension, version 9.0
    [ 818.164] (==) AIGLX enabled
    [ 818.164] (II) LoadModule: "fbturbo"
    [ 818.165] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
    [ 818.165] (II) Module fbturbo: vendor="X.Org Foundation"
    [ 818.165] compiled for 1.18.4, module version = 0.5.1
    [ 818.165] Module class: X.Org Video Driver
    [ 818.165] ABI class: X.Org Video Driver, version 20.0
    [ 818.165] (II) FBTURBO: driver for framebuffer: fbturbo
    [ 818.174] (WW) Falling back to old probe method for fbturbo
    [ 818.174] (II) Loading sub module "fbdevhw"
    [ 818.174] (II) LoadModule: "fbdevhw"
    [ 818.174] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
    [ 818.175] (II) Module fbdevhw: vendor="X.Org Foundation"
    [ 818.175] compiled for 1.18.4, module version = 0.0.2
    [ 818.175] ABI class: X.Org Video Driver, version 20.0
    [ 818.175] (II) FBTURBO(0): using /dev/fb0
    [ 818.175] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
    [ 818.176] (II) FBTURBO(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 16/16
    [ 818.176] (==) FBTURBO(0): Depth 16, (==) framebuffer bpp 16
    [ 818.176] (==) FBTURBO(0): RGB weight 565
    [ 818.176] (==) FBTURBO(0): Default visual is TrueColor
    [ 818.176] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 818.176] (II) FBTURBO(0): hardware: BCM2708 FB (video memory: 518kB)
    [ 818.176] (**) FBTURBO(0): Option "fbdev" "/dev/fb0"
    [ 818.176] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
    [ 818.177] (II) FBTURBO(0): processor: ARM Cortex-A7
    [ 818.177] (II) FBTURBO(0): checking modes against framebuffer device...
    [ 818.177] (II) FBTURBO(0): checking modes against monitor...
    [ 818.177] (--) FBTURBO(0): Virtual size is 592x448 (pitch 592)
    [ 818.177] (**) FBTURBO(0): Built-in mode "current"
    [ 818.177] (==) FBTURBO(0): DPI set to (96, 96)
    [ 818.177] (II) Loading sub module "fb"
    [ 818.177] (II) LoadModule: "fb"
    [ 818.178] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 818.178] (II) Module fb: vendor="X.Org Foundation"
    [ 818.178] compiled for 1.18.4, module version = 1.0.0
    [ 818.179] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 818.180] (II) FBTURBO(0): using backing store heuristics
    [ 818.188] (II) FBTURBO(0): can't load 'g2d_23' kernel module
    [ 818.189] (II) FBTURBO(0): failed to enable the use of sunxi display controller
    [ 818.189] (II) FBTURBO(0): No sunxi-g2d hardware detected (check /dev/disp and /dev/g2d)
    [ 818.189] (II) FBTURBO(0): G2D hardware acceleration can't be enabled
    [ 818.189] (II) FBTURBO(0): enabled fbdev copyarea acceleration
    [ 818.189] (==) FBTURBO(0): Backing store enabled
    [ 818.190] (==) FBTURBO(0): DPMS enabled
    [ 818.190] (II) FBTURBO(0): failed to enable hardware cursor
    [ 818.190] (II) FBTURBO(0): no 3D acceleration because the driver has been compiled without libUMP
    [ 818.190] (II) FBTURBO(0): if this is wrong and needs to be fixed, please check ./configure log
    [ 818.190] (==) RandR enabled
    [ 818.228] (II) SELinux: Disabled on system
    [ 818.233] (II) AIGLX: Screen 0 is not DRI2 capable
    [ 818.233] (EE) AIGLX: reverting to software rendering
    [ 818.374] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    [ 818.377] (II) AIGLX: Loaded and initialized swrast
    [ 818.377] (II) GLX: Initialized DRISWRAST GL provider for screen 0
    [ 867.102] (II) Server terminated successfully (0). Closing log file.

  4. #4
    Membre habitué
    Homme Profil pro
    Webmaster
    Inscrit en
    Mai 2011
    Messages
    258
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 62
    Localisation : France

    Informations professionnelles :
    Activité : Webmaster
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 258
    Points : 151
    Points
    151
    Par défaut J'ai du nouveau !
    Last login: Fri Feb 22 15:16:10 2019 from 192.168.1.2
    pi@raspberrypiserveur:~ $ sudo xhost +
    xhost: unable to open display "localhost:0"
    pi@raspberrypiserveur:~ $ export DISPLAY=:0.0
    pi@raspberrypiserveur:~ $ sudo xhost +
    access control disabled, clients can connect from any host
    pi@raspberrypiserveur:~ $ startx


    X.Org X Server 1.18.4
    Release Date: 2016-07-19
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
    Current Operating System: Linux raspberrypiserveur 4.1.17-v7+ #838 SMP Tue Feb 9 13:15:09 GMT 2016 armv7l
    Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2709.boardrev=0xa01041 bcm2709.serial=0xa3e6790e smsc95xx.macaddr=B8:27:EB:E6:79:0E bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
    Build Date: 11 November 2016 11:59:59AM
    xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
    Current version of pixman: 0.33.3
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/home/pi/.local/share/xorg/Xorg.2.log", Time: Fri Feb 22 15:24:02 2019
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    (EE)
    Fatal server error:
    (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
    (EE)
    (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.2.log" for additional information.
    (EE)
    (EE) Server terminated with error (1). Closing log file.
    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: server error
    Impossible d'obtenir le descripteur de fichier faisant référence à la console
    pi@raspberrypiserveur:~ $

    C'est beaucoup plus clair , non ?

  5. #5
    Responsable Systèmes


    Homme Profil pro
    Gestion de parcs informatique
    Inscrit en
    Août 2011
    Messages
    17 446
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Gestion de parcs informatique
    Secteur : High Tech - Matériel informatique

    Informations forums :
    Inscription : Août 2011
    Messages : 17 446
    Points : 43 090
    Points
    43 090
    Par défaut
    Essayes :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    apt-get install xserver-xorg-legacy
    Ma page sur developpez.com : http://chrtophe.developpez.com/ (avec mes articles)
    Mon article sur le P2V, mon article sur le cloud
    Consultez nos FAQ : Windows, Linux, Virtualisation

  6. #6
    Membre habitué
    Homme Profil pro
    Webmaster
    Inscrit en
    Mai 2011
    Messages
    258
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 62
    Localisation : France

    Informations professionnelles :
    Activité : Webmaster
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 258
    Points : 151
    Points
    151
    Par défaut Ça avance !
    Maintenant, voici les logs :

    pi@raspberrypiserveur:~ $ startx

    /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: server error
    Impossible d'obtenir le descripteur de fichier faisant référence à la console
    pi@raspberrypiserveur:~ $

    Un problème de console ?

    En tous cas, merci pour ton aide !

  7. #7
    Membre habitué
    Homme Profil pro
    Webmaster
    Inscrit en
    Mai 2011
    Messages
    258
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 62
    Localisation : France

    Informations professionnelles :
    Activité : Webmaster
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 258
    Points : 151
    Points
    151
    Par défaut Ça avance toujours !
    X.Org X Server 1.18.4
    Release Date: 2016-07-19
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
    Current Operating System: Linux raspberrypiserveur 4.1.17-v7+ #838 SMP Tue Feb 9 13:15:09 GMT 2016 armv7l
    Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2709.boardrev=0xa01041 bcm2709.serial=0xa3e6790e smsc95xx.macaddr=B8:27:EB:E6:79:0E bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
    Build Date: 11 November 2016 11:59:59AM
    xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
    Current version of pixman: 0.33.3
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.4.log", Time: Tue Feb 26 18:52:28 2019
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    modprobe: FATAL: Module g2d_23 not found.

    Un problème de module, sans doutes ?

Discussions similaires

  1. [iOS] [X10-fmx-w10]Impossible de lancer application sur le simulateur
    Par mario9 dans le forum Composants FMX
    Réponses: 1
    Dernier message: 26/11/2015, 01h25
  2. [MySQL-5.5] Impossible de lancer MySQL sur serveur Ubuntu 14.04
    Par dom3939 dans le forum Installation
    Réponses: 0
    Dernier message: 28/05/2014, 11h34
  3. Impossible de lancer Apache sur Xampp
    Par Zalawy dans le forum Apache
    Réponses: 6
    Dernier message: 31/07/2013, 23h40
  4. Réponses: 3
    Dernier message: 13/11/2010, 19h05

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo