You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does not work for me. Can't seem to launch xeyes as a test despite having X11 installed and both export DISPLAY=:0.0 and export DISPLAY=:0 do not work. I just get the standard error:
root@localhost:~# export DISPLAY=:0.0
root@localhost:~# xeyes
Error: Can't open display: :0.0
I also get this error when trying to check my x11-apps install:
root@localhost:~# apt install x11-apps
Reading package lists... Done
Building dependency tree
Reading state information... Done
x11-apps is already the newest version.
x11-apps set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory)
Setting up modemmanager (1.0.0-2ubuntu1.1) ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: No such file or directory
invoke-rc.d: unknown initscript, /etc/init.d/modemmanager not found.
runlevel:/var/run/utmp: No such file or directory
dpkg: error processing package modemmanager (--configure):
subprocess installed post-installation script returned error exit status 100
Setting up whoopsie (0.2.24.6ubuntu2) ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: No such file or directory
invoke-rc.d: unknown initscript, /etc/init.d/whoopsie not found.
runlevel:/var/run/utmp: No such file or directory
dpkg: error processing package whoopsie (--configure):
subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
modemmanager
whoopsie
E: Sub-process /usr/bin/dpkg returned an error code (1)
Aneurin
Do you know why emacs cannot be resized?
For other gui apps like galculator, if I resize the window, the interface will be resized.
But for emacs, if I resize the border of the window, there will be a blank space between the original emacs and the new border, the content of emacs will not be resized...
Ooh, that's farther than I get. When I run emacs, I get a window that looks like your screen shot above, except with a blank white box where you have the main buffer and the minibuffer. The process appears to have gone into an infinite loop with the following strace:
Ditto the blank emacs window, I think this might just be emacs not getting along with Xming though. I imagine that a native X Server might be a big as, but please MS, can has?
Then connect to the X11 / xfce session on localhost with the remote desktop client, which is already installed in Windows.
Maybe you need to reconfigure the port used by xrdp to avoid collision with the remote desktop server of Windows.
Reacted by Jonathan, Marcus Karpoff and Vladislav Veluga
This discussion is pretty stale, and has morphed from "what have to do so that ROOT.Cern would launch X11 visual" and "Error: Can't open display: :0.0" to an X11 emacs problem thread. Going to close out as having run its course, but if anyone out there who runs X11 emacs regularly and finds any issues with WSL that differs from launching graphic emacs on Real Linux remotely to VcXsrv / Xming / xrdp / Xwhatever, do open a new issue# because it might be bugworthy as opposed to just discussion.
Activity
jstaf commentedon Apr 15, 2016
This does not work for me. Can't seem to launch
xeyesas a test despite having X11 installed and bothexport DISPLAY=:0.0andexport DISPLAY=:0do not work. I just get the standard error:I also get this error when trying to check my x11-apps install:
Aneurin commentedon Apr 15, 2016
What X server are you using? If it's Cygwin's, you will need to run it with
-listen tcpas TCP connections are disabled by default.luismoralesphysics commentedon Apr 15, 2016
I am using the windows Xming. I get it to work and display things and it works for a bit, but it then freezes up.
xarthurx commentedon Jun 14, 2016
Aneurin
Do you know why emacs cannot be resized?
For other gui apps like galculator, if I resize the window, the interface will be resized.
But for emacs, if I resize the border of the window, there will be a blank space between the original emacs and the new border, the content of emacs will not be resized...
aseering commentedon Jun 15, 2016
Ooh, that's farther than I get. When I run
emacs, I get a window that looks like your screen shot above, except with a blank white box where you have the main buffer and the minibuffer. The process appears to have gone into an infinite loop with the followingstrace:keynan commentedon Aug 11, 2016
Ditto the blank emacs window, I think this might just be emacs not getting along with Xming though. I imagine that a native X Server might be a big as, but please MS, can has?
JuergenKosel commentedon Jan 25, 2017
Hello,
I was successfull to connect xterm with cygwin X11 Server as follows:
start X11 Server in cygwin shell:
startxwin -- -listen tcpIn cygwin xterm allow X11 Connections from localhost:
xhost +localhostIn ubuntu bash start xterm:
export DISPLAY=localhost:0xtermssokolow commentedon Jan 26, 2017
Another option to be aware of is VcXsrv.
https://sourceforge.net/projects/vcxsrv/
JuergenKosel commentedon Nov 10, 2017
Hello,
I have found a way to run X11 / xfce4 without outside (cygwin or other) X11 server:
Then connect to the X11 / xfce session on localhost with the remote desktop client, which is already installed in Windows.
Maybe you need to reconfigure the port used by xrdp to avoid collision with the remote desktop server of Windows.
mizzao commentedon Dec 1, 2017
For anyone who stumbled upon Zhao.MA (@xarthurx)'s problem, emacs 24 and later resizes properly (emacs 23 doesn't).
therealkenc commentedon Jan 11, 2018
This discussion is pretty stale, and has morphed from "what have to do so that ROOT.Cern would launch X11 visual" and "
Error: Can't open display: :0.0" to an X11 emacs problem thread. Going to close out as having run its course, but if anyone out there who runs X11 emacs regularly and finds any issues with WSL that differs from launching graphic emacs on Real Linux remotely to VcXsrv / Xming / xrdp / Xwhatever, do open a new issue# because it might be bugworthy as opposed to just discussion.