They'd still need to connect to your machine somehow, unless you've enabled X TCP connections (Debian has them off by default). 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. If so, that is X fowarding. On the server side, X11Forwarding yes must specified in /etc/ssh/sshd_config. his comment is here
Can any one help me how to resolve this. In one line .. Not the answer you're looking for? 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. ) = 302 write(2, "xterm: ", 7xterm:
DistroLubuntu getting "can't open display" when using ssh I'm used to ssh-ing to my other box, and running GUI apps after setting DISPLAY=:0 The X server is on the box i'm What is the significance of the robot in the sand? up vote 52 down vote favorite 29 Once upon a time, DISPLAY=:0.0 totem /path/to/movie.avi after ssh 'ing into my desktop from my laptop would cause totem to play movie.avi on my I can't enable XWindows due to security requirements by the client.
And when I try to start another one:No protocol specifiedError: cannot open display: :0.0Thanks for all advices. If that is true, why? –Faheem Mitha Jan 10 '14 at 9:36 5 Sometimes root is treated differently than other users. Join Date Nov 2009 BeansHidden! Gtk Warning Cannot Open Display Raspberry Pi Is adding the ‘tbl’ prefix to table names really a problem?
asked 2 years ago viewed 108850 times active 10 months ago Linked 13 How to eliminate annoyances when starting a GUI from a terminal? 1 xterm no longer starting as root Gtk Warning Cannot Open Display Ubuntu Is it possible to sheathe a katana as a free action? asked 1 year ago viewed 4726 times active 1 year ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Visit Chat Related 0“Gtk-WARNING **: cannot open display: ” when using http://askubuntu.com/questions/414785/cant-open-gedit-as-root What do I do?
This last option can open security problems. Gtk Warning Cannot Open Display Linux At least on the new install of 10.04 that I did this morning X11Forwarding was enabled by default. Would the members of an online imageboard (or any community) be able to build a post-apocalytic society upon their reputation? svccfg –s /application/x11/x11-server listprop options/tcp_listen svccfg –s /application/x11/x11-server setprop options/tcp_listen = true share|improve this answer edited Mar 19 '15 at 0:23 G-Man 3,13391224 answered Mar 18 '15 at 22:52 Doug Somers
ssh x11-forwarding share|improve this question asked May 23 '12 at 15:35 Yann 131116 I was going to tag this with xhost but I don't have enough reputation to create this the forwarding was not happening. Xhost: Unable To Open Display ":0" How good should one be to participate in PS? Gedit Gtk-warning Cannot Open Display Limit computation technology in a futuristic society How do unlimited vacation days work?
What is this line of counties voting for the Democratic party in the 2016 elections? http://ibuildsystem.com/open-display/ubuntu-gtk-cannot-open-display.php Note that the default is no forwarding (some distributions turn it on in their default /etc/ssh/sshd_config), and that the user cannot override this setting. Sep 13 '14 at 20:24 @Jan Do I need to forward X? In the context of this quote, how many 'chips/sockets' do personal computers contain? Gtk Warning Cannot Open Display Ssh
How can I claim compensation? Not the answer you're looking for? Someone peeled an American flag sticker off of my truck. weblink 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.
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 Xhost Unable To Open Display Ubuntu from terminal type firefox and hit ENTER –RAJ ... cookies stored in ~/.Xauthority.) Getting the values of the variables Here are a few ways to obtain the values of DISPLAY and XAUTHORITY: You can systematically start a screen session from
Did some more research, especially this answer http://askubuntu.com/a/137584/163331 and realised I had to add more options to the visudo file. Is mutating static local variables twice in the same expression undefined behavior? Source share|improve this answer answered Sep 13 '14 at 20:48 Jan 5,01511228 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Git Gtk Warning * * Cannot Open Display How do you enchant items with Lapis Luzuli?
Find the rate of change at a point on a polynomial Calculating ...5(5+4(4+3(3+2(2+1(1))))) Start a coup online without the government intervening Is it possible to hand start modern planes? No IP address needed? Is there a way to block a President Elect from entering office? http://ibuildsystem.com/open-display/ubuntu-cannot-open-display-ssh.php If your command violates some security settings you'll receive an error instead.
Not the answer you're looking for? TSA broke a lock for which they have a master key. Browse other questions tagged sudo gedit or ask your own question. Tunneling X11 reduces almost all of X11's vulnerabilities.
What is a satisfactory result of penetration testing assessment? Solving a discrete equation Why do some banks have more than one routing number in the US? Should I report it?