こんにちは
先日ラズパイ3を購入したばかりのLinux初心者です。
さきほど、ラズパイにNOOBSを導入し、ラズビアンとGUIをインストールしました。
いざインストールもおわり再起動を行なった後、
startx
を行うと、以下のようなエラーメッセージが出力されて
Xwindowが起動しませんでした。
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 raspberrypi 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait 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: Sun Apr 30 15:10:46 2017 (==) 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 Couldn't get a file descriptor referring to the console
また、
sudo startx
このようにroot権限で起動しようとすると、
しっかりXwindowが起動し、デスクトップが表示されます。
私は一般ユーザーでもデスクトップを表示させたいのですが
初心者なもので何をしたらいいのかよくわかりません。
この答えがわかる方ぜひご教授願います。
[ 677.911] ABI class: X.Org Server Extension, version 9.0 [ 677.911] (==) AIGLX enabled [ 677.912] (II) LoadModule: "fbturbo" [ 677.912] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so [ 677.912] (II) Module fbturbo: vendor="X.Org Foundation" [ 677.912] compiled for 1.18.4, module version = 0.5.1 [ 677.912] Module class: X.Org Video Driver [ 677.912] ABI class: X.Org Video Driver, version 20.0 [ 677.913] (II) FBTURBO: driver for framebuffer: fbturbo [ 677.913] (EE) Fatal server error: [ 677.913] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied) [ 677.913] (EE) [ 677.913] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 677.913] (EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.2.log" for additional information. [ 677.913] (EE) [ 677.914] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor [ 677.914] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor [ 677.915] (EE) Server terminated with error (1). Closing log file. 追加後のエラー ```ここに言語を入力 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 raspberrypi 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait 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: Wed May 3 17:53:26 2017 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 3 (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.
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/05/05 02:24
2017/05/05 04:55
2017/05/05 06:31