Skip to content

antiX-forum

Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.

antiX-forum
  • Forum
    • Recent Posts
    • Latest topics
    • Most popular topics
    • Topics with no replies
    • Topics with most replies
    • Old Forum Archive
    • antiX IRC
    • Private Messages
  • Quick News
  • antiX Home
  • FAQ
  • antiX wiki
  • Download
  • Donate
  • Login
  • Register

Broken root-Persistence

Forum › Forums › New users › New Users and General Questions › Broken root-Persistence

Tagged: slim login slim_conf slim.conf login_cmd Xfce

  • This topic has 1 reply, 2 voices, and was last updated Aug 29-6:05 am by Xecure.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 27, 2020 at 6:55 pm #40836
    Member
    flyntstone

      I managed to break my root-persistence apparently by installing Xfce and then modifying /etc/slim_conf as per
      https://wiki.debian.org/Xfce

      The above page did not mention permissions, so I did this (during a live root-persistence session):

      sudo vi /etc/slim_conf using
      and made the following change:
      #login_cmd setsid /usr/local/bin/desktop-session %session
      login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %session

      The boot works, but the login fails even after ctrl-f1-ing into a Desktop Environment first (as per https://mynixworld.info/2011/11/25/slim-failed-to-execute-login-command/
      ). I went ahead and remade the key with LiveUSB-maker. It worked for a very little while. Then I ended up cancelling persistence when logging out in an unrelated action. After that I still had the same problem! So now I use the key without persistence. Any suggestions? BTW, I noticed that the key seems to gain a UEFI partition for each remaking. I have stayed away from using UEFI… the screen to choose a boot device gives me the option.

      August 29, 2020 at 6:05 am #40880
      Member
      Xecure
        Helpful
        Up
        0
        ::
        flyntstone wrote:

        I managed to break my root-persistence apparently by installing Xfce and then modifying /etc/slim_conf as per
        https://wiki.debian.org/Xfce

        The above page did not mention permissions, so I did this (during a live root-persistence session):

        sudo vi /etc/slim_conf using
        and made the following change:
        #login_cmd setsid /usr/local/bin/desktop-session %session
        login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %session

        I believe you don’t need to modify the slim.conf file. antiX created a script that is hooked to apt. After every desktop installation it will execute and automatically update slim.

        Please test it again without modifying slim.
        If you are still trying to save the live USB device with persistence, log in from tty1, edit and restore the slim.conf file to how it was before, then persist-save and reboot.

        antiX Live system enthusiast.
        General Live Boot Parameters for antiX.

      • Author
        Posts
      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.
      Log In

      Contact us | Privacy Policy

      © 2023 antiX-forum • Built with GeneratePress
      Cleantalk Pixel
      We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
      Cookie SettingsAccept All
      Manage consent

      Privacy Overview

      This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
      Necessary
      Always Enabled
      Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
      CookieDurationDescription
      cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
      cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
      cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
      cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
      cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
      viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
      Functional
      Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
      Performance
      Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
      Analytics
      Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
      Advertisement
      Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
      Others
      Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
      SAVE & ACCEPT