bk3810 / LinuxTips

0 stars 0 forks source link

Run GUI Program on WSL1 #2

Open bk3810 opened 4 years ago

bk3810 commented 4 years ago

실행시 에러남.

export DISPLAY=localhost:0 확인...이미 저장되어 있을 수 있음.

sudo apt install dbus-x11

이후 실행은 되지만, GUI 프로그램 실행할때마다 다음 에러 출력됨.

Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-wzn00x6fxh: Connection refused

=>

Adding the line

NO_AT_BRIDGE=1

to /etc/environment (or export NO_AT_BRIDGE=1 on console) solved the problem for me.