Problem with Mac Mini TightVNC

hello,
i have a mac mini (intel i5, 8 GB RAM) i asked a friend to let me use his monitor to setup the mac mini so i did and everything is alright, when i came back home i tried to access the mac using TightVNC but i get this error:

Server did not offer supported security type!

Please help me to enable any security option via command line, because i'm able to login via SSH

Please help.
World05Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

World05Author Commented:
I just discovered this link, any way to do the following via Command line please:

http://lifehacker.com/319528/remote-control-leopard-with-tightvnc
0
jrgcomputingCommented:
I use to use vnc but once you close the session I found you had to restart the mac to get another. If possible use Apple Remote Desktop its the best and easiest by far.
0
World05Author Commented:
where to find this for Windows ?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

jrgcomputingCommented:
The problem is Apple dont make a windows version. In which case you will need to use VNC. If your struggling with a monitor why don't you get an HDMI cable for it? If its a new mac mini then you will need the following: -

http://www.amazon.co.uk/Apple-DisplayPort-Adapter-cable-Neet%C2%AE/dp/B002ERBFYM

or old mac mini

http://www.amazon.co.uk/Premium-HDMI-Cable-Gold-Metre/dp/B000GDI6FC/ref=sr_1_1?s=electronics&ie=UTF8&qid=1317761925&sr=1-1
0
World05Author Commented:
I already setup the mac mini and configured the language, keyboard, username & password and everything is good, now when i try to use TightVNC i get the error

Server did not offer supported security type!

I don't have a monitor with HDMI or DVI port

i have the new mac mini 2011.

is there anyway i can use to enable the screen sharing with the help of the Command line?
0
strungCommented:
I think the error message means that you didn't set up the VNC password properly:

http://tech.navarr.me/2009/09/connecting-to-mac-os-x-via-vnc.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
strungCommented:
The links I posted tell you how to do this using the command line.
0
World05Author Commented:
@strung:

i used this link and it worked, i can see the desktop of my mac mini

http://www.librador.com/2009/06/14/How-to-enable-remote-desktop-on-headless-Mac/

BUT when i try to login using my password it doesn't login why?
0
jrgcomputingCommented:
have you tried this

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw mypasswd -restart -agent -privs -all
0
jrgcomputingCommented:
Also I have just found this that might be worth trying

http://www.mymacosx.com/terminal/restart-vnc-service-remotely.html

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent

It restarts the vnc service
0
World05Author Commented:
Guys, i can see my first startup page or how to call it, it shows me my username and ask me for its password, when i enter the password it doesn't accept it and it shows me the hint of the password to remember it, when i login to the mac mini via SSH i use the same password and i can login, What the hell is this?
0
World05Author Commented:
any help please? why i can't login with my password even if i can login via ssh?????????
0
World05Author Commented:
i resolved it, it was a problem with the keyboard, i belive qwerty changed to azerty or the opposite, thank you all
0
World05Author Commented:
thank you so much you saved my life :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apple Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.