Originally Posted by bharatlalgupta
i understand this is bad so but
Ok, if you say so.
As stated by others, log in as a normal user then su to root.
If you really insist on logging into X as root...
You didn't say, but I guess you are using gdm. In the gdm conf file
which could be something like /etc/gdm/gdm.conf you need to replace
Enjoy putting your system at risk.