At the end of 3 weeks of using Godot for the first time, this is what my game is looking like. I am running Linux and with a 3rd gen i5 CPU and an old low profile Radeon 550 video card, which is what this was captured on, so you know it can run on old systems.
The game is based on designing levels in parametric CAD programs as a series of parts, and I've written tools to arrange those parts into a scene. It also generates a level in Typescript using those CAD parts and then you, or me, the user, adds logic in typescript after the fact to layout the logic of how the parts interact.
You game floors, walls, enemies, doodads, powerups, sounds, input, and a robust animation system available to you in your game level's Typescript.
I found a work around. I ended up using tmux from my user cron with @reboot, and my script works, plus I get a tmux named session I can attach to. The best of both worlds.
I've found the problem, but have don't understand why or how to fix it.
If I run:
sudo xsp4
It works.
If I have that in a script and I run:
sudo /path/to/script
It works.
But if my script script calls another script, then it looks like xsp4 fails. It looks like it's running (it says listening on port, and press return to continue, but that port isn't actually in use), and it reports that it's running, but no site is served. It just sits there, and it doesn't show up in:
ps aux | grep xsp4
So it's some strange problem related to xsp4 itself. It's like xsp4 interally forks another process, but something gets lost if it's called by another script. I can reproduce, but can't find out why or what is happening.
Here are some examples of scripts calling another script ... cron @reboot calling my script - or - /etc/rc.local .. both call my /path/to/script and fail in the same way. If I create two scripts and nest them, script one executes script two, then script two launches xsp4 ... it fails in exactly the same way. It looks like it ran, but it didn't.
I am trying to log into and use the desktop of my Mac remotely. That is to say, control my Mac using the keyboard and mouse plugged into my Linux computer, and view the Mac desktop on my Linux computer.
At the end of 3 weeks of using Godot for the first time, this is what my game is looking like. I am running Linux and with a 3rd gen i5 CPU and an old low profile Radeon 550 video card, which is what this was captured on, so you know it can run on old systems.
The game is based on designing levels in parametric CAD programs as a series of parts, and I've written tools to arrange those parts into a scene. It also generates a level in Typescript using those CAD parts and then you, or me, the user, adds logic in typescript after the fact to layout the logic of how the parts interact.
You game floors, walls, enemies, doodads, powerups, sounds, input, and a robust animation system available to you in your game level's Typescript.
I found a work around. I ended up using tmux from my user cron with @reboot, and my script works, plus I get a tmux named session I can attach to. The best of both worlds.
See my reply to @daniel-wtd above.
See my reply to @daniel-wtd above.
Here is the site running manually using tmux.
I've found the problem, but have don't understand why or how to fix it.
If I run:
It works.
If I have that in a script and I run:
It works.
But if my script script calls another script, then it looks like xsp4 fails. It looks like it's running (it says listening on port, and press return to continue, but that port isn't actually in use), and it reports that it's running, but no site is served. It just sits there, and it doesn't show up in:
So it's some strange problem related to xsp4 itself. It's like xsp4 interally forks another process, but something gets lost if it's called by another script. I can reproduce, but can't find out why or what is happening.
Here are some examples of scripts calling another script ... cron @reboot calling my script - or - /etc/rc.local .. both call my /path/to/script and fail in the same way. If I create two scripts and nest them, script one executes script two, then script two launches xsp4 ... it fails in exactly the same way. It looks like it ran, but it didn't.
I created a systemd service, and the same thing is happening. All I want to do is run a long running program at boot and everything is fighting me.
Main desktop: Ubuntu 16.04, Unity desktop, AMD FX 8350, 8GB of RAM.
Laptop: Mint 18.04, Cinnamon desktop, Intel Core 2 Duo T8300, 4GB of RAM.
And when I say frequently, I mean about once a week.
Oh yeah. That works great! Thank you so much!
I am trying to log into and use the desktop of my Mac remotely. That is to say, control my Mac using the keyboard and mouse plugged into my Linux computer, and view the Mac desktop on my Linux computer.
End of this list.
Back to top