DISPLAY=:0 ... ? Top Narain Posts: 4 Joined: 2015/09/24 16:51:59 Re: Cannot open display - gedit - from SSH login Quote Postby Narain » 2015/10/01 11:44:08 Hi all,I still have no success on resolving Please visit this page to clear all LQ-related cookies. 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 Source
One that remains is the risk of displaying windows from untrusted systems. share|improve this answer edited Jan 28 '13 at 11:18 VedVals 1,29342040 answered Jan 28 '13 at 9:20 Geert 111 add a comment| up vote 1 down vote I found that xauth This is localhost in a normal terminal window. and echo $DISPLAY Displays nothing!, the other computer shows echo $DISPLAY :0.0 What should I do now? click here now
Error Can't Open Display Linux
Allow clients to connect from any host using xhost+ Execute the following command to disable the access control, by which you can allow clients to connect from any host. $ xhost CentOS 5 dies in March 2017 - migrate soon!Full time Geek, part time moderator. With putty you need a separate X server like xming or the cygwin X server both installed and running. Then connect to the remote machine with the -X option.
Ideally this adjustment should be made by the system configuration utility, depending on whether IPv6 is disabled or enabled. 1 members found this post helpful.
Apr 26 '15 at 16:50 @A.B.
If not, install it.
The DISPLAY-variable should be set automatically, right?
Any ideas what the cause of this could be? –d_inevitable Apr 27 '15 at 22:21 Yes, it's a security feature of X.
share|improve this answer answered Oct 22 '12 at 7:59 Joril 1,39611726 1 This helped me out on my minimal debian installation, thank you very much! –binOr Jan 16 '13 at
Offline #3 2014-12-19 00:37:58 karol Archivist Registered: 2009-05-06 Posts: 25,433 Re: Gtk-WARNING **: cannot open display [Solved] The display should be set on its own.
In any case, doing things as root if you don't have to is generally a bad idea. –Faheem Mitha Jan 10 '14 at 11:47 4 Also try using ssh -Y
Two-way high power outdoor Wi-Fi Given the hints solve the puzzle What is a satisfactory result of penetration testing assessment? The project, although technically successful, has some real world challenges like the odd fact that finding programs that only use the safe subset is really hard because a lot of the How good should one be to participate in PS? Gtk Warning Cannot Open Display Raspberry Pi Two-way high power outdoor Wi-Fi Is it possible to hand start modern planes?
Is there one in particular that you can identify but not fix? –Gilles Jan 24 '13 at 21:18 I see DISPLAY=localhost:11.0 in my env, but its relevance and whether Gtk Warning Cannot Open Display Gedit Sharepoint 2013: Rest API - does header need to include X-RequestDigest? share|improve this answer answered Dec 22 '15 at 12:46 MaWo 111 add a comment| up vote 0 down vote On my (standard) Ubuntu environment I got the xterm over ssh failure I still get Can't open display: :0.0 –Fabian Sep 16 '11 at 16:03 What's your local machine running?
Error Can't Open Display Localhost
I can use ssh -X from A to B, but not in the other way. see this here Read here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595014 There are a couple different fixes, but the one noted at the bottom of that bug report should be fine. 1 members found this post helpful. Error Can't Open Display Linux 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 Xhost Unable To Open Display anomie View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by anomie View Blog 01-27-2012, 08:31 AM #5 goossen Member Registered: May 2006
err: Can't open display, What's wrong?4“can't open display” weirdness over ssh4“Can't open display” even after access with xhost5gedit “cannot open display” , on remote computer , using ssh - Ubuntu 12.041SSH this contact form Ran into the same issue myself awhile back. Not the answer you're looking for? Not the answer you're looking for? Gtk Warning Cannot Open Display Ubuntu
I would appreciate if you could upvote/ mark this answer as accepted. –yask Dec 1 '14 at 4:00 add a comment| Your Answer draft saved draft discarded Sign up or Here is what I found online : If you use ssh -X remotemachine the remote machine is treated as an untrusted client. 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 have a peek here GO OUT AND VOTE How good should one be to participate in PS?
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. Gtk Warning Cannot Open Display Linux As a monk, can I use Deflect Missiles to protect my ally? Your symptoms are not exactly identical, but IPv6 disabling is known to break X11 forwarding over ssh.
Thanks in advance.
Do we know Ford's old name? 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 When logging in remotely through SSH (ssh -y [email protected]), and typing in gedit, throws the following error:It's supposed to be ssh -Y (or ssh -X). Error Can't Open Display Localhost 10.0 Putty Related 7Must an X11 server be installed for X11 forwarding over ssh to work?5xming debian can't open display3How to troubleshoot failed X11 forwarding with ssh?9X11 forwarding an OpenGL application from a
Sources: http://www.nikhef.nl/~mjg/xhost_plus.html https://forums.opensuse.org/showthread.php/405624-sudo-doesnt-open-X-programs https://wiki.ubuntu.com/CustomXSession share|improve this answer edited May 4 '15 at 22:56 answered Apr 26 '15 at 23:08 Mark Paskal 2,19211426 1 This does work indeed. It is working now! Previous examples of large scale protests after Presidential elections in US? http://softwaredevelopercertification.com/open-display/ubuntu-gtk-cannot-open-display.php Use the FAQ Luke Top Narain Posts: 4 Joined: 2015/09/24 16:51:59 Re: Cannot open display - gedit - from SSH login Quote Postby Narain » 2015/09/25 08:34:02 Hi Trevor and toracat,Thanks
I am not running this through SSH or VNC. It's$ echo $DISPLAY :0for my first X server and$ echo $DISPLAY :1for the other one I'm running.How exactly do you start X? Usage depends on location (work/home), but the error is all the same –Fabian Sep 16 '11 at 18:38 I'll edit the answer... (1) –ed.