On Wed, 2004-05-05 at 11:53, Patrick Shanahan wrote:
- Martin Mielke <martin.mielke@thales-is.com> [05-05-04 10:33]:
Before issuing a 'su', try:
xhost +localhost
As as been discussed many time recently on this list, the above option is to be considered very unsafe and insecure. see archives....
A better method is to use sux to run the command, or you can setup an icon on your desktop and use the parameter to "run as" root which will prompt you for root's password. If you need to run "X" programs from a different machine on your desktop (remote administration) you will need to use xhost +<machine name or IP> before running the command and then xhost - right after. If there is a better way to do remote "X" admin work I would like to know. Be careful as it will allow others to "display" x programs on your display as well if you are not careful. It all depends on how secure your environment is. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2)