Results 1 to 3 of 3

Thread: Gtk-WARNING **: cannot open display: [for www-data user]

  1. #1
    Member registered user
    Join Date
    Apr 2004
    Posts
    34

    Gtk-WARNING **: cannot open display: [for www-data user]

    hi all
    i want to run an external prog by a web interface (user : www-data)

    the prob is when i do by a console :
    su www-data
    vmware

    the prog is workin fine

    if i sent this command by a web interface, it doesn't launch
    if i edit /var/log/apache/error.log, i can see " Gtk-WARNING **: cannot open display: "

    knoppix 3.4 kernel 2.4
    it worked fine on a previous knoppix install but i have messed up with permission and i had to reinstall
    ---------------------------------------------------------------------
    i have changed the user www-data privileges to users then to root, but nothing
    i have changed the apache user to my current user but nothing
    i have create a symlink from .xauthority user to www but nothing
    ---------------------------------------------------------------------
    have you any ideas ?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Looks like root is not allowed to use the X server. As user issue:
    xhost local:

    Then I would do:

    apt-get install sux

  3. #3
    Member registered user
    Join Date
    Apr 2004
    Posts
    34

    lol

    thanks for the reply dude

    so i have installed sux

    but the prog to be launch is not from a console so it doesn't display any prompt asking for pass

    i have installed sarge testing and i will try to figure x better

Similar Threads

  1. open source/free data recovery software
    By th3b0d0mr3ap3r in forum MS Windows & New to Linux
    Replies: 3
    Last Post: 10-04-2004, 09:53 PM
  2. Unable to open display properties
    By ZX in forum General Support
    Replies: 0
    Last Post: 03-15-2004, 08:34 AM
  3. Root can not open display
    By jackrabbit in forum General Support
    Replies: 2
    Last Post: 01-28-2004, 06:51 AM
  4. knoppix app that will open database field data?
    By duah55 in forum General Support
    Replies: 0
    Last Post: 01-05-2004, 08:20 PM
  5. Cannot open display
    By ferreter in forum General Support
    Replies: 15
    Last Post: 08-13-2003, 11:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Vintage 1960s Donner Model 3000 Analog Computer ~ MUSEUM PIECE Extremely Rare picture

Vintage 1960s Donner Model 3000 Analog Computer ~ MUSEUM PIECE Extremely Rare

$4000.00



NEC Multisync II JC-1402HMA VGA EGA CGA Analog TTL Computer Monitor Vintage 1988 picture

NEC Multisync II JC-1402HMA VGA EGA CGA Analog TTL Computer Monitor Vintage 1988

$699.99



Macintosh SE/30 M5119 Computer 20MB RAM 1.2GB Hard Drive Recapped Working *Read* picture

Macintosh SE/30 M5119 Computer 20MB RAM 1.2GB Hard Drive Recapped Working *Read*

$500.00



NEW Aquarius+ Computer Signature Edition - 8Bit Retro System picture

NEW Aquarius+ Computer Signature Edition - 8Bit Retro System

$239.00



Landen Computer. Circa 1898. the Rapid Computer Company.  With Original Case. picture

Landen Computer. Circa 1898. the Rapid Computer Company. With Original Case.

$425.00



IBM Modem Saver Phone Line Tester picture

IBM Modem Saver Phone Line Tester

$7.99



Apple IIc Analog Board NOS - 661-0265 picture

Apple IIc Analog Board NOS - 661-0265

$74.00



Burr Brown Analog Computer parts Circuit boards w Helipot Potentiometers 1631a  picture

Burr Brown Analog Computer parts Circuit boards w Helipot Potentiometers 1631a

$85.00



Extron RGB-160XI Analog Computer Video 60-378-01 picture

Extron RGB-160XI Analog Computer Video 60-378-01

$187.06



Macintosh Classic/Classic II Analog Board Computer 630-0395 New picture

Macintosh Classic/Classic II Analog Board Computer 630-0395 New

$276.00