salparadise:
This won't help since Baddox is already logged in as root and this fact is causing the problem!
Baddox:
It's a security feature of SuSE >9.1 that root is not allowed to open X-windows from console (no console access to the X-server, could lead to large risk otherwise).
You may also start yast from console in text mode. Use
yast instead of
yast2.
To get around this problem, you could use
kdesu to start kde applications or use a ssh shell instead of normal console. Have a look at this SuSE page for more information:
http://portal.suse.com/sdb/en/2001/06/maddin_xhost.html