How to remove /usr/bin/gnome-shell in nvidia-smi?

Hi there,
I have a newly installed Ubuntu system to use for my work.
There is a /usr/bin/gnome-shell process when I use nvidia-smi.
I tried to get rid of it but failed. I looked into this question:

Can anybody tell me what specifically I need to do? I hope to use the GPU only for computing.

Thanks!

Did you fix this issue?

I also want to remove the process that you posted. :(

nvidia-smiinvain@mymate:~$ nvidia-smi
Sat Nov  5 21:02:25 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 520.61.05    Driver Version: 520.61.05    CUDA Version: 11.8     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA TITAN Xp     On   | 00000000:01:00.0  On |                  N/A |
| 23%   36C    P8    13W / 250W |    151MiB / 12288MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1472      G   /usr/lib/xorg/Xorg                 36MiB |
|    0   N/A  N/A      1850      G   /usr/bin/gnome-shell              112MiB |
+-----------------------------------------------------------------------------+

I tried run the below command.

ubuntu22.04 $ 
ubuntu22.04 $  dpkg -l | grep gnome-shell
ii  gnome-shell                                42.2-0ubuntu0.2                              amd64        graphical shell for the GNOME desktop
ii  gnome-shell-common                         42.2-0ubuntu0.2                              all          common files for the GNOME graphical shell
ii  gnome-shell-extension-appindicator         42-2~fakesync1                               all          AppIndicator, KStatusNotifierItem and tray support for GNOME Shell
ii  gnome-shell-extension-desktop-icons-ng     43-2ubuntu1                                  all          desktop icon support for GNOME Shell
ii  gnome-shell-extension-ubuntu-dock          72~ubuntu5.22.04.1                           all          Ubuntu Dock for GNOME Shell
ii  yaru-theme-gnome-shell                     22.04.4                                      all          Yaru GNOME Shell desktop theme from the Ubuntu Community
ubuntu22.04 $ 
ubuntu22.04 $ sudo apt-get purge gnome-shell-*

And then, I fixed this issue.

ubuntu22.04 $ 
ubuntu22.04 $  nvidia-smi
Sat Nov  5 21:24:30 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 520.61.05    Driver Version: 520.61.05    CUDA Version: 11.8     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA TITAN Xp     On   | 00000000:01:00.0 Off |                  N/A |
| 23%   35C    P8    18W / 250W |      2MiB / 12288MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+