VNC .. auto login?

Mr5o1
Posts: 3
Joined: Fri Nov 19, 2010 8:15 pm

VNC .. auto login?

Postby Mr5o1 » Fri Nov 19, 2010 8:30 pm

HI all,

Thanks in advance for your help. I'm certainly no linux guru.. and installed amahi only for the first time yesterday. Running on a 2.2Ghz AMD Athlon 64 3500+. installed from Fedora12 DVD x86_64

My goal is a headless server which I can access via VNC. I've followed the instructions here:
http://wiki.amahi.org/index.php/VNC and now have a working vnc server and client.

Problem is.. I need to login on the "headless" (not headless just yet...) server before VNC will work. Otherwise I get a "host not found" error. I'll admit I dont really understand that, because if I log in with ssh at any time and check "service vncserver status" it always seems to be running. so the vncserver seems to be active in all runlevels.. but I just cannot login whilst the amahi server is sitting at the login screen.

First I tried changing /etc/gdm/custom.conf to include the AutoLogin and TimedLogin lines, but that didnt seem to have any effect at all - autologin did not occur.

After a few hours mucking around.. I realised I could boot to runlevel 3, then login via ssh, and "startx" which would start a "logged in" xsession. But if if I try and connect via vnc at that point, I get a dialogue on the headless server about "gnome remote desktop" asking for "default keyring access". Which thwarted that effort.

Any direction would be much appreciated.. I'm a little lost.

Mr5o1
Posts: 3
Joined: Fri Nov 19, 2010 8:15 pm

Re: VNC .. auto login?

Postby Mr5o1 » Sat Nov 20, 2010 7:07 pm

I guess my situation has been resolved.. but I did not solve the problem.

I essentially realised that I dont need vnc, as "ssh -X hda" will allow me to run GUI apps on the amahi server.

Thanks for reading!

User avatar
rgmhtt
Posts: 421
Joined: Sun Jan 11, 2009 9:26 am

Re: VNC .. auto login?

Postby rgmhtt » Mon Nov 22, 2010 10:10 am

I have just updated the wiki for VNC on how I have been configuring VNC on Centos and Fedora for years.

I welcome you to review my changes and comment.

Mr5o1
Posts: 3
Joined: Fri Nov 19, 2010 8:15 pm

Re: VNC .. auto login?

Postby Mr5o1 » Mon Nov 22, 2010 7:20 pm

Nice... thanks a bunch - I'll give it a shot when I get home tonight.

Who is online

Users browsing this forum: No registered users and 6 guests