![]() ![]() Hope this is helpful and would solve a problem like the one above or like mine that someone has come across and who spent a few hours on this problem while scratching head and trying to pull hair out like me :-)). cp /home/user name/.Xauthority /root/.XauthorityĪgain and you would see something like the following localhost:10.0Īnd it works in my case. The above would work if you have done all those other bits like forwarding and etc.Īgain, if you want to use root in your Ubuntu and if the 'echo $DISPLAY' does not produce any response, then try the following (Assuming you are at root prompt). Then when you 'ssh into Ubuntu type echo $DISPLAYĪnd you would see something like the following localhost:10.0 If you 'ssh' into Ubuntu from normal user prompt then you do not need to do the root part, but since, I use root to 'ssh' my Ubuntu systems I often have to do this. #Xquartz not responding apkecho $DISPLAYĪnd you should see the following /private/tmp/.0aQYNoXMFK/org.xquartz:0 Dockerfile: Base Image FROM alpine:latest RUN apk update & apk add -no-cache xeyes Set a working directory WORKDIR /work Start a shell by default CMD 'ash' Build image with: docker build -t soxeyes. Together with supporting libraries and applications, it forms the X11.app that Apple shipped with OS X versions 10.5 through 10.7. Of course the export might work, but there is no harm in doing the above. The XQuartz project is an open-source effort to develop a version of the X.Org X Window System that runs on macOS. cp /Users/normal user/.Xauthority /var/root/ Xauthority file is already there, but this would over right it. Then copy your '.Xauthority' at '/Users/normal user/.Xauthority' to '/var/root/'. The same you found in your normal user account. Now if you want to try the same as root (Please don't jump on me guys, I know some of you all are strongly against root access), but if does not work then in your root prompt do the following export DISPLAY=/private/tmp/.0aQYNoXMFK/org.xquartz:0 private/tmp/.0aQYNoXMFK/org.xquartz:0Īnd now you know that your display is working Anyway you all would see something similar in your systems. As Ive said above: adding X11 support to Terminal isnt possible because terminals, no terminal, supports X11. Then what you would get is something like the following (It is the case in your hand). It is primarily an OS X-friendly implementation of an X11 server and it happens to ship with some X11 programs, one of them being a terminal emulator that draws its UI over X11. #Xquartz not responding macSo in your mac if you type as a normal user echo $DISPLAY For example, for ENVI+IDL 5.2 (from a Bash. ![]() Probably the following solution might not work in your case, but give it a try if what you were trying is similar to what I have tried.Īs you have already found one has to find the DISPLAY variable first. First launch XQuartz/X11 and then from an X11 Terminal window (not an Apple Terminal window) launch ENVI or IDL. You want to access your machine running Ubuntu remotely from your mac and when you 'ssh' into your Ubuntu and when you try to 'echo $DISPLAY' you get an empty response. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |