Made /etc/hosts readable by all, and it worked fine. –Daniel Mar 6 at 2:00 add a comment| up vote 6 down vote I had this problem with my CentOS KVM server, How can I save a file to a new location from inside Vim? Is it possible to hand start modern planes? If you need to edit files from command-line, use a CLI text editor like nano instead. http://bovbjerg.net/open-display/ubuntu-cannot-open-display-gedit.php
Hot Network Questions Safety - Improve braking power in wet conditions TIKZ: foreach not compatible with calc-library? Professor Lewin: "Which string will break?" / Me: "That one." / Professor Lewin: "Wrong!" Can an object *immediately* start moving at a high velocity? But if you use ssh -Y remotemachine the remote machine is treated as trusted client. Gtk-WARNING **: cannot open display: 1 How to open wcm Commander in os x? http://askubuntu.com/questions/186015/cannot-open-gedit-display-on-ubuntu-server-12-04
How do I deal with my current employer not respecting my decision to leave? I tried the sudo gedit /etc/apt/sources.list command which prompts me for a password. Read more about Ramesh Natarajan and the blog.
Especially if the plan is to install a graphical desktop anf run other than just server applications. Thus it must be available in Ubuntu also. These are the instructions: echo $DISPLAY # you'll be needing this value 3 lines below sudo -i # or "su -" on older Slackwares xauth merge ~alien/.Xauthority # use your own Gtk Warning Cannot Open Display Ubuntu The Ubuntu guys must be messing around with defaults again. –Zoredache Jul 13 '11 at 19:50 1 @DerfK, in my system "X11Forwarding yes" was there already still I am getting
Yay, my sudo Gedit is back! Gedit Gtk-warning Cannot Open Display I installed Ubuntu 8.04.1-Server-PowerPC (after unsuccessfully trying to install the latest version of Ubuntu) to replace OS 9 which was sucking the life out of me. Tango Icons © Tango Desktop Project. Many thanks!
I am getting the following error message when using ssh to log into a remote machine: gedit: cannot open display I am using ssh in - Ubuntu 12.04. Gedit No Protocol Specified sudo nano /etc/samba/smb.conf Woo hoo, my Ubuntu Server is now working!! :) share|improve this answer edited Sep 10 '12 at 5:52 Eliah Kagan 56.7k17164256 answered Sep 10 '12 at 3:31 JJ help Reply With Quote 10-May-2013,03:06 #9 DenverD View Profile View Forum Posts View Blog Entries View Articles Flux Capacitor Penguin Join Date Jun 2008 Location Earth - Denmark Posts 11,204 Re: I just added the line Defaults env_keep+="DISPLAY" to the end of the visudo file at /etc/sudoers.
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 internet Find a mistake in the following bogus proof How do I deal with my current employer not respecting my decision to leave? Gedit Cannot Open Display Putty Safety - Improve braking power in wet conditions Build me a brick wall! Gedit Cannot Open Display Ssh I am seen in darkness and in light, What am I?
How can I open the next/previous file alphabetically? his comment is here Gtk-WARNING **: cannot open display: Even if I try gksudo gedit /etc/apache2/sites-available/000-default.conf and sudo nano /etc/apache2/sites-available/000-default.conf it gives me the same message (including when I type in gksudo nano). Join Date Apr 2005 Location Finland/UK BeansHidden! Bash 101 Hacks eBook Sed and Awk 101 Hacks eBook Vim 101 Hacks eBook Nagios Core 3 eBook Copyright © 2008–2015 Ramesh Natarajan. Xhost: Unable To Open Display ""
Sakura:-Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate I found this question with the same error but no solution Unable to launch gedit with sudo EDIT I found this post in Ubuntu Forums. CentOS 5 dies in March 2017 - migrate soon!Full time Geek, part time moderator. this contact form Browse other questions tagged 12.04 server gedit or ask your own question.
I am really new at this and am basically learning as I go. What is the common, normally open, normally closed? What do I do? Gtk Warning Cannot Open Display Centos Any idea why localhost wasn't working? –Alex Sep 24 '13 at 4:47 1 BINGO!
The listener was not set to listen. Browse other questions tagged xorg ssh or ask your own question. I will be posting instruction guides, how-to, troubleshooting tips and tricks on Linux, database, hardware, security and web. http://bovbjerg.net/open-display/ubuntu-12-04-vino-server-cannot-open-display.php How do I fix this?
Browse other questions tagged 14.04 server apache2 gedit or ask your own question. Safety - Improve braking power in wet conditions C# TBB updating metadata value Isn't AES-NI useless because now the key length need to be longer? All men have stood for freedom...For freedom is the man that will turn the world upside down.Gerrard Winstanley. C# TBB updating metadata value US Election results 2016: What went wrong with prediction models?