For example, launching Oracle Installer on remote server also gives the "cannot open display" error. Last edited by lubiebudyn (2010-11-19 19:24:35) Offline #2 2010-11-19 19:01:29 PrivateLooms Member Registered: 2010-11-19 Posts: 5 Re: Error: cannot open display: :0.0 [SOLVED] Try either :export DISPLAY=":0.0"or xhost +your-usernamein the terminal, Can I use GTK themes?2How to set remote computer to allow running Matlab through ssh and x11 forwarding0OS X 10.7 with XQuartz can't X11Forward to remote Ubuntu 10.048X11 forwarding stops working LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian [SOLVED] Gtk-WARNING **: cannot open display: :0.0 User Name Remember Me? http://sauvblog.com/cannot-open/cannot-open-x-display-check-display-name-server-access-authorization.html
I removed the -nolisten tcp options to the X executable. Like Show 0 Likes(0) Actions 3. echo $DISPLAY returns "localhost:10.0". thank you for your time and suggestion. https://bbs.archlinux.org/viewtopic.php?id=108695
To find out if this is the case, see if the X server is started with the -nolisten tcp argument, and if so, remove it. To confirm that ssh is forwarding X11, check for a line containing Requesting X11 forwarding in the ssh -v -X output. check 18.104.22.168. So set the IP manually, as harrymc suggests: export DISPLAY="127.0.0.1:10.0" Then X11 programs should be fine.
If there are any X11 programs there, it's very likely that xauth will be there. Disclaimer: The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions xterm: Xt error: Can't open display: %s # X forwarding doesn't use xhost so at least this can be excluded. Browse other questions tagged ssh x11 sshd or ask your own question.
First, edit the file /etc/gdm/custom.conf and add the following two entries: [xdmcp] Enable=true [security] DisallowTCP=false AllowRemoteRoot=true Next, restart X Windows: [[email protected] ~]# init 3 [[email protected] ~]# init 5 The final step Last edited by toxine; 05-12-2010 at 07:51 PM. Same symptom of empty $DISPLAY variable (no help setting/exporting it manually). news Answer: You can fix the "cannot open display" error by following the xhost procedure mentioned in this article. 1.
If port 177 (UDP) or port 6000 (TCP) are blocked you need to fix this first. Adverb for "syntax" Why are LEDs in my home unaffected by voltage drop? share|improve this answer answered Oct 22 '12 at 7:59 Joril 1,38611726 1 This helped me out on my minimal debian installation, thank you very much! –binOr Jan 16 '13 at Should I create multiple maintenance plans to backup more than 200 User databases mona is not in the sudoers file.
Re: xhost + unable to Open Display...... Under the Remote tab, change the Style pull-down menu selection from 'Remote login disabled' to 'Same as Local': [Nov 04, 2011] How to make X.org listen to remote connections on port Recently in some Linux distributions, X is by default configured to listen only to localhost. Thanks Shiva 282912Views Tags: none (add) This content has been marked as final.
Now everything should run just fine with sudo. http://sauvblog.com/cannot-open/cannot-open-x-display-null-ghostscript.html I've been tinkering with a lot of things, but not recently. Some of it may be superfluous, but I have been at it for several hours and it is about 4 a.m. 1) log into console as root and open a terminal Show 11 replies 1.
This is localhost in a normal terminal window. toxine View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by toxine 05-12-2010, 04:38 PM #4 acid_kewpie Moderator Registered: Jun 2001 Location: UK worked! http://sauvblog.com/cannot-open/cannot-open-x-display-sas.html The best thing to do is: - kill the window system - log off the terminal - log on as root - startx - do your thing You will HAVE to
I have just installed Deb testing KDE and found this prob using my usual sudo gparted in a konsole, thanks to trying a few things from this feed I now know This allows those users to access their Linux environment using a graphic (GUI) console connected to the workstation or server. Browse other questions tagged x11 x11-forwarding or ask your own question.
Why does the Minus World exist? Then just set it and export it. Any ideas how to proceed with troubleshooting? If it is not set at all or set incorrectly you need to fix that, for example export DISPLAY=10.10.10.1:0.0 The second step to check is whether X11 server itself is accessible
su for root access for cli apps annd sux for root access for gui apps works well. (I think using sudo for gui apps aoemtimes has the issue you have, you more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Alternatively, it is possible that the X server was configured not to listen to the usual TCP port. Why is looping over find's output bad practice?
google xauth howto comes up with a lot of references Link thib June 25, 2010, 11:53 am Unless the network environment is entirely controlled, xhost is a very bad idea . Furthermore you can check the options ForwardX11 and ForwardX11Trusted in your /etc/ssh/ssh_config.