Xserver doesn't allow log in

I wanted to modify my Xstarup file so I can have Croatian letters but unfortunately I am unable to log in .

What I have done is [as root]

cp /dev/null /etc/dt/config/Xstartup
cat >> /etc/dt/config/Xstartup <<%EOF%
keycode  34 = bracketleft braceleft scaron Scaron
keycode  35 = bracketright braceright dstroke Dstroke
keycode  47 = semicolon colon ccaron Ccaron
keycode  48 = apostrophe quotedbl cacute Cacute
keycode  51 = backslash bar zcaron Zcaron
%EOF%

But as I said no error no nothing, when I log out so system can apply
new settings I have normal prompt for logging, I enter normally username and password
and then screen become black and returns me back on login screen.
When I remove this entries I can log in :confused:

What Solaris release are you using ?
What makes you feel clearing your Xstartup file and then putting some xmodmap instructions in it has any chance to work ?

Solaris 10 (last edition of Solaris), I had your script (if you remember you helped me to resolve keyboard but unfortunately I can`t work with Sun Studio, vi editor , works only fine in mozilla :() .

How do you mean clear , Xstartup is original , only modifications are this entry .

cp /dev/null /etc/dt/config/Xstartup

is a inefficient but still way to clear a file. In any case, Xstartup isn't a xmodmap configuration file but a shell script.

Tried , no luck I am still unable to log in

I have no clue about what you tried.

Tried to clear Xstartup file as you post to try :wink:

I actually meant clearing that file was a bad idea in the first place.

Oh that :smiley: sorry