Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
788 stars 188 forks source link

The system was not able to go graphical #694

Closed RichCoop closed 2 years ago

RichCoop commented 2 years ago

Hello, first of all I am pretty new to the thinstation, so I am pretty sure i have some sort of newbie mistakes, but still. I tried to run thinstation on the hard drive, downloaded the latest one. I used Debian to build it. Once i run the thinstation it says this:

"The system was not able to go graphical. This could indicate a problem with missing kernel modules or Xorg drivers. There are no autostarted sessions! Dropping to shell."

Does it mean I have something wrong in my configs? thinstation.conf.buildtime.txt build.conf.txt

Thinstation commented 2 years ago

You should watch my getting started with ThinStation video. The link is in the wiki.

Try building with —allmodules.

On Wed, Jan 19, 2022 at 11:12 PM RichCoop @.***> wrote:

Hello, first of all I am pretty new to the thinstation, so I am pretty sure i have some sort of newbie mistake, but still. I tried to run thinstation on the hard drive, downloaded the latest one. I used Debian to build it. Once i run the thinstation it says this:

"The system was not able to go graphical. This could indicate a problem with missing kernel modules or Xorg drivers. There are no autostarted sessions! Dropping to shell."

Does it mean I have something wrong in my configs? thinstation.conf.buildtime.txt https://github.com/Thinstation/thinstation/files/7903027/thinstation.conf.buildtime.txt build.conf.txt https://github.com/Thinstation/thinstation/files/7903028/build.conf.txt

— Reply to this email directly, view it on GitHub https://github.com/Thinstation/thinstation/issues/694, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVW47WVTH42H4ANHJSMIQDUW6YVBANCNFSM5ML57NHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

RichCoop commented 2 years ago

Just tried that, still the same thing.

I also tried building with --allmodules --autodl --kernel 64 just like in the video. For kernel 64 it says: "Kernel 64 doesn't exist, ERROR!!"

Maybe this has to do something with my error.

Thinstation commented 2 years ago

I would need to see Xorg.0.log

On Thu, Jan 20, 2022 at 11:35 PM RichCoop @.***> wrote:

Just tried that, still the same thing.

— Reply to this email directly, view it on GitHub https://github.com/Thinstation/thinstation/issues/694#issuecomment-1018254864, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVW47X5HLX6SLJ7D76CPK3UXEEDTANCNFSM5ML57NHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

RichCoop commented 2 years ago

Xorg.0.log

Hope this is the right one.

Doncuppjr commented 2 years ago

I was thinking of the build that failed, but this might help too. In build.conf, make allfirmware is true, the xorg7-ati and Radeon are selected, then build —allmodules.

Sent from Yahoo Mail for iPhone

On Friday, January 21, 2022, 2:00 AM, RichCoop @.***> wrote:

Xorg.0.log

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>

RichCoop commented 2 years ago

I was thinking of the build that failed, but this might help too. In build.conf, make allfirmware is true, the xorg7-ati and Radeon are selected, then build —allmodules.

How exatly should i write the 'radeon' parts Like this: 'package xorg7_radeon'?

The rest was done since the beginning.

RichCoop commented 2 years ago

I don't know how to include radeon package, on all my attempts it says that it can't find such. The rest things are on and the issue is the same.

Thinstation commented 2 years ago

The package name changed. The two packages for radeon are xorg7-amdgpu and xorg7-ati You might have missing firmware from a bad unwind. Check for logs at /var/log/pkgbuild and missing firmware at /ts/firmware_notfound in a log for the kernel module for your gpu, like amdgpu.ko. Beyond that, I would need log files like Xorg.0.log from a failed attempt.

RichCoop commented 2 years ago

OK, i will try it all. I will send the log files after that.

RichCoop commented 2 years ago

"xorg7-amdgpu and xorg7-ati" these were ON since the beginning. "/ts/firmware_notfound" there is no 'firmware_notfound' in such directory. "/var/log/pkgbuild" here however there is one log file (edk2.log) edk2.log

So Xorg.0.log is the same. Xorg.0.log

In short at the time i got this error for the first time:

allfirmware was set to true, package xorg7-ati and package xorg7-amdgpu were ON (uncommented)

RichCoop commented 2 years ago

Just in case I tried this again, same issue. However, there is no Xorg.0.log in the thinstation... directory, only in the parent directory then \var\log Xorg.0.log

Thinstation commented 2 years ago

I need the log from the system from the boot attempt that gives you the can't go graphical error. If you booted from a thumb drive, you could do the following, su, password by default is pleasechangeme cp /var/log/Xorg.0.log /boot/.

Thinstation commented 2 years ago

also journalctl -xe > /boot/journal.log

RichCoop commented 2 years ago

Funny, there is no /boot/ directory in the actual thinstation, however i managed to get the log files. Here they are journal.log Xorg.0.log :

Thinstation commented 2 years ago

Hmmmmm. I'll take a look over the weekend. I don't have any radeon systems handy at the moment.

RichCoop commented 2 years ago

Thank you nevertheless.

Thinstation commented 2 years ago

Lets try this.

make a file /ts/build/packages/base/etc/X11/xorg.conf.d/00-noglamoregl.conf

Section "Module" Disable "glamoregl" EndSection

Then build and boot.

RichCoop commented 2 years ago

Ok, i will try this. I assume this file doesn't exist in that directory untill I make it, right? If it is so i just need to copy these: "Section "Module" Disable "glamoregl" EndSection" So it will be the file only with these lines, yes? Sorry to ask such dumb questions, it is because i will be able to do the edits this monday.

binglwang commented 2 years ago

Hi, I have the same problem, but I am able to run it on "5.6-Stable", hope this works for you.

Thinstation commented 2 years ago

I don't have a system that uses the xorg7-ati package. I did go ahead and rollup the xorg and mesa packages. Maybe give the latest commit a try.

RichCoop commented 2 years ago

So, i should update the thinstation and try to build it again?

Thinstation commented 2 years ago

Yep

RichCoop commented 2 years ago

OK, will do it tomorrow.

RichCoop commented 2 years ago

Tried, same issue.

Doncuppjr commented 2 years ago

You could try using the modeset driver. Remove xorg7-ati and xorg7-amdgpu 

Thinstation commented 2 years ago

I found a patch for the xorg7-ati driver. I have applied and pushed. Let me know if that fixes it.

RichCoop commented 2 years ago

I will try all of these, just in case, to use newest features, first i need to rmove thinstation like this: "cd thinstation ./setup-chroot clean_chroot exit" Then update it with this: "git pull" Then run ./setup-chroot and the rest of the things, yes?

Thinstation commented 2 years ago

Yes.

On Mon, Jan 31, 2022 at 8:27 AM RichCoop @.***> wrote:

I will try all of these, just in case, to use newest features, first i need to rmove thinstation like this: "cd thinstation ./setup-chroot clean_chroot exit" Then update it with this: "git pull" Then run ./setup-chroot and the rest of the things, yes?

— Reply to this email directly, view it on GitHub https://github.com/Thinstation/thinstation/issues/694#issuecomment-1025964870, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVW47QMLP6AY4IYLU3ULX3UY2Z6BANCNFSM5ML57NHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

RichCoop commented 2 years ago

OK, I will test my luck tomorrow.

RichCoop commented 2 years ago

Turns out it runs now, I see a window which asks me to write login and password. It suppose to fill it from the thinstation.conf.buildtime, but it doesn't, and i got freerdp error if i try to type it manually. I think it is because connecting to the RDS is a bit tricky. Anyway this is a different problem so yeah, the issue is solved, i suppose.

Thank you all.