Comments (26)
@axk4545 I will try to look at this issue when I get the chance.
from tigeros.
@Tjzabel ok. FYI I am working on the scripts atm. watch Telegram for the commit message
from tigeros.
@axk4545 yeah sure. I won't be available to do any work until a little after 4 anyways
from tigeros.
@Tjzabel added enablerpmfusion to top of postinstall
from tigeros.
@axk4545 I believe we solved this issue. Closing.
from tigeros.
The script runs but immediately closes the terminal window after entering the password
from tigeros.
@axk4545 where is the file put? Ran fine for me when placed in .config/autostart/
from tigeros.
@Tjzabel ~/.config/autostart/tigeros-postinstall.desktop. if run manually it works fine @linux-modder any ideas?
from tigeros.
@axk4545 I was able to have it run on a fresh fedora install. I threw the file in that location, rebooted the VM, and it worked just fine.
Are you able to reproduce your issue with it closing after entering the password?
from tigeros.
@Tjzabel Yes. I am running the latest TigerOS iso from tigeros.ritlug.com/isos in a VirtualBox VM.
from tigeros.
as of 0513 iso still requires explicit invocation while perms are as shown:
[tigers@tigers ~]$ ls -la /usr/local/bin/postinstall
-rwxr-xr-x. 1 root root 4589 May 13 05:01 /usr/local/bin/postinstall
this is on a raw metal fedora 25 (415Gb) / (30Gb) tigeros install:
from tigeros.
@linux-modder thank you it would seem we need to possibly fix the permissions on the script itself. @johnraff @2ion I would be interested in how you have decided to implement the autostarting of the Bunsen Labs postinstall script.
from tigeros.
autostarting of the Bunsen Labs postinstall script
There are two:
- A script to set up the default user configuration during the first login, this is triggered from a lightdm config fragment: https://github.com/BunsenLabs/bunsen-configs/blob/master/50_bunsen.conf
- A script to offer the user various installation options etc, run after login from ~/.config/openbox/autostart: https://github.com/BunsenLabs/bunsen-configs/blob/master/skel/.config/openbox/autostart
Each of these scripts places a marker file in ~/.config/bunsen, and exits immediately if that file is already present.
from tigeros.
A script to set up the default user configuration during the first login, this is triggered from a lightdm config fragment: https://github.com/BunsenLabs/bunsen-configs/blob/master/50_bunsen.conf
@johnraff is this something that the user sees or could interact with? Right now we have this desktop file and the script either fails to run or closes after the password prompt
from tigeros.
No, /usr/lib/bunsen/configs/bl-user-setup is run by lightdm, as root, before the user is logged in.
from tigeros.
@axk4545 I got it set! Terminal=false also play with profile arg to see if it matters. Will fix later after final exam.
from tigeros.
Well now it seems to work too well... it runs on the livecd.
from tigeros.
I think I have a workaround in removing the desktop file from the liveuser's autostart in %post of the kickstart. will implement in builds once I have tested and received feedback on other changes.
from tigeros.
Other ideas:
- Check if running from the livecd disk (Main disk is labeled "TigerOS-live")
- Look at using a service like PiBakery does (https://github.com/davidferguson/pibakery-raspbian)
from tigeros.
I assume you mean this: https://github.com/davidferguson/pibakery-raspbian/blob/master/etc/systemd/system/pibakery.service? If so that would work indeed.
from tigeros.
Sooo it seems this isn't an issue. It may possibly be an issue running TigerOS in a VM, but using the LiveCD on an actual machine does not seem to trigger the PostInstall prematurely as stated.
May need to do further testing to see if this is a VM specific issue or not.
from tigeros.
@Tjzabel thanks for checking on this. I would like to get a couple more confirmations that this isn't an issue before I close.
from tigeros.
To be retested after #41
from tigeros.
I approve of the last comment
from tigeros.
Anyone have any further information on this topic? I have tried this quite a few times, and it works as advertised. However, I have only tested on one machine. Has anyone else been able to test this on their own hardware?
from tigeros.
@Tjzabel I can test on my TigerOS install. It does seem to be functioning. We can merge this with the GTK UI issue #55 unless it comes back up
from tigeros.
Related Issues (20)
- Add Computer Engineering Major Software HOT 4
- Update README HOT 6
- Upgrade to Fedora 28 HOT 3
- Document Fedora Upgrade Process HOT 4
- Fix mirrors cert HOT 3
- Make Licensing clear for the design assets in our README and Wiki
- Make licensing clear in all source files HOT 15
- Upgrade to Fedora 29 HOT 13
- New infra playbooks HOT 1
- Create a glossary HOT 1
- Make sure Dockerfiles work as intended HOT 1
- Current TigerOS 29 Bugs HOT 7
- Rework TigerOS Kickstart HOT 1
- Consider Staying on Fedora 28 HOT 2
- Consider moving to GitLab for future development HOT 6
- Create roadmap for future development HOT 4
- Move to RITlug GitLab Roadmap HOT 3
- Create TeleIRC Bridge for Telegram and IRC HOT 2
- Leadership transition HOT 1
- About the current stage of development HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tigeros.