Coder Social home page Coder Social logo

Comments (7)

endaaman avatar endaaman commented on September 22, 2024 1

(In general, instead of systemd, DE's "auto start" or something should be used in this case)

from tym.

endaaman avatar endaaman commented on September 22, 2024

I figured out the same problem also in a normal DE (I am a SDDM/KDE user.). I could check that if the env value is set DISPLAY=:0 manually, the service works correctly. But the hotfix should not be the best.

There must be a more elegant and smarter way to do this, but I don't know now.

from tym.

xlucn avatar xlucn commented on September 22, 2024

DE's "auto start"

That seems the better work-around.

Back to my original thought. I am not sure if tym can, since it might be limited by what vte can do, start the daemon without requiring a graphical environment. That's the behavior of urxvtd, also quite common for other "daemon" processes.

from tym.

endaaman avatar endaaman commented on September 22, 2024

The option --daemon reduces the cost to initilize the GUI footprint. It is reasonable that such process needs DISPLAY env.

since it might be limited by what vte can do

Strictly speaking, limited by GTK rather than VTE.

How are urxvtd users solving this problem?

from tym.

xlucn avatar xlucn commented on September 22, 2024

Thanks for the explanation.

How are urxvtd users solving this problem?

The issue doesn't exist for urxvt. In a tty, urxvtd can start without problems (and then start urxvtc in an X session somewhere else), where tym --daemon failed.

Maybe urxvt has somehow separated code that requires GUI to be only in client side.

from tym.

js-everts avatar js-everts commented on September 22, 2024

In the case of startx. Adding tym --daemon & into your xinitrc seems to work.

from tym.

endaaman avatar endaaman commented on September 22, 2024

We have the 2 options.

  • add an entry to launch tym --daemon on yours DE settings
  • start manually on your 'xinitrc'

If you want to use tym-daemon.service , set DISPLAY=:0 but it is not recommended.

from tym.

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.