So some background on how we got here. Build me a brick wall! 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. Not the answer you're looking for? Source
Adv Reply August 24th, 2012 #2 sanderj View Profile View Forum Posts Private Message Ubuntu addict and loving it Join Date Jan 2009 Location ::1 Beans 2,485 Re: getting "can't Why is this? the server and client share a secret "cookie"(xauth list to see yours)….
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. It doesn't seem like it should be necessary to tell the OS that localhost and 127.0.0.1 are equivalent, but it works, at least. sudoedit | about systemd Adv Reply August 24th, 2012 #5 Rexilion View Profile View Forum Posts Private Message Tea Glorious Tea! Bug?
Should I report it? https://bbs.archlinux.org/viewtopic.php?id=108562 Offline #5 2010-11-19 19:24:20 lubiebudyn Member Registered: 2010-11-19 Posts: 4 Re: Error: cannot open display: :0.0 [SOLVED] schuay wrote:Maybe this? How to handle swear words in quote / transcription? Furniture name for waist-high floor-sitting shelf cabinet thing Teenage daughter refusing to go to school Calculating ...5(5+4(4+3(3+2(2+1(1))))) Lab colleague uses cracked software.
So ":0.0" is the value you likely want (and ":0" will likely work too).
How can I fix this?
Hot Network Questions Is there a way to block a President Elect from entering office?
Does an Eldritch Knight's war magic allow Extra Attacks?
ubuntu share|improve this question asked Apr 28 '11 at 13:20 Troydm 294111 add a comment| 3 Answers 3 active oldest votes up vote 1 down vote accepted You'll need to run
Not the answer you're looking for?
TCP (port 6000) was being blocked, always, and no matter what I did with xhost, XAuthority, etc.
Find the "unwrapped size" of a list What is this line of counties voting for the Democratic party in the 2016 elections? You are currently viewing LQ as a guest. With the upgrade to 12.04.1, this stopped working (coincidence?) I'd like to get this working so I can run programs from ssh. Just to be sure, I restarted the VM (and reconnected through SSH afterward). –Daryl Spitzer Jul 13 '11 at 18:38 3 Maybe try passing the -vv option to ssh when
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 http://tawish.org/ubuntu-cannot/ubuntu-cannot-open-master-raw-device.php asked 1 year ago viewed 42724 times active 1 year ago Linked 3 Unable to open any graphical app with “sudo” 0 X11 errors over SSH Related 2Gtk-warning cannot open display8getting up vote 4 down vote favorite 1 I'm trying to run an appliaction, but when I run it I get a Could not open display `(null'). I should clarify that this is not via ssh.
I use "ssh -X server_ip" and when I run "xlock" it says: Code: Error: Can't open display: any idea about that? I am seen in darkness and in light, What am I? i hope you understand, what i want to know. have a peek here 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
I no longer get that message, but I was wondering does this play a part in why X11 forwarding is not working? The command needs to be run by the owner of the X session. glib?
debug1: identity file /home/mahmood/.ssh/identity type -1 debug1: identity file /home/mahmood/.ssh/id_rsa type -1 debug1: identity file /home/mahmood/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3p1 Debian-3ubuntu6 debug1: match: OpenSSH_5.3p1
Re: getting "can't open display" when using ssh For me, sometimes ssh -Y works. (and no, this is not a lame joke ) Adv Reply August 24th, 2012 #6 marinara The full text of the error or warning message cannot be safely formatted in this environment. This lets all users on your system (i.e. 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
Answer: You can fix the "cannot open display" error by following the xhost procedure mentioned in this article. 1. debug2: channel 0: request x11-req confirm 0 debug3: Wrote 112 bytes for a total of 1511 debug2: client_session2_setup: id 0 debug2: channel 0: request pty-req confirm 1 debug1: Sending environment.