# 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:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![marcos](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@marcos](https://org-roam.discourse.group/u/marcos)\
**Post date:** [May 24, 2024, 4:14pm UTC](https://org-roam.discourse.group/t/problem-with-org-roam-protocol/3473/21 "2024-05-24T16:14:17Z")

</div>

@nobiot I will make an experiment with `-c` option as you suggest, just to be sure, and then I will make the PR … however this will happen after 3 June 2024, because I will be away for a few days.

---

<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 24, 2024, 7:02pm UTC](https://org-roam.discourse.group/t/problem-with-org-roam-protocol/3473/22 "2024-05-24T19:02:42Z")

</div>

Thank you. Any time you can 🙂

---

<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 28, 2024, 6:33pm UTC](https://org-roam.discourse.group/t/problem-with-org-roam-protocol/3473/23 "2024-05-28T18:33:28Z")

</div>

FYI. This may be relevant as a future reference for Mac users wanting to use emacs as a daemon: [pel/doc/emacs-daemon.rst.txt at master · pierre-rouleau/pel · GitHub](https://github.com/pierre-rouleau/pel/blob/master/doc/emacs-daemon.rst.txt)

---

<div class="post-metadata">

**Author:** ![marcos](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@marcos](https://org-roam.discourse.group/u/marcos)\
**Post date:** [June 4, 2024, 12:29pm UTC](https://org-roam.discourse.group/t/problem-with-org-roam-protocol/3473/24 "2024-06-04T12:29:41Z")

</div>

Hello @nobiot ,

I have tried using option `-c` with following configuration:

- `.emacs` does not contain `(server-start)`
- I start emacs from command line with `emacs --daemon`
- I modified the script to include `-c` option when invoking `emacsclient` as you suggested here [Problem with org-roam-protocol - #20 by nobiot](https://org-roam.discourse.group/t/problem-with-org-roam-protocol/3473/20)

With this configuration everything works.

So, I guess there are two options:

1. use the configuration described above
2. include `(server-start)` in `.emacs` and then you do not need the `-c` option when invoking the `emacsclient` in the script, you do not need to start emacs with `--daemon`

Do you still want me to do a pull request to update the documentation? If so, should I try to describe the two options in the documentation?

---

<div class="post-metadata">

**Author:** ![marcos](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@marcos](https://org-roam.discourse.group/u/marcos)\
**Post date:** [June 18, 2024, 9:03am UTC](https://org-roam.discourse.group/t/problem-with-org-roam-protocol/3473/25 "2024-06-18T09:03:44Z")

</div>

> [@marcos](#):
>
> `(server-start)` in `.emacs`

@nobiot I created a PR [Update org-roam.org by marcosbodio · Pull Request #2441 · org-roam/org-roam · GitHub](https://github.com/org-roam/org-roam/pull/2441)

---

<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:** [June 18, 2024, 9:08am UTC](https://org-roam.discourse.group/t/problem-with-org-roam-protocol/3473/26 "2024-06-18T09:08:57Z")

</div>

Awesome 🙂

[Previous page](https://org-roam.discourse.group/t/problem-with-org-roam-protocol/3473.md?page=1)
