helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
806 stars 58 forks source link

Login screen doesn't show #207

Open kettle-7 opened 3 years ago

kettle-7 commented 3 years ago

When I boot hello, it goes through the regular FreeBSD boot process, but then when it gets to the end, initgfx says Testing X configuration, then the screen goes black for a second, then I see a bunch of error messages saying

(EE) No screens found

and then

Starting slim...

and that's it.

I have to switch to vt1, type in my username, then run these commands:

$ ps -auxw | grep X
root   2054   6.7  3.3  386956 240804 v1  S    21:56     5:11.48 /usr/local/bin/Xorg vt9 ...
kettle 3164   ...                                                /usr/bin/grep --color=auto X
$ kill 2054 # or whatever PID the X server has
$ sudo X :0 & DISPLAY=:0 start-hello

Anyway, I'm not sure what SLiM is doing, but if I leave it on vt9, then after about 5 seconds I get a black screen and that's it. No mouse, no GUI, nothing.

kettle-7 commented 3 years ago

I edited /usr/local/etc/slim.conf to disable autologin and see if that works; the login window shows, but after typing in my password I just get taken to an X server with no clients.

kettle-7 commented 3 years ago

SDDM works, starts faster, and looks better. Only thing is, I need to start it manually because no matter how much I try to stop SLiM from running, it starts and crashes SDDM.

probonopd commented 3 years ago

In the future, please report such bugs at https://github.com/helloSystem/ISO/issues/ and be sure to fill in the bug report template. Thanks.


Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Version (please complete the following information):

Computer (please complete the following information):

Additional context Add any other context about the problem here.

probonopd commented 3 years ago

This most likely means that initgfx was not able to identify your GPU correctly, or the needed driver could not be loaded. Please provide the information asked above so that we can look into it.

Also, which GPU are you using?

kettle-7 commented 3 years ago

Describe the bug SLiM doesn't start the desktop, leaving only an empty X server with no clients

To Reproduce Steps to reproduce the behavior:

I'm not really sure, I just typed my username and password in and the login screen disappeared, leaving a black screen.

Expected behavior I would expect SLiM to run the start-hello command and for that command to do what it does when run from SDDM or a console.

Screenshots If I added a screenshot, it would just be a black rectangle.

Version (please complete the following information):

Computer (please complete the following information):

Device: HP HP Notebook is all I could find in the DMI, but it's 5 years old.

Additional context SDDM works, but only when started by hand and not from the service file.

probonopd commented 3 years ago

Do you get the same behavior if yo run https://github.com/helloSystem/ISO/releases/download/r0.4.0/hello-0.4.0_0D26-FreeBSD-12.1-amd64.iso?

kettle-7 commented 3 years ago

I can't because the system freezes at the end of the boot process. I'll give it another go just to see.

kettle-7 commented 3 years ago

I have had similar freezes on the Ubuntu live system, and I have to unplug the USB and plug it back in again on every live OS I try.

TL;DR

I think the USB stick is broken, so I'll try with a different one.

probonopd commented 3 years ago

Could you verify with another USB stick?

kettle-7 commented 3 years ago

Yes, I need a few other things from the stationery shop as well.

kettle-7 commented 3 years ago

At the moment I have made a temporary PyQt5 solution of a DM.