Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A documented way to start without login-manager? #440

Open
MagnetarRocket opened this issue Jul 27, 2024 · 9 comments
Open

A documented way to start without login-manager? #440

MagnetarRocket opened this issue Jul 27, 2024 · 9 comments

Comments

@MagnetarRocket
Copy link

MagnetarRocket commented Jul 27, 2024

As the title says it, is there a documented way to start without Login? I am running NextSpace from a virtualized Ubuntu sever 23 install running on a mac with the UTM virtual machine; and so far on that arch, login seems to just hang up.

@trunkmaster
Copy link
Owner

As the title says it, is there a documented way to start without Login?
Yes, you may start it manually like this:

# Xorg :0 -noreset -background none -seat seat0 -nolisten tcp -keeptty vt1 &
$ gnustep-services start
$ export DISPLAY=:0.0
$ /usr/NextSpace/Apps/Workspace.app/Workspace

I am running NextSpace from a virtualized Ubuntu sever 23 install running on a mac with the UTM virtual machine; and so far on that arch, login seems to just hang up.
What do you mean by "hang up"? Is cursor blinking? Does mouse cursor move? Can you enter something with keyboard?
I guess you have missing some driver packages installed. Some time ago I've managed to build and start NEXTSPACE in UTM VM on MacBook Air M2 without a problem.

@MagnetarRocket
Copy link
Author

MagnetarRocket commented Aug 1, 2024

Starting with writing down what Ubuntu server does:
Ubuntu Server's X11 just crashes…
Screen Shot 2024-07-31 at 5 05 02 PM
changing seat0 to just 0 still does not solve the problem. I had a debian one, but had to restart my M1 MacBook air and lost what i've written down. Will try to recreate it for when i can.

Edit: Oh, another thing i found is that if you say yes to enabling login at system start in the installer, the next time the system boots: display doesn't work.

@trunkmaster
Copy link
Owner

Starting with writing down what Ubuntu server does: Ubuntu Server's X11 just crashes…

It doesn't crash - it won't start due to your OS setup. Try run Xorg without options and check output.

changing seat0 to just 0 still does not solve the problem.

seat0 is not an option it's a parameter to option -seat. Check if you correctly specified options to Xorg.

I had a debian one, but had to restart my M1 MacBook air and lost what i've written down. Will try to recreate it for when i can.

Edit: Oh, another thing i found is that if you say yes to enabling login at system start in the installer, the next time the system boots: display doesn't work.

Probably you've some Xorg drivers installed. Check /var/log/Xorg.0.log for hints.

@MagnetarRocket
Copy link
Author

The debian one is the stock ARM image from https://mac.getutm.app/gallery/debian-12 and the nextstep image was the recent 0.95 release. Also, trying to start gnustep-services start in the debian-12 VM always results in the error of:

 /usr/NextSpace/bin/gnustep-services: 19: gpbs: Exec format error
 /usr/NextSpace/bin/gnustep-services: 17: gdnc: Exec format error

I've decided to try and make a .desktop file for nextspace myself, but having gnustep-services start give out errors might be a blocker for when it's a required step to starting nextspace.

Also decided to reinstall the Ubuntu VM with the recent LTS release.

@trunkmaster
Copy link
Owner

trunkmaster commented Aug 4, 2024

Now problem becomes more clear - you're trying to run x86_64 binary code on ARM. You may try to build NextSpace from source, follow the steps described in README located in nextspace/Packaging/Sources.

@MagnetarRocket
Copy link
Author

Might also want to try and check the releases install script on Aarch64. Create new Arch dependent issue with release binaries and close this one?

On a unrelated note i created dock logo icons for Rasbian and Oracle Linux/Solaris. I can send those over if you want the two icons.

@MagnetarRocket
Copy link
Author

Building from source just only gave one error (I'd stringed tougher all the build scripts into one line, which i advise not to do so):

./7_build_libs_back.sh: 28: .: cannot open /Developer/Makefiles/GNUstep.sh: No such file

Apt has the needed file, but unsure of dependency clashes as it wants to use the vanilla GNUStep-common package too.

@trunkmaster
Copy link
Owner

trunkmaster commented Aug 5, 2024

Building from source just only gave one error (I'd stringed tougher all the build scripts into one line, which i advise not to do so):

./7_build_libs_back.sh: 28: .: cannot open /Developer/Makefiles/GNUstep.sh: No such file

Apt has the needed file, but unsure of dependency clashes as it wants to use the vanilla GNUStep-common package too.

NextSpace is self-contained - no dependencies on official GNUstep packages. GNUstep official packages have different directory hierarchy - remove them and run NextSpace build scripts one by one.

@trunkmaster
Copy link
Owner

Might also want to try and check the releases install script on Aarch64. Create new Arch dependent issue with release binaries and close this one?

Sorry, I don't have ARM-based laptop. My workhorse is x86_64 based. I have occassional access to Air M2, but I can't rely on it.

On a unrelated note i created dock logo icons for Rasbian and Oracle Linux/Solaris. I can send those over if you want the two icons.

I may add those icons, but I have no ability to develop/test project on variety of OS/hardware. Do you want to be a volonteer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants