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
  •  


SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



Finisar Copper SFP 1Gbps Transceiver Module FCLF8522P2BTL (34 total) picture

Finisar Copper SFP 1Gbps Transceiver Module FCLF8522P2BTL (34 total)

$680.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Cisco Meraki MA-SFP-1GB-SX Network Tranceiver Module picture

Cisco Meraki MA-SFP-1GB-SX Network Tranceiver Module

$89.00



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



Dell Mellanox ConnectX-4 Lx CX4121C Dual 25GbE SFP28 LP | 20NJD picture

Dell Mellanox ConnectX-4 Lx CX4121C Dual 25GbE SFP28 LP | 20NJD

$25.00



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



LOT of 10 DELL DPN: 0XYD50 | Intel FTLX8574D3BCV-IT  10G SFP+SR 850nm LC SFP picture

LOT of 10 DELL DPN: 0XYD50 | Intel FTLX8574D3BCV-IT 10G SFP+SR 850nm LC SFP

$45.00



Netgear ProSafe AGM732F 1000BASE-LX SFP 1310nm GBIC Module NEW SEALED picture

Netgear ProSafe AGM732F 1000BASE-LX SFP 1310nm GBIC Module NEW SEALED

$80.00