LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


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

Rep: Reputation: 112Reputation: 112
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.

Regards,

Ken

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, 08:43 AM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
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, 09:10 AM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,637

Original Poster
Rep: Reputation: 112Reputation: 112
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.

Ken
 
  


Reply


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 09:32 AM
no signal when starting xorg for the 1st time (but the second time works fine) bungalowbill Linux - Software 0 06-04-2004 10:56 AM
FYI Windoz & Doz network users: new patch time! witeshark General 0 02-10-2004 09:18 PM
automatic shutdown of Mandrake 9.2 (sometimes works sometimes not) lu543285 Linux - Hardware 1 02-06-2004 01:18 PM
FYI: Vulnerable login on Suse/Slackware (20/12/01) unSpawn Linux - Security 0 12-22-2001 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:15 AM.

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