Article 5MAQK startx doesn't start X on Debian 10

startx doesn't start X on Debian 10

by
Pippin_89
from LinuxQuestions.org on (#5MAQK)
Hi all,

We had a power cut last night and my system died. Upon rebooting it doesn't want to start X when I run startx. The message states:
Code:xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
xinit: connection to X server lost
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.The log does not show any errors, only a couple of warnings: https://pastebin.com/EK8CeTfj

And yes, I run Debian 10 on a Mac mini - but up to last night it worked fine, so that is not the cause of the issue even if it is potentially related.

Please note that before last night's power cut I hadn't rebooted this system for around 3 months. So it's possible that the sudden forced shutdown caused the problem, but it may also be something else that happened in the 3 months previous that I simply didn't notice because I wasn't rebooting.

I use Awesome WM which starts with a very simple .xinitrc script in my home dir (I don't use a login manager - just boot to console and startx):

Code:. /etc/X11/Xsession
awesomeOutput of lsmod and lspci for good measure:
Code:Module Size Used by
nft_chain_route_ipv4 16384 1
xt_CHECKSUM 16384 1
efi_pstore 16384 0
nft_chain_nat_ipv4 16384 4
ipt_MASQUERADE 16384 3
nf_nat_ipv4 16384 2 ipt_MASQUERADE,nft_chain_nat_ipv4
nf_nat 36864 1 nf_nat_ipv4
xt_conntrack 16384 1
nf_conntrack 172032 4 xt_conntrack,nf_nat,ipt_MASQUERADE,nf_nat_ipv4
nf_defrag_ipv6 20480 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
ipt_REJECT 16384 2
nf_reject_ipv4 16384 1 ipt_REJECT
nft_counter 16384 16
xt_tcpudp 16384 6
nft_compat 20480 13
tun 53248 1
bridge 188416 0
stp 16384 1 bridge
llc 16384 2 bridge,stp
devlink 77824 0
nf_tables 143360 90 nft_chain_route_ipv4,nft_compat,nft_chain_nat_ipv4,nft_counter
nfnetlink 16384 2 nft_compat,nf_tables
snd_hda_codec_hdmi 61440 1
snd_hda_codec_cirrus 20480 1
snd_hda_codec_generic 90112 1 snd_hda_codec_cirrus
intel_rapl 24576 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
b43 454656 0
coretemp 16384 0
mac80211 835584 1 b43
nls_ascii 16384 1
kvm_intel 233472 0
nls_cp437 20480 1
cfg80211 774144 2 b43,mac80211
btusb 53248 0
vfat 20480 1
kvm 757760 1 kvm_intel
btrtl 16384 1 btusb
fat 86016 1 vfat
btbcm 16384 1 btusb
btintel 24576 1 btusb
ssb 90112 1 b43
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 0
i915 1736704 2
crc32_pclmul 16384 0
bluetooth 647168 5 btrtl,btintel,btbcm,btusb
pcmcia 69632 1 ssb
ghash_clmulni_intel 16384 0
pcmcia_core 28672 1 pcmcia
snd_hda_intel 49152 1
snd_hda_codec 151552 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_cirrus
applesmc 24576 0
drbg 28672 1
rng_core 16384 1 b43
intel_cstate 16384 0
drm_kms_helper 208896 1 i915
intel_uncore 135168 0
input_polldev 16384 1 applesmc
snd_hda_core 94208 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_cirrus
ansi_cprng 16384 0
drm 495616 3 drm_kms_helper,i915
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 114688 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 36864 1 snd_pcm
mei_me 45056 0
ecdh_generic 24576 1 bluetooth
intel_rapl_perf 16384 0
iTCO_wdt 16384 0
snd 94208 9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
rfkill 28672 3 bluetooth,cfg80211
evdev 28672 5
pcspkr 16384 0
efivars 20480 1 efi_pstore
sg 36864 0
iTCO_vendor_support 16384 1 iTCO_wdt
bcma 61440 1 b43
pcc_cpufreq 16384 0
mei 118784 1 mei_me
soundcore 16384 1 snd
i2c_algo_bit 16384 1 i915
apple_gmux 16384 0
apple_bl 16384 1 apple_gmux
video 49152 2 apple_gmux,i915
button 20480 0
firewire_sbp2 28672 0
efivarfs 16384 1
ip_tables 28672 0
x_tables 45056 7 xt_conntrack,nft_compat,xt_tcpudp,ipt_MASQUERADE,xt_CHECKSUM,ipt_REJECT,ip_tables
autofs4 49152 2
ext4 745472 2
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 122880 1 ext4
fscrypto 32768 1 ext4
ecb 16384 0
btrfs 1409024 0
zstd_decompress 81920 1 btrfs
zstd_compress 172032 1 btrfs
xxhash 16384 2 zstd_compress,zstd_decompress
raid10 57344 0
raid456 172032 0
async_raid6_recov 20480 1 raid456
async_memcpy 16384 2 raid456,async_raid6_recov
async_pq 16384 2 raid456,async_raid6_recov
async_xor 16384 3 async_pq,raid456,async_raid6_recov
async_tx 16384 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor 24576 2 async_xor,btrfs
hid_appleir 16384 0
hid_generic 16384 0
usbhid 57344 0
hid 139264 3 usbhid,hid_generic,hid_appleir
raid6_pq 122880 4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c 16384 4 nf_conntrack,nf_nat,btrfs,raid456
crc32c_generic 16384 0
raid1 45056 0
raid0 20480 0
multipath 16384 0
linear 16384 0
md_mod 167936 6 raid1,raid10,raid0,linear,raid456,multipath
uas 28672 4
usb_storage 73728 1 uas
sd_mod 61440 5
crc32c_intel 24576 5
ahci 40960 0
libahci 40960 1 ahci
xhci_pci 16384 0
libata 270336 2 libahci,ahci
xhci_hcd 266240 1 xhci_pci
sdhci_pci 45056 0
ehci_pci 16384 0
ehci_hcd 94208 1 ehci_pci
cqhci 28672 1 sdhci_pci
sdhci 61440 1 sdhci_pci
aesni_intel 200704 1
scsi_mod 249856 6 sd_mod,usb_storage,firewire_sbp2,uas,libata,sg
mmc_core 176128 5 b43,sdhci,ssb,cqhci,sdhci_pci
firewire_ohci 45056 0
aes_x86_64 20480 1 aesni_intel
tg3 188416 0
usbcore 299008 8 xhci_hcd,ehci_pci,usbhid,usb_storage,ehci_hcd,btusb,xhci_pci,uas
crypto_simd 16384 1 aesni_intel
cryptd 28672 3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper 16384 1 aesni_intel
i2c_i801 28672 0
thunderbolt 151552 0
firewire_core 81920 2 firewire_ohci,firewire_sbp2
libphy 77824 1 tg3
lpc_ich 28672 0
mfd_core 16384 1 lpc_ich
crc_itu_t 16384 1 firewire_core
usb_common 16384 1 usbcoreCode:00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM57766 Gigabit Ethernet PCIe (rev 01)
01:00.1 SD Host controller: Broadcom Limited BCM57765/57785 SDXC/MMC Card Reader (rev 01)
02:00.0 Network controller: Broadcom Limited BCM4331 802.11a/b/g/n (rev 02)
03:00.0 FireWire (IEEE 1394): LSI Corporation FW643 [TrueFire] PCIe 1394b Controller (rev 08)
04:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
05:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:00.0 System peripheral: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)Thank you!latest?d=yIl2AUoC8zA latest?i=vqwvp9fjUQs:gPgQoPTRJWY:F7zBnMy latest?i=vqwvp9fjUQs:gPgQoPTRJWY:V_sGLiP latest?d=qj6IDK7rITs latest?i=vqwvp9fjUQs:gPgQoPTRJWY:gIN9vFwvqwvp9fjUQs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments