You are not logged in.
Pages: 1
Topic closed
Edit: Solved with this command.
systemctl enable sddm.service
rebooted, into dm and then into graphical system. : )
Hello,
I am chrooted into this system, as when I try and go through the bootloader it hangs at Graphical Interface.
I have installed xorg, nvidia-340xx and plasma.
I can run:
startx
and it starts although I'm not sure if it is working properly. It shows three terminals. I can't do anything when i startx, I can't exit, I have to manually reset via reset button on the computer case.
I then run:
startkde
but then I get this error.
$DISPLAY is not set or cannot connect to X server.
I have ran this command:
cp /etc/X11/xinit/xinitrc ~/.xinitrc
and added
exec startkde
although I am not sure if that is relevant.
Thanks for any help. Please assist me in improving my formatting too if possible.
Last edited by mousewithtypewriter (2018-02-24 06:47:20)
Offline
Not an Installation issue, moving to NC...
Offline
Not an Installation issue, moving to NC...
Ok sorry, and thank you. You should also probably move my other post here too then.
https://bbs.archlinux.org/viewtopic.php?id=234661
Last edited by mousewithtypewriter (2018-02-23 18:34:50)
Offline
That thread is about installing an Arch system, so it is in the right board (even though it doesn't have code tags: https://wiki.archlinux.org/index.php/Co … _and_code).
Offline
That thread is about installing an Arch system, so it is in the right board (even though it doesn't have code tags: https://wiki.archlinux.org/index.php/Co … _and_code).
Ok yeah your right. I edited that post to include code tags.
Last edited by mousewithtypewriter (2018-02-23 18:46:24)
Offline
Please post information on your hardware, it's hard to tell what's wrong if you don't know which graphics card and driver are supposed to be responsible for bringing you an X server.
What is output of
lspci | grep -E 'VGA|3D'
dmesg
as well as a xorg.log (you might still get one even without actual display) as well as the current unaltered contents of your ~/.xinitrc
Offline
Please post information on your hardware, it's hard to tell what's wrong if you don't know which graphics card and driver are supposed to be responsible for bringing you an X server.
What is output of
lspci | grep -E 'VGA|3D' dmesg
as well as a xorg.log (you might still get one even without actual display) as well as the current unaltered contents of your ~/.xinitrc
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
[ 0.180092] ACPI: SSDT 0xFFFF9E7C1CCFC000 0003D3 (v01 PmRef Cpu0Cst 00003001 INTL 20051117)
[ 0.236674] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=mem,locks=none
[ 0.236674] pci 0000:01:00.0: vgaarb: setting as boot VGA device
[ 0.236674] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 2.510187] fb0: EFI VGA frame buffer device
[ 2.736195] fb: switching to nouveaufb from EFI VGA
[ 2.901285] [drm] Replacing VGA console driver
[ 2.908748] nouveau 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 2.908751] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=mem
xorg output:
[ 292.257] (--) Log file renamed from "/var/log/Xorg.pid-11000.log" to "/var/log/Xorg.0.log"
[ 292.258]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 292.258] X Protocol Version 11, Revision 0
[ 292.258] Build Operating System: Linux 4.14.12-1-ARCH x86_64
[ 292.258] Current Operating System: Linux arch 4.15.4-1-ARCH #1 SMP PREEMPT Sat Feb 17 16:01:38 UTC 2018 x86_64
[ 292.258] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=/dev/sda3 rw
[ 292.258] Build Date: 26 January 2018 10:25:18AM
[ 292.258]
[ 292.258] Current version of pixman: 0.34.0
[ 292.258] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 292.258] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 292.258] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 23 22:22:24 2018
[ 292.258] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 292.258] (==) No Layout section. Using the first Screen section.
[ 292.258] (==) No screen section available. Using defaults.
[ 292.258] (**) |-->Screen "Default Screen Section" (0)
[ 292.258] (**) | |-->Monitor "<default monitor>"
[ 292.258] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 292.258] (==) Automatically adding devices
[ 292.258] (==) Automatically enabling devices
[ 292.258] (==) Automatically adding GPU devices
[ 292.258] (==) Automatically binding GPU devices
[ 292.258] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 292.258] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 292.258] Entry deleted from font path.
[ 292.258] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 292.258] Entry deleted from font path.
[ 292.258] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 292.258] Entry deleted from font path.
[ 292.258] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 292.258] Entry deleted from font path.
[ 292.258] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 292.258] Entry deleted from font path.
[ 292.258] (==) FontPath set to:
/usr/share/fonts/TTF/
[ 292.258] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 292.258] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 292.258] (II) Loader magic: 0x558bcd50ad60
[ 292.258] (II) Module ABI versions:
[ 292.258] X.Org ANSI C Emulation: 0.4
[ 292.258] X.Org Video Driver: 23.0
[ 292.258] X.Org XInput driver : 24.1
[ 292.258] X.Org Server Extension : 10.0
[ 292.258] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.NoReply (Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
[ 292.258] (++) using VT number 1
[ 292.258] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 292.259] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 292.260] (--) PCI: (0:0:2:0) 8086:0412:1458:d000 rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[ 292.260] (--) PCI:*(0:1:0:0) 10de:13c2:3842:3975 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 292.260] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 292.260] (II) LoadModule: "glx"
[ 292.260] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 292.271] (II) Module glx: vendor="X.Org Foundation"
[ 292.271] compiled for 1.19.6, module version = 1.0.0
[ 292.271] ABI class: X.Org Server Extension, version 10.0
[ 292.271] (II) Applying OutputClass "intel" to /dev/dri/card0
[ 292.271] loading driver: modesetting
[ 292.271] (==) Matched modesetting as autoconfigured driver 0
[ 292.271] (==) Matched intel as autoconfigured driver 1
[ 292.271] (==) Matched nouveau as autoconfigured driver 2
[ 292.271] (==) Matched nv as autoconfigured driver 3
[ 292.271] (==) Matched modesetting as autoconfigured driver 4
[ 292.271] (==) Matched fbdev as autoconfigured driver 5
[ 292.271] (==) Matched vesa as autoconfigured driver 6
[ 292.271] (==) Assigned the driver to the xf86ConfigLayout
[ 292.271] (II) LoadModule: "modesetting"
[ 292.271] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 292.272] (II) Module modesetting: vendor="X.Org Foundation"
[ 292.272] compiled for 1.19.6, module version = 1.19.6
[ 292.272] Module class: X.Org Video Driver
[ 292.272] ABI class: X.Org Video Driver, version 23.0
[ 292.272] (II) LoadModule: "intel"
[ 292.272] (WW) Warning, couldn't open module intel
[ 292.272] (II) UnloadModule: "intel"
[ 292.272] (II) Unloading intel
[ 292.272] (EE) Failed to load module "intel" (module does not exist, 0)
[ 292.272] (II) LoadModule: "nouveau"
[ 292.272] (WW) Warning, couldn't open module nouveau
[ 292.272] (II) UnloadModule: "nouveau"
[ 292.272] (II) Unloading nouveau
[ 292.272] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 292.272] (II) LoadModule: "nv"
[ 292.272] (WW) Warning, couldn't open module nv
[ 292.272] (II) UnloadModule: "nv"
[ 292.272] (II) Unloading nv
[ 292.272] (EE) Failed to load module "nv" (module does not exist, 0)
[ 292.272] (II) LoadModule: "fbdev"
[ 292.272] (WW) Warning, couldn't open module fbdev
[ 292.272] (II) UnloadModule: "fbdev"
[ 292.272] (II) Unloading fbdev
[ 292.272] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 292.272] (II) LoadModule: "vesa"
[ 292.272] (WW) Warning, couldn't open module vesa
[ 292.272] (II) UnloadModule: "vesa"
[ 292.272] (II) Unloading vesa
[ 292.272] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 292.272] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 292.272] (WW) Falling back to old probe method for modesetting
[ 292.272] (II) modeset(2): using default device
[ 292.272] (II) modeset(2): using default device
[ 292.272] (II) modeset(G0): using drv /dev/dri/card0
[ 292.272] (EE) Screen 0 deleted because of no matching config section.
[ 292.272] (II) UnloadModule: "modesetting"
[ 292.272] (EE) Screen 0 deleted because of no matching config section.
[ 292.272] (II) UnloadModule: "modesetting"
[ 292.272] (EE)
Fatal server error:
[ 292.272] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 292.272] (EE)
[ 292.272] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 292.272] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 292.272] (EE)
[ 292.273] (EE) Server terminated with error (1). Closing log file.
Here is the .xinitrc:
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
exec startkde
Last edited by mousewithtypewriter (2018-02-24 05:00:43)
Offline
Yeah, that won't work. Re-read the wiki: only one exec is read, everything after that is pointless.
Offline
Yeah, that won't work. Re-read the wiki: only one exec is read, everything after that is pointless.
Ok, thanks for the help!
: D
Edit: Still have same error but I suspect I need to dive deeper into the wiki. Not sure if I should mark as solved since I don't know the answer.
Last edited by mousewithtypewriter (2018-02-24 05:14:25)
Offline
I suspect your other error is a result of enabling a DM: that will conflict with startx. Pick one or the other (hint: DM's are useless).
Offline
I went the other way. : )
systemctl enable sddm.service
rebooted, into the dm and all is well : D
Thank you so much for the help Mr Ryan and V1del!
Offline
I went the other way. : )
systemctl enable sddm.service
rebooted, into the dm and all is well : D
Thank you so much for the help Mr Ryan and V1del!
I've registered in this forum just to say thank you. This command solved my issue with plasmashell using kde.
Offline
Glad to hear, however be aware that these are well documented basics that one should ideally stumble over before running into problems.
Closing this old thread.
Offline
Pages: 1
Topic closed