Code Monkey home page Code Monkey logo

Comments (7)

tvrzna avatar tvrzna commented on August 30, 2024

Hello,
yes, you can do it. However there is a but - it depends on your distro, how well it works. With Arch Linux I was able to achieve that by running standard service and second instance by running as root emptty -d -t 4. With Void Linux I had to create second service (also needed to add -t 4 to determinate different tty). I've tried that with two Wayland sessions and even two Xorg sessions.
So please, be aware it could be little bit buggy and it requires additional knowledge of emptty params (mainly -d for daemon and -t 4 for running on TTY4 + running it as root, if possible). Also be sure you have no getty running on your selected TTYs.

from emptty.

ripplingsnake avatar ripplingsnake commented on August 30, 2024

Thank you I will give it a go I am on manjaro atm

from emptty.

ripplingsnake avatar ripplingsnake commented on August 30, 2024

Sorry just to be clear I can just make two different conf/service files with the different tty and sessions and it should run both ? Or can I have them in the same service file thanks for your help

from emptty.

tvrzna avatar tvrzna commented on August 30, 2024

/etc/emptty/conf is always same for every instance of emptty. However you can override it with arguments. If you want to start second instance as service, you have to duplicate your /usr/lib/systemd/system/emptty.service and change

ExecStart=/usr/bin/emptty -d
Restart=always
TTYPath=/dev/tty${TTY_NUMBER}

into

ExecStart=/usr/bin/emptty -d -t [YOUR_TTY_NUMBER]
Restart=always
TTYPath=/dev/tty[YOUR_TTY_NUMBER]

from emptty.

ripplingsnake avatar ripplingsnake commented on August 30, 2024

Great thanks !

from emptty.

ripplingsnake avatar ripplingsnake commented on August 30, 2024

I have it set up but having issues starting a session
Fork/exec/lib/plasma-dbus-run-session-if-needed:operation not permitted

from emptty.

tvrzna avatar tvrzna commented on August 30, 2024

Have you tried different desktop environment (just to make sure this way works)?
Also please show me your /etc/emptty/conf and eventually your service files for emptty.

from emptty.

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.