# Problem with org-roam-protocol

**URL:** <https://org-roam.discourse.group/t/problem-with-org-roam-protocol/3473>\
**Category:** Troubleshooting\
**Created:** [May 16, 2024, 2:47pm UTC](https://org-roam.discourse.group/t/problem-with-org-roam-protocol/3473 "2024-05-16T14:47:55Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [May 23, 2024, 4:06pm UTC](https://org-roam.discourse.group/t/problem-with-org-roam-protocol/3473/20 "2024-05-23T16:06:29Z")

</div>

Just replying to myself.

Adding `server-start` would be a friendly update to the user manual – @marcos Would you be willing to create a PR for it?

```auto
(server-start)
(require 'org-roam-protocol)

```

It looks like it might have worked if `-nw` was added (to open the daemoned Emacs session to open in the Terminal – it may require the Terminal to be already open. Can’t tell without a Mac machine).

Or `-c` option added to create a new frame.

Basically, daemon has been working as an Emacs server quietly in the background without a new frame to interact with the user… So the Stack Exchange response is not entirely correct. You **cannot** start daemon **without** an emacs server, because daemon **always** starts an emacs server. But you can turn it off, which renders daemon useless as the post says.

```auto
on open location this_URL
    set EC to "/opt/homebrew/bin/emacsclient -c --no-wait "
    set filePath to quoted form of this_URL
    do shell script EC & filePath
    tell application "Emacs" to activate
end open location

```

The daemoned Emacs does not seem to create a new frame automatically through the protocol. So it looks like adding `server-start` in the init for the usual Emacs session would be the easiest way…

---

_[View the full topic](https://org-roam.discourse.group/t/problem-with-org-roam-protocol/3473)._
