Error Opening X Display Check Valid $display And Xhost Permissions
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site xhost unable to open display linux About Us Learn more about Stack Overflow the company Business Learn more about error can't open display localhost hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is error can't open display linux a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The error: cannot open display: best answers are voted up and rise to the top How do I fix a “cannot open display” error when opening an X program after ssh'ing with X11 forwarding enabled? up vote 50 down vote favorite 22 After launching the X11 app (XQuartz 2.3.6, xorg-server 1.4.2-apple56) on my Mac (OS X 10.6.8), opening an terminal in X11 and running xhost +, I then ssh -Y to
Gtk Warning Cannot Open Display Ubuntu
my Ubuntu 10.04 VM (running on VMware Fusion). When I run gedit .bashrc (for example), I get: (gedit:9510): Gtk-WARNING **: cannot open display: set | grep DISPLAY returns nothing. But if I ssh -Y into my Ubuntu 11.04 machine, gedit .bashrc works. echo $DISPLAY returns "localhost:10.0". I tried export DISPLAY=localhost:10.0 while sshed into my VM and then running gedit .bashrc, but I get: (gedit:9625): Gtk-WARNING **: cannot open display: localhost:10.0 What could be different in the configuration of the two difference Ubuntu machines that would explain why one works and the other doesn't? Update: As suggested by Zoredache in the comment below, I ran sudo apt-get install xbase-clients, but I continue to have the same problem. ssh display xorg gtk share|improve this question edited Feb 9 '14 at 12:20 Pablo Saratxaga 1133 asked Jul 13 '11 at 18:13 Daryl Spitzer 2,92393236 migrated from serverfault.com Jul 13 '11 at 18:31 This question came from our site for system and network administrators. 2 Does the Ubuntu 10.04 box have the proper tools for X11 installed? Install xbase-clients, if it isn't installed already. –Zoredache Jul 13 '11 at 18:22 I installed it but still have the
CommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and
Gtk Warning Cannot Open Display Gedit
reload this page. Please enter a title. You can not post gtk warning cannot open display raspberry pi a blank message. Please type your message and try again. More discussions in Database Installation All PlacesDatabaseGeneral gtk warning cannot open display linux Database DiscussionsDatabase Installation This discussion is archived 7 Replies Latest reply on Jan 16, 2013 2:54 PM by EdStevens xhost unable to open display 4joey1 Mar 7, 2012 http://superuser.com/questions/310197/how-do-i-fix-a-cannot-open-display-error-when-opening-an-x-program-after-sshi 2:35 PM Hallo!I am trying to install Oracle 11gR1 on Oracle Enterprise Linux 5.5.I have been trying to set DISPLAY parameters to launch the OUI but I get the error below. I am doing the installation directly on the db server (and not accessing db server from any client machine) and the IP for db server https://community.oracle.com/thread/2358808 is 10.0.0.1. [root@joey-oel ~]# xhost + access control disabled, clients can connect from any host [root@joey-oel ~]# export DISPLAY=10.0.0.1:0.0 [root@joey-oel ~]# echo $DISPLAY 10.0.0.1:0.0 [root@joey-oel ~]# xclock Error: Can't open display: 10.0.0.1:0.0 [root@joey-oel ~]# su - oracle [oracle@joey-oel ~]$ echo $DISPLAY 10.0.0.1:0.0 [oracle@joey-oel ~]$ xhost + xhost: unable to open display "10.0.0.1:0.0" [oracle@joey-oel ~]$ xclock Error: Can't open display: 10.0.0.1:0.0 [oracle@joey-oel ~]$ cd /install/database [oracle@joey-oel database]$ ./runInstaller Starting Oracle Universal Installer... Checking Temp space: must be greater than 80 MB. Actual 59727 MB Passed Checking swap space: must be greater than 150 MB. Actual 7012 MB Passed Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<< Some requirement checks failed. You must fulfill these requirements before continuing with the installation,at which time they will be rechecked. Continue? (y/n) [n] Please assist in solving this issue. Thanks. I have the same question Show 0 Likes(0)
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring http://unix.stackexchange.com/questions/108679/x-client-forwarded-over-ssh-cannot-open-display-localhost11-0/109322 developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top X client forwarded over SSH “cannot open display: localhost:11.0” up open display vote 13 down vote favorite 2 I have enabled X forwarding on remote machine where SSH server is running: # grep -i forward /etc/ssh/sshd_config X11Forwarding yes # On local machine, I have started SSH client with -X flag which instructs the SSH server, running on remote machine, to set up a X-server proxy. In addition, it creates the $DISPLAY variable which points to this proxy and calls the xauth to install a proxy key which authenticates to this X-server proxy on cannot open display remote machine: # echo "$DISPLAY" localhost:11.0 # xauth list | grep 11 A58/unix:11 MIT-MAGIC-COOKIE-1 39324086672d1ae35e373476c3891a77 # However, X clients on remote machine do not start properly: # wireshark (wireshark:10083): Gtk-WARNING **: cannot open display: localhost:11.0 # xterm Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm: Xt error: Can't open display: %s # X forwarding doesn't use xhost so at least this can be excluded. I tried to find some useful log entries both on machine where SSH server is running and machine where SSH client is running with find /var/log/ -mmin -5 -type f command, but this did not give any hints. SSH server version is OpenSSH_5.9p1 and SSH client version is OpenSSH_5.2p1. Output of /tmp/.X11-unix/ directory on remote machine can be seen below: # ls -la /tmp/.X11-unix/ total 0 drwxrwxrwt 2 root root 40 Dec 9 15:44 . drwxrwxrwt 4 root root 80 Jan 13 09:17 .. # As seen above, there are no Unix domain sockets there. Output of strace xterm is following: # strace xterm execve("/usr/bin/xterm", ["xterm"], [/* 16 vars */]) = 0 brk(0) = 0x9e50000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|P