Starting in windowed mode (startx) Notes for advanced users. For example, you can use the Xming project to run a display server. In order to do something like this, you need to download an X server for Windows, and then configure that. Which would also be why xhost failed to do anything remotely useful. ![]() Xauth: file /home/dtyj/. If I try to open those GUIs without the terminal, then the GUIs would just dont show up at all and no error message is shown. Starting in multiwindow mode (startxwin) Starting an X desktop environment session or X window manager in windowed mode. at 18:29 3 Maybe try passing the -vv option to ssh when you connect, this prints verbose debug messages, you should see several comments about X11 forwarding while connecting. WSL doesnt come with an X server by default, because Windows doesnt use an X server. I've created a new file at ~/.xinitrc with the following content: exec gnome-sessionĪnd I ran startx after that and it gave me this ~]$ startx If the variable has not been set, open up a terminal within the VNC Viewer window on the machine and run the command: export DISPLAY: where you enter the machine name and display number for your environment.Please do so.ĮDIT: actually, on second look maybe this isn't a wayland issue if it only happens when using sudo: you should not run gui programs (especially gtk ones) with sudo, use gksu. Check the DISPLAY environment variable on the machine. Cygwin/X supports different formats of the DISPLAY variable :0.0 or unix:0.0 This names a local X server and the communication uses the UNIX domain sockets. I gave you the means to test that possibility. Other X servers open different screens for different monitors connected to the computer. You did a good job of describing the problem in the first post - the cause of the problem is almost certainly related to gnome running on wayland. It's less fine to not have bothered to follow the link I provided which would help you learn and know exactly what I meant.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |