X11: Invalid MIT-MAGIC-COOKIE-1 key












4















I have a headless (there isn't monitor at all) test rig for crypto mining with two graphic cards on it (GTX1060). It worked fine until update to release 17.10.



ghopper@miner:~$ uname -a
Linux miner 4.13.0-19-generic #22-Ubuntu SMP Mon Dec 4 11:58:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

ghopper@miner:~$ ps -ef|grep X
root 1082 1080 0 13:25 tty1 00:00:00 /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/127/gdm/Xauthority -background none -noreset -keeptty -verbose 3
ghopper 1571 1557 0 14:25 pts/0 00:00:00 grep --color=auto X


ghopper@miner:~$ xauth list
miner/unix:0 MIT-MAGIC-COOKIE-1 2386b22487fb3507bdb0a62d36c2da20


ghopper@miner:~$ echo $DISPLAY
:0


ghopper@miner:~$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 384.90 (buildmeister@swio-display-x86-rhel47-05) Tue Sep 19 18:13:03 PDT 2017

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1060 3GB"
BusID "PCI:2:0:0"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1060 3GB"
BusID "PCI:3:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "UseDisplayDevice" "DFP-0"
Option "Coolbits" "31"
Option "ConnectedMonitor" "DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "UseDisplayDevice" "DFP-0"
Option "Coolbits" "31"
Option "ConnectedMonitor" "DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection


The cards work fine:



ghopper@miner:~$ nvidia-smi
Fri Dec 8 13:50:11 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.90 Driver Version: 384.90 |
|-------------------------------+----------------------+----------------------+
| 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 106... Off | 00000000:02:00.0 On | N/A |
| 46% 75C P2 102W / 120W | 2454MiB / 3011MiB | 99% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 106... Off | 00000000:03:00.0 On | N/A |
| 44% 72C P2 97W / 120W | 2403MiB / 3013MiB | 99% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 888 C /home/ghopper/claymore/ethdcrminer64 2385MiB |
| 0 1082 G /usr/lib/xorg/Xorg 13MiB |
| 0 1118 G /usr/bin/gnome-shell 51MiB |
| 1 888 C /home/ghopper/claymore/ethdcrminer64 2385MiB |
| 1 1082 G /usr/lib/xorg/Xorg 6MiB |
+-----------------------------------------------------------------------------+


Here is my problem: I can't use nvidia-settings tool.



ghopper@miner:~$ nvidia-settings 
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

ghopper@miner:~$ xhost
Invalid MIT-MAGIC-COOKIE-1 keyxhost: unable to open display ":0"
ghopper@miner:~$ DISPLAY=:0 nvidia-settings
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

ghopper@miner:~$ DISPLAY=:1 nvidia-settings
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.


What can I do to fix it?










share|improve this question

























  • Is X running at all?

    – Jos
    Dec 8 '17 at 11:12











  • Yes it is. With a default xorg.conf file I cat use a monitor and mange X-server. ghopper@miner:~$ ps -ef|grep X root 1082 1080 0 13:25 tty1 00:00:00 /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/127/gdm/Xauthority -background none -noreset -keeptty -verbose 3 ghopper 1571 1557 0 14:25 pts/0 00:00:00 grep --color=auto X

    – GHopper
    Dec 8 '17 at 11:27






  • 1





    OK, this output is relevant. I think you should add it to the question.

    – Jos
    Dec 8 '17 at 11:28
















4















I have a headless (there isn't monitor at all) test rig for crypto mining with two graphic cards on it (GTX1060). It worked fine until update to release 17.10.



ghopper@miner:~$ uname -a
Linux miner 4.13.0-19-generic #22-Ubuntu SMP Mon Dec 4 11:58:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

ghopper@miner:~$ ps -ef|grep X
root 1082 1080 0 13:25 tty1 00:00:00 /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/127/gdm/Xauthority -background none -noreset -keeptty -verbose 3
ghopper 1571 1557 0 14:25 pts/0 00:00:00 grep --color=auto X


ghopper@miner:~$ xauth list
miner/unix:0 MIT-MAGIC-COOKIE-1 2386b22487fb3507bdb0a62d36c2da20


ghopper@miner:~$ echo $DISPLAY
:0


ghopper@miner:~$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 384.90 (buildmeister@swio-display-x86-rhel47-05) Tue Sep 19 18:13:03 PDT 2017

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1060 3GB"
BusID "PCI:2:0:0"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1060 3GB"
BusID "PCI:3:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "UseDisplayDevice" "DFP-0"
Option "Coolbits" "31"
Option "ConnectedMonitor" "DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "UseDisplayDevice" "DFP-0"
Option "Coolbits" "31"
Option "ConnectedMonitor" "DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection


The cards work fine:



ghopper@miner:~$ nvidia-smi
Fri Dec 8 13:50:11 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.90 Driver Version: 384.90 |
|-------------------------------+----------------------+----------------------+
| 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 106... Off | 00000000:02:00.0 On | N/A |
| 46% 75C P2 102W / 120W | 2454MiB / 3011MiB | 99% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 106... Off | 00000000:03:00.0 On | N/A |
| 44% 72C P2 97W / 120W | 2403MiB / 3013MiB | 99% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 888 C /home/ghopper/claymore/ethdcrminer64 2385MiB |
| 0 1082 G /usr/lib/xorg/Xorg 13MiB |
| 0 1118 G /usr/bin/gnome-shell 51MiB |
| 1 888 C /home/ghopper/claymore/ethdcrminer64 2385MiB |
| 1 1082 G /usr/lib/xorg/Xorg 6MiB |
+-----------------------------------------------------------------------------+


Here is my problem: I can't use nvidia-settings tool.



ghopper@miner:~$ nvidia-settings 
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

ghopper@miner:~$ xhost
Invalid MIT-MAGIC-COOKIE-1 keyxhost: unable to open display ":0"
ghopper@miner:~$ DISPLAY=:0 nvidia-settings
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

ghopper@miner:~$ DISPLAY=:1 nvidia-settings
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.


What can I do to fix it?










share|improve this question

























  • Is X running at all?

    – Jos
    Dec 8 '17 at 11:12











  • Yes it is. With a default xorg.conf file I cat use a monitor and mange X-server. ghopper@miner:~$ ps -ef|grep X root 1082 1080 0 13:25 tty1 00:00:00 /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/127/gdm/Xauthority -background none -noreset -keeptty -verbose 3 ghopper 1571 1557 0 14:25 pts/0 00:00:00 grep --color=auto X

    – GHopper
    Dec 8 '17 at 11:27






  • 1





    OK, this output is relevant. I think you should add it to the question.

    – Jos
    Dec 8 '17 at 11:28














4












4








4








I have a headless (there isn't monitor at all) test rig for crypto mining with two graphic cards on it (GTX1060). It worked fine until update to release 17.10.



ghopper@miner:~$ uname -a
Linux miner 4.13.0-19-generic #22-Ubuntu SMP Mon Dec 4 11:58:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

ghopper@miner:~$ ps -ef|grep X
root 1082 1080 0 13:25 tty1 00:00:00 /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/127/gdm/Xauthority -background none -noreset -keeptty -verbose 3
ghopper 1571 1557 0 14:25 pts/0 00:00:00 grep --color=auto X


ghopper@miner:~$ xauth list
miner/unix:0 MIT-MAGIC-COOKIE-1 2386b22487fb3507bdb0a62d36c2da20


ghopper@miner:~$ echo $DISPLAY
:0


ghopper@miner:~$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 384.90 (buildmeister@swio-display-x86-rhel47-05) Tue Sep 19 18:13:03 PDT 2017

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1060 3GB"
BusID "PCI:2:0:0"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1060 3GB"
BusID "PCI:3:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "UseDisplayDevice" "DFP-0"
Option "Coolbits" "31"
Option "ConnectedMonitor" "DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "UseDisplayDevice" "DFP-0"
Option "Coolbits" "31"
Option "ConnectedMonitor" "DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection


The cards work fine:



ghopper@miner:~$ nvidia-smi
Fri Dec 8 13:50:11 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.90 Driver Version: 384.90 |
|-------------------------------+----------------------+----------------------+
| 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 106... Off | 00000000:02:00.0 On | N/A |
| 46% 75C P2 102W / 120W | 2454MiB / 3011MiB | 99% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 106... Off | 00000000:03:00.0 On | N/A |
| 44% 72C P2 97W / 120W | 2403MiB / 3013MiB | 99% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 888 C /home/ghopper/claymore/ethdcrminer64 2385MiB |
| 0 1082 G /usr/lib/xorg/Xorg 13MiB |
| 0 1118 G /usr/bin/gnome-shell 51MiB |
| 1 888 C /home/ghopper/claymore/ethdcrminer64 2385MiB |
| 1 1082 G /usr/lib/xorg/Xorg 6MiB |
+-----------------------------------------------------------------------------+


Here is my problem: I can't use nvidia-settings tool.



ghopper@miner:~$ nvidia-settings 
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

ghopper@miner:~$ xhost
Invalid MIT-MAGIC-COOKIE-1 keyxhost: unable to open display ":0"
ghopper@miner:~$ DISPLAY=:0 nvidia-settings
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

ghopper@miner:~$ DISPLAY=:1 nvidia-settings
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.


What can I do to fix it?










share|improve this question
















I have a headless (there isn't monitor at all) test rig for crypto mining with two graphic cards on it (GTX1060). It worked fine until update to release 17.10.



ghopper@miner:~$ uname -a
Linux miner 4.13.0-19-generic #22-Ubuntu SMP Mon Dec 4 11:58:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

ghopper@miner:~$ ps -ef|grep X
root 1082 1080 0 13:25 tty1 00:00:00 /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/127/gdm/Xauthority -background none -noreset -keeptty -verbose 3
ghopper 1571 1557 0 14:25 pts/0 00:00:00 grep --color=auto X


ghopper@miner:~$ xauth list
miner/unix:0 MIT-MAGIC-COOKIE-1 2386b22487fb3507bdb0a62d36c2da20


ghopper@miner:~$ echo $DISPLAY
:0


ghopper@miner:~$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 384.90 (buildmeister@swio-display-x86-rhel47-05) Tue Sep 19 18:13:03 PDT 2017

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1060 3GB"
BusID "PCI:2:0:0"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1060 3GB"
BusID "PCI:3:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "UseDisplayDevice" "DFP-0"
Option "Coolbits" "31"
Option "ConnectedMonitor" "DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
Option "UseDisplayDevice" "DFP-0"
Option "Coolbits" "31"
Option "ConnectedMonitor" "DFP-0"
SubSection "Display"
Depth 24
EndSubSection
EndSection


The cards work fine:



ghopper@miner:~$ nvidia-smi
Fri Dec 8 13:50:11 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.90 Driver Version: 384.90 |
|-------------------------------+----------------------+----------------------+
| 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 106... Off | 00000000:02:00.0 On | N/A |
| 46% 75C P2 102W / 120W | 2454MiB / 3011MiB | 99% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 106... Off | 00000000:03:00.0 On | N/A |
| 44% 72C P2 97W / 120W | 2403MiB / 3013MiB | 99% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 888 C /home/ghopper/claymore/ethdcrminer64 2385MiB |
| 0 1082 G /usr/lib/xorg/Xorg 13MiB |
| 0 1118 G /usr/bin/gnome-shell 51MiB |
| 1 888 C /home/ghopper/claymore/ethdcrminer64 2385MiB |
| 1 1082 G /usr/lib/xorg/Xorg 6MiB |
+-----------------------------------------------------------------------------+


Here is my problem: I can't use nvidia-settings tool.



ghopper@miner:~$ nvidia-settings 
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

ghopper@miner:~$ xhost
Invalid MIT-MAGIC-COOKIE-1 keyxhost: unable to open display ":0"
ghopper@miner:~$ DISPLAY=:0 nvidia-settings
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

ghopper@miner:~$ DISPLAY=:1 nvidia-settings
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.


What can I do to fix it?







xorg






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 8 '17 at 11:35







GHopper

















asked Dec 8 '17 at 10:55









GHopperGHopper

2615




2615













  • Is X running at all?

    – Jos
    Dec 8 '17 at 11:12











  • Yes it is. With a default xorg.conf file I cat use a monitor and mange X-server. ghopper@miner:~$ ps -ef|grep X root 1082 1080 0 13:25 tty1 00:00:00 /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/127/gdm/Xauthority -background none -noreset -keeptty -verbose 3 ghopper 1571 1557 0 14:25 pts/0 00:00:00 grep --color=auto X

    – GHopper
    Dec 8 '17 at 11:27






  • 1





    OK, this output is relevant. I think you should add it to the question.

    – Jos
    Dec 8 '17 at 11:28



















  • Is X running at all?

    – Jos
    Dec 8 '17 at 11:12











  • Yes it is. With a default xorg.conf file I cat use a monitor and mange X-server. ghopper@miner:~$ ps -ef|grep X root 1082 1080 0 13:25 tty1 00:00:00 /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/127/gdm/Xauthority -background none -noreset -keeptty -verbose 3 ghopper 1571 1557 0 14:25 pts/0 00:00:00 grep --color=auto X

    – GHopper
    Dec 8 '17 at 11:27






  • 1





    OK, this output is relevant. I think you should add it to the question.

    – Jos
    Dec 8 '17 at 11:28

















Is X running at all?

– Jos
Dec 8 '17 at 11:12





Is X running at all?

– Jos
Dec 8 '17 at 11:12













Yes it is. With a default xorg.conf file I cat use a monitor and mange X-server. ghopper@miner:~$ ps -ef|grep X root 1082 1080 0 13:25 tty1 00:00:00 /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/127/gdm/Xauthority -background none -noreset -keeptty -verbose 3 ghopper 1571 1557 0 14:25 pts/0 00:00:00 grep --color=auto X

– GHopper
Dec 8 '17 at 11:27





Yes it is. With a default xorg.conf file I cat use a monitor and mange X-server. ghopper@miner:~$ ps -ef|grep X root 1082 1080 0 13:25 tty1 00:00:00 /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/127/gdm/Xauthority -background none -noreset -keeptty -verbose 3 ghopper 1571 1557 0 14:25 pts/0 00:00:00 grep --color=auto X

– GHopper
Dec 8 '17 at 11:27




1




1





OK, this output is relevant. I think you should add it to the question.

– Jos
Dec 8 '17 at 11:28





OK, this output is relevant. I think you should add it to the question.

– Jos
Dec 8 '17 at 11:28










1 Answer
1






active

oldest

votes


















1














Try this before running it



xhost +local:


The xhost program is used to add and delete host names or user names to the list allowed to make connections to the X server. The local family specifies all the local connections.






share|improve this answer


























  • Could you please extend your answer? What it does, maybe supporting documentation..

    – Pablo Bianchi
    Jan 26 at 16:28











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f984359%2fx11-invalid-mit-magic-cookie-1-key%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Try this before running it



xhost +local:


The xhost program is used to add and delete host names or user names to the list allowed to make connections to the X server. The local family specifies all the local connections.






share|improve this answer


























  • Could you please extend your answer? What it does, maybe supporting documentation..

    – Pablo Bianchi
    Jan 26 at 16:28
















1














Try this before running it



xhost +local:


The xhost program is used to add and delete host names or user names to the list allowed to make connections to the X server. The local family specifies all the local connections.






share|improve this answer


























  • Could you please extend your answer? What it does, maybe supporting documentation..

    – Pablo Bianchi
    Jan 26 at 16:28














1












1








1







Try this before running it



xhost +local:


The xhost program is used to add and delete host names or user names to the list allowed to make connections to the X server. The local family specifies all the local connections.






share|improve this answer















Try this before running it



xhost +local:


The xhost program is used to add and delete host names or user names to the list allowed to make connections to the X server. The local family specifies all the local connections.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 28 at 20:48

























answered Jan 26 at 13:25









jmsjms

519616




519616













  • Could you please extend your answer? What it does, maybe supporting documentation..

    – Pablo Bianchi
    Jan 26 at 16:28



















  • Could you please extend your answer? What it does, maybe supporting documentation..

    – Pablo Bianchi
    Jan 26 at 16:28

















Could you please extend your answer? What it does, maybe supporting documentation..

– Pablo Bianchi
Jan 26 at 16:28





Could you please extend your answer? What it does, maybe supporting documentation..

– Pablo Bianchi
Jan 26 at 16:28


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f984359%2fx11-invalid-mit-magic-cookie-1-key%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents