Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2016-01-24 18:16:09

  ghost25 - Użytkownik

ghost25
Użytkownik
Zarejestrowany: 2015-04-13

Raspbian nie można uruchomić środowiska graficznego

Witam. Mam Raspbiana na Raspberry Pi 2, do tej pory wszystko działało poprawnie, a dzisiaj po wpisaniu hasła zamiast pulpitu pokazuje się ponownie okienko logowania i tak ciągle. Zmiana menedżera logowania na slim i środowiska graficznego z lxde na xfce nic nie dała. Jedyny sposób na uruchomienie graficznego interfejsu to przejście do terminala (Ctrl+Alt+F2) i uruchomienie GUI z uprawnieniami roota (sudo startx). Ten sam problem wystąpił kiedyś po aktualizacji systemu. Wtedy po prostu postawiłem system od nowa, ale tym razem wolałbym tego nie robić.


http://i.imgur.com/fyAZ9.gif

Offline

 

#2  2016-01-24 20:20:19

  mati75 - Psuj

mati75
Psuj
Skąd: masz ten towar?
Zarejestrowany: 2010-03-14

Re: Raspbian nie można uruchomić środowiska graficznego

Xservera nie uruchamia się z roota!

Poza tym logi, logi, logi. Pokaż /var/log/Xorg.0.log


https://l0calh0st.pl/obrazki/userbar.png

Offline

 

#3  2016-01-24 20:36:24

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/random
Zarejestrowany: 2008-01-07

Re: Raspbian nie można uruchomić środowiska graficznego

mati75 napisał(-a):

Xservera nie uruchamia się z roota!

W Debianie czy uruchamiasz roota czy nie, to i tak domyślnie Xorg idzie jako root, dzięki bitowi SUID, albo dzięki podniesieniu przez manager logowania, który startuje jako root.

Żeby go odpalić jako zwykły user, najpierw jest bycza gimnastyka z uprawnieniami w /dev.

EDIT:
Przepraszam, pomyłka, w Debianie też zmądrzeli:
https://www.phoronix.com/scan.php?page=news_item&am … an-Non-Root-X

Ostatnio edytowany przez Jacekalex (2016-01-24 20:41:45)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#4  2016-01-24 21:17:15

  ghost25 - Użytkownik

ghost25
Użytkownik
Zarejestrowany: 2015-04-13

Re: Raspbian nie można uruchomić środowiska graficznego

Już naprawiłem. Coś było nie tak z uprawnieniami usera, bo tylko zmodyfikowałem plik /etc/sudoers żeby linijka dla domyślnego usera w raspbianie (pi) wyglądała tak samo jak dla roota. Na wszelki wypadek jednak wrzucam log  o który prosił mati75

Kod:

pi@raspberrypi:~ $ cat /var/log/Xorg.0.log
[   223.861] 
X.Org X Server 1.16.4
Release Date: 2014-12-20
[   223.867] X Protocol Version 11, Revision 0
[   223.870] Build Operating System: Linux 3.17-1-armmp armv7l Raspbian
[   223.870] Current Operating System: Linux raspberrypi 3.18.6-v7+ #4 SMP PREEMPT Thu Mar 26 13:41:42 CST 2015 armv7l
[   223.870] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=800 bcm2708_fb.fbheight=480 bcm2709.boardrev=0x2a01041 bcm2709.serial=0xac3aad53 smsc95xx.macaddr=B8:27:EB:3A:AD:53 bcm2708_fb.fbswap=1 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=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[   223.871] Build Date: 18 February 2015  05:34:25PM
[   223.871] xorg-server 2:1.16.4-1 (http://www.debian.org/support) 
[   223.871] Current version of pixman: 0.33.3
[   223.871]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   223.871] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   223.872] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 24 20:49:13 2016
[   223.873] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   223.875] (==) No Layout section.  Using the first Screen section.
[   223.875] (==) No screen section available. Using defaults.
[   223.875] (**) |-->Screen "Default Screen Section" (0)
[   223.875] (**) |   |-->Monitor "<default monitor>"
[   223.876] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
[   223.876] (**) |   |-->Device "Allwinner A10/A13 FBDEV"
[   223.876] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[   223.877] (==) Automatically adding devices
[   223.877] (==) Automatically enabling devices
[   223.877] (==) Automatically adding GPU devices
[   223.877] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   223.877]     Entry deleted from font path.
[   223.877] (==) 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
[   223.878] (==) ModulePath set to "/usr/lib/xorg/modules"
[   223.878] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[   223.878] (II) Loader magic: 0xb6fb2f18
[   223.878] (II) Module ABI versions:
[   223.878]     X.Org ANSI C Emulation: 0.4
[   223.878]     X.Org Video Driver: 18.0
[   223.878]     X.Org XInput driver : 21.0
[   223.878]     X.Org Server Extension : 8.0
[   223.879] (II) no primary bus or device found
[   223.879] (II) LoadModule: "glx"
[   223.880] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   223.899] (II) Module glx: vendor="X.Org Foundation"
[   223.899]     compiled for 1.16.4, module version = 1.0.0
[   223.899]     ABI class: X.Org Server Extension, version 8.0
[   223.899] (==) AIGLX enabled
[   223.899] (II) LoadModule: "fbturbo"
[   223.900] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[   223.901] (II) Module fbturbo: vendor="X.Org Foundation"
[   223.901]     compiled for 1.16.4, module version = 0.5.1
[   223.901]     Module class: X.Org Video Driver
[   223.901]     ABI class: X.Org Video Driver, version 18.0
[   223.901] (II) FBTURBO: driver for framebuffer: fbturbo
[   223.902] (--) using VT number 2

