Giter Club home page Giter Club logo

Comments (26)

Tjzabel avatar Tjzabel commented on May 30, 2024

@axk4545 I will try to look at this issue when I get the chance.

from tigeros.

axk4545 avatar axk4545 commented on May 30, 2024

@Tjzabel ok. FYI I am working on the scripts atm. watch Telegram for the commit message

from tigeros.

Tjzabel avatar Tjzabel commented on May 30, 2024

@axk4545 yeah sure. I won't be available to do any work until a little after 4 anyways

from tigeros.

axk4545 avatar axk4545 commented on May 30, 2024

@Tjzabel added enablerpmfusion to top of postinstall

from tigeros.

Tjzabel avatar Tjzabel commented on May 30, 2024

@axk4545 I believe we solved this issue. Closing.

from tigeros.

axk4545 avatar axk4545 commented on May 30, 2024

The script runs but immediately closes the terminal window after entering the password

from tigeros.

Tjzabel avatar Tjzabel commented on May 30, 2024

@axk4545 where is the file put? Ran fine for me when placed in .config/autostart/

from tigeros.

axk4545 avatar axk4545 commented on May 30, 2024

@Tjzabel ~/.config/autostart/tigeros-postinstall.desktop. if run manually it works fine @linux-modder any ideas?

from tigeros.

Tjzabel avatar Tjzabel commented on May 30, 2024

@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.

axk4545 avatar axk4545 commented on May 30, 2024

@Tjzabel Yes. I am running the latest TigerOS iso from tigeros.ritlug.com/isos in a VirtualBox VM.

from tigeros.

linux-modder avatar linux-modder commented on May 30, 2024

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.

axk4545 avatar axk4545 commented on May 30, 2024

@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.

johnraff avatar johnraff commented on May 30, 2024

autostarting of the Bunsen Labs postinstall script

There are two:

  1. 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
  2. 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.

axk4545 avatar axk4545 commented on May 30, 2024

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.

johnraff avatar johnraff commented on May 30, 2024

No, /usr/lib/bunsen/configs/bl-user-setup is run by lightdm, as root, before the user is logged in.

from tigeros.

axk4545 avatar axk4545 commented on May 30, 2024

@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.

axk4545 avatar axk4545 commented on May 30, 2024

Well now it seems to work too well... it runs on the livecd.

from tigeros.

axk4545 avatar axk4545 commented on May 30, 2024

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.

ct-martin avatar ct-martin commented on May 30, 2024

Other ideas:

from tigeros.

linux-modder avatar linux-modder commented on May 30, 2024

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.

Tjzabel avatar Tjzabel commented on May 30, 2024

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.

axk4545 avatar axk4545 commented on May 30, 2024

@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.

ct-martin avatar ct-martin commented on May 30, 2024

To be retested after #41

from tigeros.

axk4545 avatar axk4545 commented on May 30, 2024

I approve of the last comment

from tigeros.

Tjzabel avatar Tjzabel commented on May 30, 2024

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.

axk4545 avatar axk4545 commented on May 30, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.