vnc windows unexceptly is closed after given root and passwd

hi all
I'm new to solaris
my vncviewer windows is closed suddenly after give root and root passwd in solaris 10 sparc machine ... i checked vnc services are online and everything is ok .. but i dont know how to solve this solution... any one face this solution before and share your knowledge ... i'm waiting your valuable answer...

So from your post it seems like that you get prompted for userid and password, then it disconnects?

do you know what protocol you are connecting with? RFB (VNC's native), telnet, SSH, X11 or what?

Have you installed VNC Server software on the Solaris box?

My first thought is that after supplying credentials to Solaris, the O/S is saying "No, I'm not allowing you to login with those credentials". For example, root is not allowed to login over telnet unless the Solaris configuration is tweaked to allow it.

I would definitely assume (given the info you have posted so far) that Solaris is closing the connection.

Have you tried logging in as a user other than root?