LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2012, 01:24 PM   #1
rldavies
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Rep: Reputation: Disabled
Unhappy gedit-4865 gtk warning cannot open display


I am trying to edit the interface file but keep getting this error:
gedit-4865 gtk warning cannot open display. I have updated the apt-get gedit but to no avail. Please help..
 
Old 08-19-2012, 04:15 PM   #2
zsh
LQ Newbie
 
Registered: Aug 2012
Location: Russia
Distribution: Slackware
Posts: 3

Rep: Reputation: Disabled
If you're running X session (Gnome, Unity or other ) you can try to do so

gedit --display :0.0

Last edited by zsh; 08-19-2012 at 04:40 PM.
 
Old 08-19-2012, 04:18 PM   #3
jk07
Member
 
Registered: Jul 2012
Location: USA
Distribution: Ubuntu 12.04 LTS, Kubuntu 12.04 LTS, Scientific Linux 6.3
Posts: 97

Rep: Reputation: Disabled
If you are trying to edit the interfaces file, you need to use the gksudo and not sudo, for example:

Code:
gksudo gedit filename
 
Old 08-23-2012, 05:53 AM   #4
rldavies
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
gedit-4865

Many thanks, it is all working now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(gedit:6540): Gtk-WARNING **: cannot open display: :0 jax8 Programming 3 05-07-2009 08:57 AM
export display and Gtk-WARNING **: cannot open display: zimma Linux - Server 0 04-24-2009 03:51 AM
Gtk-WARNING **: cannot open display iamjoepesci Red Hat 2 10-17-2008 12:51 PM
Gtk-WARNING **: cannot open display elfoozo DamnSmallLinux 3 07-12-2007 10:41 PM
GTK-Warning ** cannot open display kgblossom Debian 6 02-18-2007 03:23 PM


All times are GMT -5. The time now is 01:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration