Giter Club home page Giter Club logo

Comments (12)

classabbyamp avatar classabbyamp commented on August 16, 2024 1

Quick question; if I add -C "live.autologin" do I still need the lightdm package and service?

yes, because lightdm starts xfce. if you just had live.autologin, you'd end up at tty1 with a shell prompt

from void-mklive.

classabbyamp avatar classabbyamp commented on August 16, 2024

I cannot reproduce this with an x86_64 XFCE image generated on 20240217 or an image generated just now, in a VM. It showed me the TTY login for a second, then a black screen while lightdm loaded, then it auto-logged into XFCE. Logging out goes to lightdm just fine.

what exact command did you use to generate the image? what hardware is the running on? (especially interested in the graphics card)

from void-mklive.

absolutelynothinghere avatar absolutelynothinghere commented on August 16, 2024

what exact command did you use to generate the image?

The full command is here: https://pastebin.com/jxc0UEDJ

what hardware is the running on? (especially interested in the graphics card)

I have an Nvidia graphics card, although I'm currently testing images in a VM (VirtualBox).

from void-mklive.

classabbyamp avatar classabbyamp commented on August 16, 2024

the service isn't enabled automatically, you need to do that with -S

from void-mklive.

absolutelynothinghere avatar absolutelynothinghere commented on August 16, 2024

you need to do that with -S

Didn't work, sorry. I tried adding -S lightdm but there was no difference.

from void-mklive.

classabbyamp avatar classabbyamp commented on August 16, 2024

lightdm requires dbus, did you enable that?

BTW, by using mklive directly, you're missing some of the things that the xfce images have, because build_x86_images does them

from void-mklive.

absolutelynothinghere avatar absolutelynothinghere commented on August 16, 2024

Thank you, adding -S "dbus elogind lightdm NetworkManager polkitd" did the trick. I suppose that was done automatically in older versions of mklive.

Quick question; if I add -C "live.autologin" do I still need the lightdm package and service?

from void-mklive.

absolutelynothinghere avatar absolutelynothinghere commented on August 16, 2024

I couldn't get lightdm to autologin despite many combinations of live.autologin and lightdm.conf, not sure if this deserves its own issue or if I'm just not doing the proper steps...

from void-mklive.

classabbyamp avatar classabbyamp commented on August 16, 2024

did you put xfce in /etc/lightdm/.session in an include dir?

https://github.com/void-linux/void-mklive/blob/master/dracut%2Fvmklive%2Fdisplay-manager-autologin.sh#L33-L41

from void-mklive.

absolutelynothinghere avatar absolutelynothinghere commented on August 16, 2024

Ok I now have autologin-session=xfce added to the file lightdm.conf, and xfce in /etc/lightdm/.session but the lightdm greeter is still displayed. :(

from void-mklive.

classabbyamp avatar classabbyamp commented on August 16, 2024

look at what build-x86-images is doing. all you need to do is have an include dir with /etc/lightdm/.session containing xfce, and have live.autologin on the commandline. the rest is handled by dracut on boot.

from void-mklive.

absolutelynothinghere avatar absolutelynothinghere commented on August 16, 2024

I think it's working now. The key was removing /etc/lightdm/lightdm.conf from the custom root, and only keeping the /etc/lightdm/.session file. As well as passing -C "live.autologin" of course.

Thanks a lot for the help! Much appreciated.

from void-mklive.

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.