J'ai installé WSL Ubuntu 20.04 sur Windows 10. J'ai également installé VcXsrv (Xlaunch). J'utilise la commande suivante pour démarrer VcXsrv :
"C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl -dpi auto
Dans le terminal Ubuntu, je ne parviens pas à lancer Terminator. Veuillez m'aider.
$ export DISPLAY=0:0
$ terminator
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
You need to run terminator in an X environment. Make sure $DISPLAY is properly set.
Voici le résultat de netstat
C:\Windows\system32>netstat -abno|findstr 6000
TCP 0.0.0.0:6000 0.0.0.0:0 LISTENING 42548
TCP 127.0.0.1:6000 127.0.0.1:65381 ESTABLISHED 42548
TCP 127.0.0.1:6000 127.0.0.1:65382 ESTABLISHED 42548
TCP 127.0.0.1:6000 127.0.0.1:65383 ESTABLISHED 42548
TCP 127.0.0.1:65381 127.0.0.1:6000 ESTABLISHED 42548
TCP 127.0.0.1:65382 127.0.0.1:6000 ESTABLISHED 42548
TCP 127.0.0.1:65383 127.0.0.1:6000 ESTABLISHED 42548
TCP [::]:6000 [::]:0 LISTENING 42548
Get-NetFirewallApplicationFilter |? { $_.Program -like "*vcxsrv*" } | Get-NetFirewallRule
Name : TCP Query User{81BBD37C-DC9F-4C50-B2C6-A1B58CABD66C}C:\program files\vcxsrv\vcxsrv.exe
DisplayName : VcXsrv windows xserver
Description : VcXsrv windows xserver
DisplayGroup :
Group :
Enabled : True
Profile : Domain
Platform : {}
Direction : Inbound
Action : Allow
EdgeTraversalPolicy : DeferToUser
LooseSourceMapping : False
LocalOnlyMapping : False
Owner :
PrimaryStatus : OK
Status : The rule was parsed successfully from the store. (65536)
EnforcementStatus : NotApplicable
PolicyStoreSource : PersistentStore
PolicyStoreSourceType : Local
RemoteDynamicKeywordAddresses :
Name : {14B2C126-9C6A-42CA-B496-62F2D88ED067}
DisplayName : VcXsrv windows xserver
Description : VcXsrv windows xserver
DisplayGroup :
Group :
Enabled : True
Profile : Public
Platform : {}
Direction : Inbound
Action : Block
EdgeTraversalPolicy : Block
LooseSourceMapping : False
LocalOnlyMapping : False
Owner :
PrimaryStatus : OK
Status : The rule was parsed successfully from the store. (65536)
EnforcementStatus : NotApplicable
PolicyStoreSource : PersistentStore
PolicyStoreSourceType : Local
RemoteDynamicKeywordAddresses :
Name : UDP Query User{87720067-4851-485C-A9B1-ABE74E6BE131}C:\program files\vcxsrv\vcxsrv.exe
DisplayName : VcXsrv windows xserver
Description : VcXsrv windows xserver
DisplayGroup :
Group :
Enabled : True
Profile : Domain
Platform : {}
Direction : Inbound
Action : Allow
EdgeTraversalPolicy : DeferToUser
LooseSourceMapping : False
LocalOnlyMapping : False
Owner :
PrimaryStatus : OK
Status : The rule was parsed successfully from the store. (65536)
EnforcementStatus : NotApplicable
PolicyStoreSource : PersistentStore
PolicyStoreSourceType : Local
RemoteDynamicKeywordAddresses :
Name : {1B4ABAF3-28C3-42F8-8C62-3AE54EFFC97C}
DisplayName : VcXsrv windows xserver
Description : VcXsrv windows xserver
DisplayGroup :
Group :
Enabled : True
Profile : Public
Platform : {}
Direction : Inbound
Action : Block
EdgeTraversalPolicy : Block
LooseSourceMapping : False
LocalOnlyMapping : False
Owner :
PrimaryStatus : OK
Status : The rule was parsed successfully from the store. (65536)
EnforcementStatus : NotApplicable
PolicyStoreSource : PersistentStore
PolicyStoreSourceType : Local
RemoteDynamicKeywordAddresses :