LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-05-2003, 05:38 AM   #1
slewis1972
Member
 
Registered: Jan 2003
Posts: 30

Rep: Reputation: 15
Gtk-WARNING **: cannot open display - I think X Is broken


Rebooted my Debian laptop:-

Reboot, back into scott

Opened up xterm

Typed: Perl Wellenreiter.pl

****Wellenreiter.pl is a wireless sniffer with a nice gui******

A dialogue box came up, saying this must be run as root.

Changed into root vi su -

And then got the error.

Fri Jul 4 20:12:47 2003 Gtk-WARNING **: cannot open display:

Anyway, did abit of investigating

If I loginto root, I can run the program, it just seems i cannot run any programs under root while logged in as user scott.

I have tried both unset DISPLAY & Export DISPLAY=:0 and still wont work - I dont get any erros aswell when I run them.

Now, I have also tried xhost +localhost

If I log in as root and try that command in xterm - I get bad hostname, but it will take 127.0.0.1

If I then log in as scott and in xterm, I then do a Su -, type 'xhost +localhost I get: unable to open display ""

Any ideas?

Scott
 
Old 05-18-2004, 06:42 AM   #2
Lumberjack
LQ Newbie
 
Registered: Jun 2003
Location: Warfield, England
Posts: 10

Rep: Reputation: 0
Just bumping this to the top. I have similar problems and would like to know where you should check the XServer perms.

Cheers.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gtk warning cannot open display bosewicht Linux - Newbie 2 03-10-2010 08:53 PM
Gtk-WARNING **: cannot open display elfoozo DamnSmallLinux 3 07-12-2007 10:41 PM
Gtk-WARNING **: cannot open display: lijomali Fedora 6 11-10-2005 07:43 PM
Gtk-WARNING **: cannot open display ocset Linux - Software 2 10-18-2004 04:18 PM
Gtk-WARNING **: cannot open display: Larsin Linux - Software 1 02-25-2004 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:26 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
Open Source Consulting | Domain Registration