[   223.911] (WW) Falling back to old probe method for fbturbo
[   223.911] (II) Loading sub module "fbdevhw"
[   223.911] (II) LoadModule: "fbdevhw"
[   223.912] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   223.913] (II) Module fbdevhw: vendor="X.Org Foundation"
[   223.913]     compiled for 1.16.4, module version = 0.0.2
[   223.914]     ABI class: X.Org Video Driver, version 18.0
[   223.914] (II) FBTURBO(0): using /dev/fb0
[   223.915] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   223.916] (II) FBTURBO(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 16/16
[   223.916] (==) FBTURBO(0): Depth 16, (==) framebuffer bpp 16
[   223.916] (==) FBTURBO(0): RGB weight 565
[   223.916] (==) FBTURBO(0): Default visual is TrueColor
[   223.916] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
[   223.916] (II) FBTURBO(0): hardware: BCM2708 FB (video memory: 750kB)
[   223.916] (**) FBTURBO(0): Option "fbdev" "/dev/fb0"
[   223.916] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
[   223.917] (II) FBTURBO(0): processor: ARM Cortex-A7
[   223.918] (II) FBTURBO(0): checking modes against framebuffer device...
[   223.918] (II) FBTURBO(0): checking modes against monitor...
[   223.918] (--) FBTURBO(0): Virtual size is 800x480 (pitch 800)
[   223.918] (**) FBTURBO(0):  Built-in mode "current"
[   223.918] (==) FBTURBO(0): DPI set to (96, 96)
[   223.918] (II) Loading sub module "fb"
[   223.918] (II) LoadModule: "fb"
[   223.919] (II) Loading /usr/lib/xorg/modules/libfb.so
[   223.919] (II) Module fb: vendor="X.Org Foundation"
[   223.919]     compiled for 1.16.4, module version = 1.0.0
[   223.920]     ABI class: X.Org ANSI C Emulation, version 0.4
[   223.921] (II) FBTURBO(0): using backing store heuristics
[   223.933] (II) FBTURBO(0): can't load 'g2d_23' kernel module
[   223.934] (II) FBTURBO(0): failed to enable the use of sunxi display controller
[   223.934] (II) FBTURBO(0): No sunxi-g2d hardware detected (check /dev/disp and /dev/g2d)
[   223.934] (II) FBTURBO(0): G2D hardware acceleration can't be enabled
[   223.934] (II) FBTURBO(0): enabled fbdev copyarea acceleration
[   223.934] (==) FBTURBO(0): Backing store enabled
[   223.935] (==) FBTURBO(0): DPMS enabled
[   223.935] (II) FBTURBO(0): failed to enable hardware cursor
[   223.935] (II) FBTURBO(0): no 3D acceleration because the driver has been compiled without libUMP
[   223.935] (II) FBTURBO(0): if this is wrong and needs to be fixed, please check ./configure log
[   223.936] (==) RandR enabled
[   224.009] (II) SELinux: Disabled on system
[   224.032] (II) AIGLX: Screen 0 is not DRI2 capable
[   224.032] (EE) AIGLX: reverting to software rendering
[   224.067] (II) AIGLX: Loaded and initialized swrast
[   224.067] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   224.492] (II) config/udev: Adding input device RPI_TOUCH By ZH851 (/dev/input/event0)
[   224.492] (**) RPI_TOUCH By ZH851: Applying InputClass "evdev touchscreen catchall"
[   224.493] (II) LoadModule: "evdev"
[   224.494] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   224.496] (II) Module evdev: vendor="X.Org Foundation"
[   224.496]     compiled for 1.16.0, module version = 2.9.0
[   224.496]     Module class: X.Org XInput Driver
[   224.496]     ABI class: X.Org XInput driver, version 21.0
[   224.496] (II) Using input driver 'evdev' for 'RPI_TOUCH By ZH851'
[   224.497] (**) RPI_TOUCH By ZH851: always reports core events
[   224.497] (**) evdev: RPI_TOUCH By ZH851: Device: "/dev/input/event0"
[   224.497] (--) evdev: RPI_TOUCH By ZH851: Vendor 0xeef Product 0x5
[   224.498] (--) evdev: RPI_TOUCH By ZH851: Found absolute axes
[   224.498] (--) evdev: RPI_TOUCH By ZH851: Found x and y absolute axes
[   224.498] (--) evdev: RPI_TOUCH By ZH851: Found absolute touchscreen
[   224.498] (II) evdev: RPI_TOUCH By ZH851: Configuring as touchscreen
[   224.498] (**) evdev: RPI_TOUCH By ZH851: YAxisMapping: buttons 4 and 5
[   224.498] (**) evdev: RPI_TOUCH By ZH851: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   224.498] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input0/event0"
[   224.498] (II) XINPUT: Adding extended input device "RPI_TOUCH By ZH851" (type: TOUCHSCREEN, id 6)
[   224.499] (II) evdev: RPI_TOUCH By ZH851: initialized for absolute axes.
[   224.500] (**) RPI_TOUCH By ZH851: (accel) keeping acceleration scheme 1
[   224.500] (**) RPI_TOUCH By ZH851: (accel) acceleration profile 0
[   224.500] (**) RPI_TOUCH By ZH851: (accel) acceleration factor: 2.000
[   224.500] (**) RPI_TOUCH By ZH851: (accel) acceleration threshold: 4
[   224.503] (II) config/udev: Adding input device RPI_TOUCH By ZH851 (/dev/input/mouse0)
[   224.503] (II) No input driver specified, ignoring this device.
[   224.503] (II) This device may have been added with another device file.
[   224.506] (II) config/udev: Adding input device AliTV Remote V1 RF USB Controller (/dev/input/event1)
[   224.506] (**) AliTV Remote V1 RF USB Controller: Applying InputClass "evdev pointer catchall"
[   224.507] (II) Using input driver 'evdev' for 'AliTV Remote V1 RF USB Controller'
[   224.507] (**) AliTV Remote V1 RF USB Controller: always reports core events
[   224.507] (**) evdev: AliTV Remote V1 RF USB Controller: Device: "/dev/input/event1"
[   224.507] (--) evdev: AliTV Remote V1 RF USB Controller: Vendor 0x62a Product 0x7c8
[   224.507] (--) evdev: AliTV Remote V1 RF USB Controller: Found 3 mouse buttons
[   224.507] (--) evdev: AliTV Remote V1 RF USB Controller: Found scroll wheel(s)
[   224.507] (--) evdev: AliTV Remote V1 RF USB Controller: Found relative axes
[   224.508] (--) evdev: AliTV Remote V1 RF USB Controller: Found x and y relative axes
[   224.508] (II) evdev: AliTV Remote V1 RF USB Controller: Configuring as mouse
[   224.508] (II) evdev: AliTV Remote V1 RF USB Controller: Adding scrollwheel support
[   224.508] (**) evdev: AliTV Remote V1 RF USB Controller: YAxisMapping: buttons 4 and 5
[   224.508] (**) evdev: AliTV Remote V1 RF USB Controller: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   224.508] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:062A:07C8.0001/input/input1/event1"
[   224.508] (II) XINPUT: Adding extended input device "AliTV Remote V1 RF USB Controller" (type: MOUSE, id 7)
[   224.509] (II) evdev: AliTV Remote V1 RF USB Controller: initialized for relative axes.
[   224.509] (**) AliTV Remote V1 RF USB Controller: (accel) keeping acceleration scheme 1
[   224.510] (**) AliTV Remote V1 RF USB Controller: (accel) acceleration profile 0
[   224.510] (**) AliTV Remote V1 RF USB Controller: (accel) acceleration factor: 2.000
[   224.510] (**) AliTV Remote V1 RF USB Controller: (accel) acceleration threshold: 4
[   224.513] (II) config/udev: Adding input device AliTV Remote V1 RF USB Controller (/dev/input/mouse1)
[   224.513] (II) No input driver specified, ignoring this device.
[   224.513] (II) This device may have been added with another device file.
[   224.516] (II) config/udev: Adding input device AliTV Remote V1 RF USB Controller (/dev/input/event2)
[   224.516] (**) AliTV Remote V1 RF USB Controller: Applying InputClass "evdev keyboard catchall"
[   224.516] (II) Using input driver 'evdev' for 'AliTV Remote V1 RF USB Controller'
[   224.517] (**) AliTV Remote V1 RF USB Controller: always reports core events
[   224.517] (**) evdev: AliTV Remote V1 RF USB Controller: Device: "/dev/input/event2"
[   224.517] (--) evdev: AliTV Remote V1 RF USB Controller: Vendor 0x62a Product 0x7c8
[   224.517] (--) evdev: AliTV Remote V1 RF USB Controller: Found 1 mouse buttons
[   224.517] (--) evdev: AliTV Remote V1 RF USB Controller: Found scroll wheel(s)
[   224.517] (--) evdev: AliTV Remote V1 RF USB Controller: Found relative axes
[   224.517] (II) evdev: AliTV Remote V1 RF USB Controller: Forcing relative x/y axes to exist.
[   224.518] (--) evdev: AliTV Remote V1 RF USB Controller: Found absolute axes
[   224.518] (II) evdev: AliTV Remote V1 RF USB Controller: Forcing absolute x/y axes to exist.
[   224.518] (--) evdev: AliTV Remote V1 RF USB Controller: Found keys
[   224.518] (II) evdev: AliTV Remote V1 RF USB Controller: Configuring as mouse
[   224.518] (II) evdev: AliTV Remote V1 RF USB Controller: Configuring as keyboard
[   224.518] (II) evdev: AliTV Remote V1 RF USB Controller: Adding scrollwheel support
[   224.518] (**) evdev: AliTV Remote V1 RF USB Controller: YAxisMapping: buttons 4 and 5
[   224.518] (**) evdev: AliTV Remote V1 RF USB Controller: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   224.519] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:062A:07C8.0002/input/input2/event2"
[   224.519] (II) XINPUT: Adding extended input device "AliTV Remote V1 RF USB Controller" (type: KEYBOARD, id 8)
[   224.519] (**) Option "xkb_rules" "evdev"
[   224.519] (**) Option "xkb_model" "pc105"
[   224.519] (**) Option "xkb_layout" "gb"
[   224.519] (**) Option "xkb_options" "lv3:ralt_switch"
[   224.687] (II) evdev: AliTV Remote V1 RF USB Controller: initialized for relative axes.
[   224.687] (WW) evdev: AliTV Remote V1 RF USB Controller: ignoring absolute axes.
[   224.688] (**) AliTV Remote V1 RF USB Controller: (accel) keeping acceleration scheme 1
[   224.688] (**) AliTV Remote V1 RF USB Controller: (accel) acceleration profile 0
[   224.688] (**) AliTV Remote V1 RF USB Controller: (accel) acceleration factor: 2.000
[   224.688] (**) AliTV Remote V1 RF USB Controller: (accel) acceleration threshold: 4

