Looks like root is not allowed to use the X server. As user issue:
xhost local:
Then I would do:
apt-get install sux
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 ?
Looks like root is not allowed to use the X server. As user issue:
xhost local:
Then I would do:
apt-get install sux
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

OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC
$175.00
Ubuntu Server 26.04.1 LTS Bootable USB Flash Drive – Latest September 2026
$12.99
OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$115.00
Microsoft SQL Server 2019 Enterprise 40 Core Unlimited CAL Retail License FPP
$299.00
ZimaBoard 2 1664 Home Server 16GB
$350.00
1U Rackmount PC Intel Core i5-2520M 8GB RAM 500GB HDD Ubuntu Linux Server
$109.99
All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive
$15.95
ESET Server Security (File Security) | Variant Item | Download Version
$136.15
Sun Enterprise e450 400mhz cpu(x4), 4gb ram, 9gb HD w/spud most complete on ebay
$500.00
SQL Server 2022 Enterprise 96 Core License & DVD Unlimited CALs with CoA
$284.99