Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #272710

Re: emacs service and session start

From Max Nikulin <manikulin@gmail.com>
Newsgroups linux.debian.user
Subject Re: emacs service and session start
Date 2024-08-30 16:50 +0200
Message-ID <Jhb6O-8Jrd-7@gated-at.bofh.it> (permalink)
References (6 earlier) <JfKBH-7NME-5@gated-at.bofh.it> <JgGml-8oTT-5@gated-at.bofh.it> <JgP6h-8vdR-1@gated-at.bofh.it> <Jh8iC-8HFO-7@gated-at.bofh.it> <Jh8LE-8I5G-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Erwan, maybe you forgot to do disable/enable cycle after adjusting 
"[Install]" section of the unit configuration.

systemctl --user list-dependencies --reverse emacs.service

On 30/08/2024 19:19, Greg Wooledge wrote:
> It's amazing how badly the systemd folks managed to break *everything*.
> 
> I'm pretty old-fashioned.  I use startx from a console login, and I
> configure it with a ~/.xsession file which overrides the Debian stuff.

I have no idea if it is intentional, but emacs.service is not specific 
to graphical sessions. By default (when enabled) it is started even in 
the case of e.g. ssh login. So you may use single emacs daemon instance 
having multiple simultaneous logins. It is stopped on last logout. 
ssh-agent may be started after emacs and it is possible to notify emacs 
where is current agent socket.

Concerning graphical sessions, when you click in a browser on a link to 
download a document that should be opened in LibreOffice, should it 
inherit environment from browser or should it be started with clean 
session environment? What if the browser is running in a highly isolated 
sandbox and there is no LibreOffice in the accessible part of its 
filesystem? So some intermediate instance that can handle requests to 
launch other applications becomes necessary. Of course, new 
possibilities add some complexity.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

emacs service and session start Erwan David <erwan@rail.eu.org> - 2024-08-23 10:10 +0200
  Re: emacs service and session start didier gaumet <didier.gaumet@gmail.com> - 2024-08-23 11:20 +0200
    Re: emacs service and session start Erwan David <erwan@rail.eu.org> - 2024-08-23 11:40 +0200
    Re: emacs service and session start Erwan David <erwan@rail.eu.org> - 2024-08-23 18:20 +0200
      Re: emacs service and session start Max Nikulin <manikulin@gmail.com> - 2024-08-23 18:40 +0200
        Re: emacs service and session start Max Nikulin <manikulin@gmail.com> - 2024-08-25 05:20 +0200
          Re: emacs service and session start Erwan David <erwan@rail.eu.org> - 2024-08-26 10:10 +0200
            Re: emacs service and session start Erwan David <erwan@rail.eu.org> - 2024-08-26 13:40 +0200
              Re: emacs service and session start Max Nikulin <manikulin@gmail.com> - 2024-08-26 18:20 +0200
                Re: emacs service and session start Erwan David <erwan@rail.eu.org> - 2024-08-29 08:00 +0200
                Re: emacs service and session start Max Nikulin <manikulin@gmail.com> - 2024-08-29 17:20 +0200
                Re: emacs service and session start Erwan David <erwan@rail.eu.org> - 2024-08-30 13:50 +0200
                Re: emacs service and session start Greg Wooledge <greg@wooledge.org> - 2024-08-30 14:20 +0200
                Re: emacs service and session start Max Nikulin <manikulin@gmail.com> - 2024-08-30 16:50 +0200
                Re: emacs service and session start Max Nikulin <manikulin@gmail.com> - 2024-08-30 14:40 +0200
                Re: emacs service and session start Erwan David <erwan@rail.eu.org> - 2024-08-30 15:30 +0200

csiph-web