when i run xscreensaver in a terminal it gives following error
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
xscreensaver: Can't open display: :0.0
xscreensaver: initial effective uid/gid was root/root (0/0)
xscreensaver: running as nobody/nobody (99/99)
xscreensaver: This is probably because you're logging in as root. You
shouldn't log in as root: you should log in as a normal user,
and then `su' as needed. If you insist on logging in as
root, you will have to turn off X's security features before
xscreensaver will work.
Please read the manual and FAQ for more information:
when i run as normal user it gives following message
xscreensaver: 00:03:10: already running on display :0.0 (window 0xa00001)
from process 2283 (email@example.com).