使用终端运行程序时出现“MIT-MAGIC-COOKIE-1 密钥无效”消息

使用终端运行程序时出现“MIT-MAGIC-COOKIE-1 密钥无效”消息

我遇到了这里讨论的同样的问题: 使用终端运行程序时出现“MIT-MAGIC-COOKIE-1 密钥无效”消息

我已经尝试过那里报告的解决方案,欢迎提出任何建议

hostnamectl 状态

   Static hostname: VivoBook
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: a8080c018741443d97105241722bc82d
           Boot ID: f397f248ea584fe2907e01ef63d4b6f2
  Operating System: Ubuntu 20.04 LTS
            Kernel: Linux 5.4.0-33-generic
      Architecture: x86-64

授权列表

VivoBook/unix:  MIT-MAGIC-COOKIE-1  134556a706e919cf2768b373cbf77da0
#ffff#5669766f426f6f6b#:  MIT-MAGIC-COOKIE-1  134556a706e919cf2768b373cbf77da0

回显$DISPLAY

:1

nvidia-smi

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.64       Driver Version: 440.64       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1050    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   48C    P0    N/A /  N/A |    561MiB /  4042MiB |      2%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      2413      G   /usr/lib/xorg/Xorg                            79MiB |
|    0      3118      G   /usr/lib/xorg/Xorg                           249MiB |
|    0      3388      G   /usr/bin/gnome-shell                         204MiB |
|    0      3877      G   ...uest-channel-token=14869638892127264724    13MiB |
|    0      5803      G   /usr/lib/firefox/firefox                       1MiB |
|    0      5810      G   /usr/lib/firefox/firefox                       1MiB |
|    0      5853      G   /usr/lib/firefox/firefox                       1MiB |
+-----------------------------------------------------------------------------+

相关内容