WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Picore 13.1.0 failed in waitforX  (Read 7185 times)

Offline erfan_m14

  • Newbie
  • *
  • Posts: 16
Picore 13.1.0 failed in waitforX
« on: February 13, 2022, 12:41:23 PM »
Hey everyone, I booted picore 13 on my rpi3B+ and expanded the second partition and made wifi working, then downloaded TC.tcz, now after I run "startx" after a few seconds I get the error:
Code: [Select]
failed in waitforX

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: Picore 13.1.0 failed in waitforX
« Reply #1 on: February 13, 2022, 03:11:19 PM »
Hi erfan_m14
Welcome to the forum.

See if this command provides any more information:
Code: [Select]
`head -n1 .xsession`Those are not apostrophes at the beginning and end of the command. They are back ticks and
look like this  ` , not like this  '. It is usually found at the left end of the keyboard
on the  tilde  (~) key.


Offline erfan_m14

  • Newbie
  • *
  • Posts: 16
Re: Picore 13.1.0 failed in waitforX
« Reply #2 on: February 13, 2022, 03:29:43 PM »
Hi erfan_m14
Welcome to the forum.

See if this command provides any more information:
Code: [Select]
`head -n1 .xsession`Those are not apostrophes at the beginning and end of the command. They are back ticks and
look like this  ` , not like this  '. It is usually found at the left end of the keyboard
on the  tilde  (~) key.
Thank you for your greetings!
Code: [Select]
/usr/local/lib/xorg/Xorg: error while loading shared libraries: libdev.so.0: cannot open shared object file: no such file or directory

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: Picore 13.1.0 failed in waitforX
« Reply #3 on: February 13, 2022, 03:45:15 PM »
Hi erfan_m14
Did you copy that by hand? Is it possible it said  libudev.so.0 , not  libdev.so.0? If that is the
case, try installing  libudev.tcz.

Offline erfan_m14

  • Newbie
  • *
  • Posts: 16
Re: Picore 13.1.0 failed in waitforX
« Reply #4 on: February 13, 2022, 03:56:28 PM »
Hi erfan_m14
Did you copy that by hand? Is it possible it said  libudev.so.0 , not  libdev.so.0? If that is the
case, try installing  libudev.tcz.
You're right it was libudev.so.0.
I ran:
Code: [Select]
tce-load -wi libudev.tczAnd got:
Code: [Select]
libudev is already installed!
« Last Edit: February 13, 2022, 04:03:38 PM by erfan_m14 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: Picore 13.1.0 failed in waitforX
« Reply #5 on: February 13, 2022, 04:04:52 PM »
Hi erfan_m14
Make sure it really is installed and not just downloaded:
Code: [Select]
tce-load -i libudev.tcz
If that doesn't help, try running this:
Code: [Select]
sudo ldconfig

Offline erfan_m14

  • Newbie
  • *
  • Posts: 16
Re: Picore 13.1.0 failed in waitforX
« Reply #6 on: February 13, 2022, 04:10:15 PM »
Hi erfan_m14
Make sure it really is installed and not just downloaded:
Code: [Select]
tce-load -i libudev.tcz
If that doesn't help, try running this:
Code: [Select]
sudo ldconfig

Here is the result:
Code: [Select]
$tce-load -i libudev.tcz
libudev is already installd!
$sudo ldconfig
$startx
failed in waitforX

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: Picore 13.1.0 failed in waitforX
« Reply #7 on: February 13, 2022, 04:14:58 PM »
Hi erfan_m14
Attach the following log file to your next post:
Code: [Select]
/var/log/Xorg.0.log

Offline erfan_m14

  • Newbie
  • *
  • Posts: 16
Re: Picore 13.1.0 failed in waitforX
« Reply #8 on: February 14, 2022, 11:40:34 PM »
Hi Rich!
I rebooted the RPI and this time I got different results when I ran `head -n1 .xsession`
And it seems there isn't Xorg.0.log file in /var/log/

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: Picore 13.1.0 failed in waitforX
« Reply #9 on: February 14, 2022, 11:49:26 PM »
Hi erfan_m14
Install  openssl.tcz.

Offline erfan_m14

  • Newbie
  • *
  • Posts: 16
Re: Picore 13.1.0 failed in waitforX
« Reply #10 on: February 15, 2022, 12:04:27 AM »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: Picore 13.1.0 failed in waitforX
« Reply #11 on: February 15, 2022, 12:08:11 AM »
Hi erfan_m14
Run this command:
Code: [Select]
hash -rThen try this again:
Code: [Select]
`head -n1 .xsession`

Offline erfan_m14

  • Newbie
  • *
  • Posts: 16
Re: Picore 13.1.0 failed in waitforX
« Reply #12 on: February 15, 2022, 12:12:14 AM »
I get the exact same results of the previous post

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: Picore 13.1.0 failed in waitforX
« Reply #13 on: February 15, 2022, 12:14:29 AM »
Hi erfan_m14
Please post the contents of your  onboot.lst  file.

Offline erfan_m14

  • Newbie
  • *
  • Posts: 16
Re: Picore 13.1.0 failed in waitforX
« Reply #14 on: February 15, 2022, 12:18:51 AM »
Code: [Select]
openssh
firmware-rpi-wifi
firmware-rpi3-wireless
TC
wireless-KERNLE
wifi
Is there any chance that I have messed something up at some point, let me load Picore 13.1.0 on my SD using rpi imager again and tell you every command I run from first run.