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.
Handheld Cordless Car Vacuum: 14000PA High Power, Lightweight, Black
$36.79
2-In-1 Air Duster & Vacuum 60000 RPM Rechargeable Auto Computer Keyboard USB
$26.95
KLIM Cool Laptop Cooler Fan, Portable Quiet Cooling Vacuum w/Display - BLUE LED
$15.95
INFICON IKR251 IGG25500 Cold Cathode Vacuum Gauge
$210.00
Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home
$9.97
Electric Vacuum Cleaner Air Duster Suction High Pressure for Computer Car Home
$10.87
Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Laptop Dust
$30.95
Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit US
$13.68
Handheld Cordless Vacuum Cleaner, 2-in-1 USB 42000 RPM Portable Compressed Air
$69.99
Goweto 3-in-1 Keyboard Vacuum Cleaner - Compressed Air Duster- Mini Vacuum
$69.09