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.
Juniper Networks EX3300-48P 48-Port PoE+ 4x SFP+ Network Switch w/ Power Cord
$43.95
JUNIPER EX4550-32F-AFO 32-PORT ETHERNET SWITCH 2x POWER SUPPLY - TESTED
$299.99
JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER
$210.00
Juniper Networks EX2200-C-12P-2G 12 Port Gigabit PoE 2 T/SFP 1G Network Switch
$129.00
Juniper EX3300-48P, 48 Port PoE+ Gigabit Network Switch w/ Power cord
$54.99
EX2300-24P Juniper 24-port 10/100/1000BASE-T PoE+ 4 x 1/10GbE SFP/SFP+ UNCLAIMED
$450.00
Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch
$41.43
Juniper EX3400-48P 48-Ports PoE+ 4x SFP+ and 2x QSFP+ Managed Switch Tested
$205.00
Juniper QFX5100-48T-AFI 48 100M/1G/10G Base-T 6 QSFP AFI
$485.00
Juniper Networks EX3300-24P 24-Port PoE+ 4x SFP+ Network Switch TESTED
$79.99