Add this line to your /root/.bashrc you would of course change it to your user name.Originally Posted by m_yates
Code:# Allows me to run an X program as root export XAUTHORITY=/home/stephen/.Xauthority
In Knoppix installed to the hard drive, it is possible to open X programs from a console program automatically as root. For example, if I login to KDE as a user, open Konsole, su to become root, then enter a command like "kwrite", a new window will open up, allowing me to run kwrite as root.
If I install Debian using the official installer, I cannot open X programs as root. Does anyone know how Knoppix does it? In my normal Debian system, I have to enter the command "xhost local:root" to give root permission to open a display. I would like root to automatically have permission from my user account every time I log on. I know it introduces some security issues, but I don't care. It is very convenient to have the ability to open windows as root from a console.
I know this is a little off topic (sorry).
Add this line to your /root/.bashrc you would of course change it to your user name.Originally Posted by m_yates
Code:# Allows me to run an X program as root export XAUTHORITY=/home/stephen/.Xauthority
Thanks Stephen. I'll give this a try.
Samsung Galaxy Tab A8 10.5" SM-X200 128GB Wifi Only Tablet Open Box
$149.99
Samsung Galaxy Tab A 8.0" 2019 SM-T290 32GB WiFi Tablet Open Box
$94.99
Samsung - S Pen Creator Edition - White
$40.00
Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New)
$129.99
SAMSUNG M393A2G40DB0-CPB 16GB PC4-17000P DDR4-2133 2RX4 ECC
$14.95
Samsung 16GB 2Rx4 PC3-12800R M393B2G70BH0-CK0 DDR3 RDIMM - SERVER RAM
$8.90
Genuine Samsung Book Cover Keyboard for 14.6" Galaxy Tab S8 Ultra | S8 Ultra 5G
$89.99
Samsung Galaxy Chromebook Go, 14-inch, 32GB, Unlocked All Carriers - Silver
$99.95
512GB SAMSUNG EVO Plus Micro SD MicroSDXC Flash Memory Card w/ SD Adapter
$21.99
Tempered Glass Screen Protector For Samsung Galaxy Tab S9/S9 FE/S9 Plus/S9 Ultra
$10.95