Running graphical Linux desktop applications from WSL 2 – “Error E233: cannot open display” [closed]

The networking subsystem in WSL2 is different than the used in WSL1. You must consider the differences to access networking apps running on Windows and on Linux: In WSL1, Linux uses the same IP addresses than the Windows host, then, you can access the applications using localhost or 127.0.0.1 In WSL2, Linux runs on a … Read more

SSH -X “Warning: untrusted X11 forwarding setup failed: xauth key data not generated”

Note that some incomplete answers might lead to security flaws. Using ssh -Y means here having fake xauth information which is bad! ssh -X should work since XQuartz, once enabled, uses xauth. The only problem is that ssh is looking for xauth in /usr/X11R6/bin and on macOS with XQuartz it is in /opt/X11/bin Secure solution: … Read more

wkhtmltopdf: cannot connect to X server

or try this (from http://drupal.org/node/870058) Download wkhtmltopdf. Or better install it with a package manager: sudo apt-get install wkhtmltopdf Extract it and move it to /usr/local/bin/ Rename it to wkhtmltopdf so that now you have an executable at /usr/local/bin/wkhtmltopdf Set permissions: sudo chmod a+x /usr/local/bin/wkhtmltopdf Install required support packages. sudo apt-get install openssl build-essential xorg … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)