See this link: http://www.knoppix.net/forum/viewtopic.php?t=11608
Hi,
under knoppix3.4 i was able to launch a emacs window with root-rights by just using a "su" in a terminal window and then starting emacs.
Now with knoppix 3.6 i get only this message:
--------------------------------
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
emacs: Cannot connect to X server :0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.
------------------------------------
How can i launch emacs or konqueror with super-user rights from a normal user-login (even using the su-way would be just fine... i just dont want to log off and log in as root).
I know i am dumb.. .so please dont laugh..
T'HX
Markus
See this link: http://www.knoppix.net/forum/viewtopic.php?t=11608
THX a lot!!!Originally Posted by CrashedAgain
"xhost local:" does the job wonderfully for me.
Sorry for replying so late, but the "topic reply notification email" got lost in my email pile....
I am really happy now!
THX again
Markus

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$115.00
BOSGAME E4 Air Mini PC, AMD Ryzen 5 3500U 8GB DDR4 256GB SATA SSD
$169.99
VA Linux 1120 1U Rackmount Server
$100.00
Ubuntu Server 26.04.1 LTS Bootable USB Flash Drive – Latest September 2026
$12.99
Dell SonicWall TZ400 Network Security Appliance Firewall New
$295.00
OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC
$175.00
Dell R730 AI Home Lab Server 128GB RTX 3060 Ti Dual Xeon 20-Core
$999.00
All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive
$15.95
SQL Server 2022 Enterprise 96 Core License & DVD Unlimited CALs with CoA
$284.99
Ubuntu Server 24.04.1 Bootable Install/Recovery DVD - January 2025 Update
$8.99