http://i.imgur.com/fyAZ9.gif

Offline

 

#5  2016-01-24 21:47:20

  mati75 - Psuj

mati75
Psuj
Skąd: masz ten towar?
Zarejestrowany: 2010-03-14

Re: Raspbian nie można uruchomić środowiska graficznego

Żadnych błędów nie widzę. Spróbowałbym jeszcze:

Kod:

sudo apt-get install rpi-update
sudo rpi-update
sudo reboot

https://l0calh0st.pl/obrazki/userbar.png

Offline

 

#6  2016-01-24 22:17:45

  ghost25 - Użytkownik

ghost25
Użytkownik
Zarejestrowany: 2015-04-13

Re: Raspbian nie można uruchomić środowiska graficznego

Bo to już jest log z uruchomienia po modyfikacji sudoers, kiedy wszystko już działało. Ciekawe tylko, dlaczego nagle odmówił uruchamiania jako zwykły użytkownik jeżeli wcześniej działał normalnie


http://i.imgur.com/fyAZ9.gif

Offline

 

#7  2016-01-24 22:44:55

  mati75 - Psuj

mati75
Psuj
Skąd: masz ten towar?
Zarejestrowany: 2010-03-14

Re: Raspbian nie można uruchomić środowiska graficznego

Poprzedni log powinien być w /var/log/Xorg.1.log


https://l0calh0st.pl/obrazki/userbar.png

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)