Home > Open Display > Ubuntu Error Cannot Open Display

Ubuntu Error Cannot Open Display

Contents

Adam adamk75 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by adamk75 05-23-2011, 05:59 AM #5 mahmoodn Member Registered: May 2010 How do I go about troubleshooting this? even i update gtk2 and all depended lib. Make sure to use +localhost and not simply +, as it's more secure to just allow connections from localhost than from anywhere. Check This Out

Mine is not cause by this.. Not the answer you're looking for? or just ForwardX11 in /etc/ssh/ssh_config, then run $ ssh [email protected] -Y, to enable trusted X11 forwarding, don't know the exact cause but I'm guessing with -X some features expire after some Missing } inserted. \int dx = x + C & more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact http://superuser.com/questions/310197/how-do-i-fix-a-cannot-open-display-error-when-opening-an-x-program-after-sshi

Error Can't Open Display Linux

How do I make an alien technology feel alien? How to handle swear words in quote / transcription? 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

  1. If that is true, why? –Faheem Mitha Jan 10 '14 at 9:36 5 Sometimes root is treated differently than other users.
  2. If you still get the "cannot open display" error, set the DISPLAY variable as shown below. $ export DISPLAY='IP:0.0' Note: IP is the local workstation's IP where you want the GUI
  3. For example: xhost +si:localuser:terdon That will allow the local user terdon to connect to the running X server.
  4. The other possibility is that the X11 forwarding is only enabled on a specific host.
  5. Click Here to receive this Complete Guide absolutely free.
  6. Sep 16 '11 at 18:30 I use Ubuntu 10.04, Linux Mint 11 or Mac OS X 10.7.

What Could Cause Flash Over / Arcing to Reappear on New Plugs? You could also try this: ssh -X [email protected] DISPLAY=10.0 xterm share|improve this answer edited Sep 16 '11 at 20:47 answered Sep 16 '11 at 15:26 ed. 25415 I tried What is the significance of the robot in the sand? Cannot Open Display Ubuntu That works for me without difficult DISPLAY stuff.

I still receive the cannot open display error-message. –Martin Jan 10 '14 at 15:45 | show 20 more comments 5 Answers 5 active oldest votes up vote 10 down vote This Error Can't Open Display Localhost Not the answer you're looking for? How to handle a common misconception when writing a Master's thesis? look at this web-site Another file that defines environment variables is /etc/environment.

To make this permanent, edit the ~/.xinitrc file like this: Run gedit ~/.xinitrc Edit the file to look like this (it should be empty to being with): #! /bin/bash xhost +localhost Gtk Warning Cannot Open Display Ubuntu mahmoodn View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by mahmoodn Thread Tools Show Printable Version Email this Page Search this Thread Advanced Should I report it? 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,94893236 migrated from serverfault.com Jul 13 '11

Error Can't Open Display Localhost

How can I save a file to a new location from inside Vim? http://askubuntu.com/questions/141240/cant-open-display-even-after-access-with-xhost In the context of this quote, how many 'chips/sockets' do personal computers contain? Error Can't Open Display Linux This setup use to work. Xhost Unable To Open Display They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

debug3: Wrote 128 bytes for a total of 1399 debug2: callback start debug2: x11_get_proto: /usr/bin/xauth list :1.0 2>/dev/null debug1: Requesting X11 forwarding with authentication spoofing. his comment is here It worked for me. Hot Network Questions Was it legal to rant against trick or treating via loudspeaker during halloween? So set the IP manually, as harrymc suggests: export DISPLAY="127.0.0.1:10.0" Then X11 programs should be fine. Error Can't Open Display Xclock

pfft! I no longer get that message, but I was wondering does this play a part in why X11 forwarding is not working? Gtk-WARNING **: cannot open display:0X11 Forwarding Error:0ssh X11 forwarding not working, Can't open display: localhost:11.0 Hot Network Questions Basic Geometric intuition, context is undergraduate mathematics When does TNG take place in this contact form Try this instead: ssh -Y [email protected] xterm Edit (1): Try this: ssh -X [email protected] env That should show all the environment.

Problem with function inside brackets. Gtk Warning Cannot Open Display Ssh Ask Ubuntu works best with JavaScript enabled UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. What is a satisfactory result of penetration testing assessment?

Word for a Fact Believed by a Sub-Culture Professor Lewin: "Which string will break?" / Me: "That one." / Professor Lewin: "Wrong!" How to handle a common misconception when writing a

Nonstandard X clients share|improve this answer answered Jan 14 '14 at 17:49 nbari 31115 As far as I know, xhost ACL is not even checked if X forwarding is Does Intel sell CPUs in ribbons? Actually, the resolution of "localhost" wasn't! Gtk Warning Cannot Open Display Raspberry Pi Is it possible to hand start modern planes?

Find the "unwrapped size" of a list straight lines + point of intersection in TikZ I am seen in darkness and in light, What am I? share|improve this answer answered Jun 11 '14 at 20:44 allen 111 add a comment| up vote 0 down vote Also, check that you have X11 installed on the client end. You'll need to modify /etc/lightdm/lightdm.conf under [SeatDefaults], add: xserver-allow-tcp=true then reboot (recommended) or sudo service lightdm restart which may lose your working desktop session. navigate here How can I fix this?

Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started Search this Thread 05-23-2011, 03:45 AM #1 mahmoodn Member Registered: May 2010 Posts: 409 Rep: Can't open display I remember that I could forward x11 from a remote server. Install xbase-clients, if it isn't installed already. –Zoredache Jul 13 '11 at 18:22 I installed it but still have the same problem. (See above.) –Daryl Spitzer Jul 13 '11 [email protected]:~$ But I don't know what do you mean by verbose on server side mahmoodn View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts

The DISPLAY-variable should be set automatically, right? Part of sshd_config: X11Forwarding yes X11DisplayOffset 10 PrintMotd no PrintLastLog yes TCPKeepAlive yes Any advice? gdk? How does Gandalf end up on the roof of Isengard?

Ask Ubuntu works best with JavaScript enabled UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. What is the common, normally open, normally closed? OBDII across the world? After setting it to true, it works just fine.

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 vBulletin ©2000 - 2016, Jelsoft Enterprises Ltd. If that's the case, the solution is obvious: don't set DISPLAY there. (There are very few cases where you need to set DISPLAY manually.) There are other exotic explanations. 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

How to reduce the width of the equation in a text paragraph? How to reply? It allows only connections from your user to the xserver until told otherwise, I think. display aws share|improve this question edited Mar 30 '14 at 18:26 Seth♦ 23.1k1991141 asked Mar 24 '14 at 9:17 user261504 2112 add a comment| 1 Answer 1 active oldest votes up