I’m not much hoepful, but… just in case :)

I would like to be able to start a second session in a window of my current one (I mean a second session where I log in as a different user, similar to what happens with the various ctrl+alt+Fx, but starting a graphical session rather than a console one).

Do you know of some software that lets me do it?

Can I somehow run a KVM using my host disk as a the disk for the guest VM (and without breaking stuff)?

  • bloodfart@lemmy.ml
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    4 days ago

    It’s helpful to in this case to say what you’re actually trying to do.

    I don’t think you want multiseat, but I did something similar with x back in the day using a configuration for users similar to what’s described here.

    Note that that isn’t what you asked for. It’s having multiple x sessions on different f1, f2 etc keys.

    • talkingpumpkin@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      I’m just messing around with testing/configuring different desktop environment/window managers and I’m looking for a quick way to preview them (running the new session as my user would be fine too - I just thought it would be simpler as a different user)

      • bloodfart@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        4 days ago

        running a “second seat” on a different F key like in the link might be a good way to do that.

        back in the day i would just log out and log in. there’s so much going on with desktop environments i kinda had to spend some time in one doing my daily to figure out if it was what i wanted.

  • rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 days ago

    XWayland has something called a “rootful mode” where it opens an X11 session as a window nested inside a Wayland session. https://www.youtube.com/watch?v=Ij3rsqX2pKQ XWayland will be started as your own user, but maybe you could use sudo -u ... to set a different user.

    The other possibility is to switch to another terminal session with a different user, start an X11 session with startx, and use x11vnc -listen 127.0.0.1 -forever -passwd PASS1234 to run a VNC server that’s only accessible from the local machine.

  • CameronDev@programming.dev
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    edit-2
    4 days ago

    Sway-wm used to be spawnable as a child window, not sure if that is still possible.

    I think you should also be able to get multiple ctrl-alt-fX graphical sessions.

    I’ll come back and update this comment when I get to my PC and give this a try.

    Edit: seem Max-P’s comment.

  • bruhSoulz@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    3
    ·
    edit-2
    4 days ago

    i do not think it is possible, but perhaps the closest thing u can get is virtualbox or qemu/kvm/virtmanager with shared folders, i believe that allows you to passthrough files between guest and host. (shared folders allow you to copy paste something on ur host into them and have them appear in the guest, but dont think i used them before, at least not extensively, so you might have to look into them to check if this advice helps you)

      • rtxn@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 days ago

        Bro, that is literally the first comment on the post! None of the solutions were posted when it was made.

        They’re wrong, but you are just being a dick.

      • bruhSoulz@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        2
        ·
        edit-2
        4 days ago

        The irony is insane. “Act authoritative” even tho I literally didn’t claim to know anything for certain (I do not -think-, perhaps, I believe). Also as other gentleman pointed out, no other comment was there when I tried to help. I asked about vnc -after- I made my initial comment, because a few minutes after other people started pitching in with more accurate and relevant information. I feared the post would go on to have no responses so I tried to pitch in; you don’t have to know everything about everything in order to try and help someone out, all I did was provide my take on the matter, which is better than ignoring the question, regardless of how fruitful or fruitless what I had to say was. People like you are why noobs are afraid if dipping their toes in more technical areas such as linux, and get scared off by smartass supremacists that like to spoil things for no good reason. Sincere, seek help. 🤦🏻‍♂️