# c.ServerApp.terminals\_enabled = False not working

**URL:** <https://discourse.jupyter.org/t/c-serverapp-terminals-enabled-false-not-working/22279>\
**Category:** JupyterLab\
**Created:** [November 8, 2023, 12:07am UTC](https://discourse.jupyter.org/t/c-serverapp-terminals-enabled-false-not-working/22279 "2023-11-08T00:07:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthieu\_M](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/matthieu_m/32/11357_2.png) [@Matthieu\_M](https://discourse.jupyter.org/u/Matthieu_M)\
**Post date:** [November 8, 2023, 12:07am UTC](https://discourse.jupyter.org/t/c-serverapp-terminals-enabled-false-not-working/22279/1 "2023-11-08T00:07:28Z")

</div>

I am trying to disable terminals in JupyterLab. Neither of the following seem to work

```auto
c.NotebookApp.terminals_enabled = False
c.ServerApp.terminals_enabled = False

```

Jupyter starts in a service using `ExecStart=/bin/bash --login -c '/opt/conda/envs/jupyterlab/bin/jupyter lab --config=/home/jupyter/.jupyter/jupyter_notebook_config.py'`

My ServerApp.terminals\_enabled change is in jupyter\_notebook\_config.py file. I also tried to use a jupyter\_server\_config.py but that didn’t work either

I did run a `sudo systemctl restart jupyter`

See the versions I am using below.

```auto
$jupyter --version

Selected Jupyter core packages...
IPython : 8.17.2
ipykernel : 6.26.0
ipywidgets : 8.1.1
jupyter_client : 8.5.0
jupyter_core : 5.5.0
jupyter_server : 2.9.1
jupyterlab : 3.6.6
nbclient : 0.8.0
nbconvert : 7.10.0
nbformat : 5.9.2
notebook : 6.5.6
qtconsole : not installed
traitlets : 5.13.0

```

Any ideas?

---

<div class="post-metadata">

**Author:** ![Matthieu\_M](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/matthieu_m/32/11357_2.png) [@Matthieu\_M](https://discourse.jupyter.org/u/Matthieu_M)\
**Post date:** [November 10, 2023, 1:09am UTC](https://discourse.jupyter.org/t/c-serverapp-terminals-enabled-false-not-working/22279/2 "2023-11-10T01:09:12Z")

</div>

Seems like the only way is to uninstall terminado

`pip uninstall terminado`. That seems to be overkilled vs just disable a parameter…

I’ll leave this open in case someone has a better suggestion

---

<div class="post-metadata">

**Author:** ![krassowski](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/krassowski/32/1685_2.png) [@krassowski](https://discourse.jupyter.org/u/krassowski)\
**Post date:** [November 10, 2023, 3:21pm UTC](https://discourse.jupyter.org/t/c-serverapp-terminals-enabled-false-not-working/22279/3 "2023-11-10T15:21:44Z")

</div>

Can you open an issue on jupyter-server repository?

---

<div class="post-metadata">

**Author:** ![Matthieu\_M](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/matthieu_m/32/11357_2.png) [@Matthieu\_M](https://discourse.jupyter.org/u/Matthieu_M)\
**Post date:** [November 10, 2023, 11:00pm UTC](https://discourse.jupyter.org/t/c-serverapp-terminals-enabled-false-not-working/22279/4 "2023-11-10T23:00:23Z")

</div>

Ah actually, for some reason I thought I had tried the following which didn’t work but it actually does

```auto
jupyter server extension enable jupyter_server_terminals
sudo systemctl restart jupyter

```

---

<div class="post-metadata">

**Author:** ![Matthieu\_M](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/matthieu_m/32/11357_2.png) [@Matthieu\_M](https://discourse.jupyter.org/u/Matthieu_M)\
**Post date:** [November 10, 2023, 11:01pm UTC](https://discourse.jupyter.org/t/c-serverapp-terminals-enabled-false-not-working/22279/5 "2023-11-10T23:01:28Z")

</div>

I don’t think I need anymore. Seems like I found a way without having to completly uninstall the library. See my approved solution
