Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 03-04-2008, 01:15 PM   #1
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,792

Rep: Reputation: 125Reputation: 125
Exclamation FYI: Automatic login works only one time after bootup

Lesson Learned:

I setup automatic login and shared desktop on my server and a batch job PC (Ubuntu 7.10). Both are headless (no monitor) and I administer them with Terminal Server Client (VNC) from either a Ubuntu or Windows XP desktop. Works great.

I had been playing with changing the resolution on the headless computers by specifying an LCD display of the desired resolution. I had some experience to lead me to believe that I could logout and the automatic login would log me back in.

THIS DOES NOT WORK! I tried it on my Ubuntu 7.10 desktop and I was prompted for a user name and ID after logging out after the initial automatic login.

CAUTION: If your are using automatic login and shared desktop to administer headless servers, do NOT logout of the headless computer. Simply close the Terminal Server Client window or shutdown or reboot the headless computer as the situation dictates.



p.s. If someone will show me how to adjust my configuration to resolve this I will stand corrected. For the time being, I will follow my caution :-)

I need to dig out my VNC documentation. I used to know how to remotely restart a VNC server on a Red Hat or Fedora box. Might be something like that applicable here although when using manually configured VNC I never logged in at the main console as I do in Ubuntu.
Old 03-05-2008, 07:43 AM   #2
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 347Reputation: 347Reputation: 347Reputation: 347
I believe that the behavior you describe is a "display manager" thing, not Ubuntu specific. I know of no work around, but you might investigate not using a display manager on your headless system.
Old 03-05-2008, 08:10 AM   #3
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,792

Original Poster
Rep: Reputation: 125Reputation: 125
Thanks PTrenholme,

You are probably quite correct that this is not strictly a Ubuntu issue. I guess I posted it here because Ubuntu makes it really easy to setup remote desktop - at least for the primary user - and perhaps easy to get into trouble. It was a simple matter for me to ssh into the server from a shell and reboot it - this not being a production server.

I think I will set another user to automatically login and see what happens. The primary user desktop is accessed as servername:0. I suspect that the next user would be at servername:1. It will be worth a little experimentation just out of curiosity.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gnome fails to load on login after bootup - unless bootup first in win xp doubletruncation Fedora 6 12-07-2005 08:32 AM
no signal when starting xorg for the 1st time (but the second time works fine) bungalowbill Linux - Software 0 06-04-2004 09:56 AM
FYI Windoz & Doz network users: new patch time! witeshark General 0 02-10-2004 08:18 PM
automatic shutdown of Mandrake 9.2 (sometimes works sometimes not) lu543285 Linux - Hardware 1 02-06-2004 12:18 PM
FYI: Vulnerable login on Suse/Slackware (20/12/01) unSpawn Linux - Security 0 12-22-2001 05:21 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration