Home > Ubuntu Cannot > Ubuntu Cannot Open Display 0.1

Ubuntu Cannot Open Display 0.1

eeekster View Public Profile View LQ Blog View Review Entries View HCL Entries Visit eeekster's homepage! the echo $DISPLAY :0 proves that there is no name on that terminal. As fruttenboel stated, the problem is that when you're logged in with your user account, the X display is owned by you, so root is not allowed to perform an X But, you can open a terminal attach to screen (just as you would from remote) and view the app locally that way. Check This Out

Tunneling X11 reduces almost all of X11's vulnerabilities. How is Anti Aliasing Implemented in Ray Tracing? How to prove that authentication system works, and that the customer is using the wrong password? More information here: http://freshmeat.net/articles/the-antidesktop Edit: I thought I would share one thing about the above arrangement. http://superuser.com/questions/310197/how-do-i-fix-a-cannot-open-display-error-when-opening-an-x-program-after-sshi

This lets all users on your system (i.e. Join our community today! Since you have X11DisplayOffset set to 10 (the default value), ssh will use the first available display starting at 10.

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, I've been stuck by that problem for some time... For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. Your app will not display on the remote machine's physical desktop.

The full text of the error or warning message cannot be safely formatted in this environment. Yes, 'root' is the supreme God of your system and is omni potent. Update your answer to include both and I'll accept it. –Daryl Spitzer Jul 13 '11 at 19:21 1 Interesting. https://bbs.archlinux.org/viewtopic.php?id=191251 If you need to reset your password, click here.

Find More Posts by acid_kewpie 05-12-2010, 04:32 PM #3 toxine LQ Newbie Registered: May 2010 Posts: 9 Original Poster Rep: thanks for the fast reply, so how can i Part of sshd_config: X11Forwarding yes X11DisplayOffset 10 PrintMotd no PrintLastLog yes TCPKeepAlive yes Any advice? That may be wrong. acid_kewpie View Public Profile View LQ Blog View Review Entries View HCL Entries Visit acid_kewpie's homepage!

  • Here is what I found online : If you use ssh -X remotemachine the remote machine is treated as an untrusted client.
  • That is a nice thing, but what I need is that the xeyes window appears on machineB. (My problem is that I have to start a calculation at work (which lasts
  • 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
  • Because other graphical (X11) client could sniff data from the remote machine (make screenshots, do keylogging and other nasty stuff) and it is even possible to alter those data.
  • This might happen if you've changed your login shell to screen (a cute idea in theory, but not practical) and you have a shell initialization file that forcibly sets DISPLAY inside
  • the server and client share a secret "cookie"(xauth list to see yours)….
  • Unix & Linux Stack Exchange works best with JavaScript enabled Arch Linux HomePackagesForumsWikiBugsAURDownload Index Rules Search Register Login You are not logged in.

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 http://askubuntu.com/questions/614387/gksu-gtk-warning-cannot-open-display-0 xeys) on my local machine (machineA)... 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 I assumed that the OP has a gui running such as kde or gnome or such.

Thankyou again davetesc. 1 members found this post helpful. his comment is here Thanks very much! 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 Omitting the hostname from the DISPLAY variable should imply the server is running locally, yes?

This, however: Quote: Originally Posted by eeekster With DISPLAY=localhost:0.0 you are asking to connect to an X11 server via TCP. What is a satisfactory result of penetration testing assessment? Also I have noticed that it is only happening for one of my two users on the system, not the other. this contact form When I use ssh -X [email protected] and after the connection xterm I get the same error.

Firefox, leafpad, terminal, all launch properly, only the panels I can't make them run. How can I claim compensation? asked 5 years ago viewed 374230 times active 5 months ago Linked 1 error: XDG_RUNTIME_DIR not set in the environment.

Infact opening gparted from the application menu has the same result. –d_inevitable Apr 26 '15 at 16:53 You shouldn't have to use gksu to run GParted.

Perhaps not ideal, but I believe it will be usable. The time now is 07:07 PM. If I do it both time with -X (enable forwarding) I see the apps (e.g. But I'm still not able to start it on the remote machineB (using ssh without -X (or using -x)) and let it appear on machineB.

Sep 16 '11 at 18:30 I use Ubuntu 10.04, Linux Mint 11 or Mac OS X 10.7. lorsenDecember 29th, 2009, 02:19 PMWhat you pasted was different than what I wrote. If you intend to pursue it, I'll do what I can to help but I'm not so fluent in X11. http://bovbjerg.net/ubuntu-cannot/ubuntu-cannot-open-consolekit.php verigoth View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by verigoth 03-12-2012, 08:51 PM #6 eeekster Member Registered: Oct 2011 Posts: 163

I can't reproduce your problem on 14.04, but this has worked for me in the past when sudo / gksu threw this error. For example, while launching the gedit on remote server, I got the following message. (gedit:3658): Gtk-WARNING **: cannot open display: I get similar message when I try to open any GUI Posts: 342 Rep: If you have antiX use sux (or install it) to open apps as root in X. 1 members found this post helpful. In case needed you maybe allow me to ask you again ...

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