LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-12-2011, 09:37 PM   #1
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Rep: Reputation: 30
ltsp client boot problem


I was able to set up ltsp in ubuntu 10.10

But as it take long time to authenticate from client [ it suddenly restarts the client], I have changed the grace time 120 t0 180 in the sshd_config file. I am not sure whether I have done any other changes. After that the client is not able to get ubuntu, i.e I think the client fails to locate the dhcp server. It tries to get the dhcp server and then exits pxe rom.

How to solve this? A complete reinstallation of ltsp?

Then how to get the original configuration files?
 
Old 08-13-2011, 08:18 PM   #2
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
The problem solved. It was my network configuration error. The gateway address was
192.168.1.1 instead of 192.168.0.1

But I am still not able to authenticate ltsp client, as the authentication process goes on, it suddenly restarts (the client). Thinking of grace time is short, I changed the value of grace period from 120 to 180 still the result. It is also noted that it doesn't wait as much time as 200 s. It waits for few seconds and restarts the login box
 
Old 08-13-2011, 11:02 PM   #3
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
I found the problem in other forums - but no satisfactory solution
1)

LTSP login problem after openssh upgrade
I have an LTSP installation which was working well under hardy 8.04. Yesterday I use adept-updater to load all available upgrades which included updates to openssh. Since
performing the upgrade I've not been able to login on the
thin clients. I've run ltsp-update-sshkeys and used a third
machine to insure that users could perform an ssh login to
the server. After entering the user's id and password on
the client I get "Verifying password, please wait". After a
few minutes the prompt for a user login id reappears. I've
tried generating new keys with ssh-keygen but that didn't
help. I can find no error messages in /var/log files. I
tried to a "failsafe xterm session" on the client but that
hasn't worked wither. Anyone have any ideas?

2)

LTSP login problem after openssh upgrade
I think an ltsp-update-sshkeys followed by ltsp-update-image are all that is necessary. The terminals use the key that has been changed for ssh.

Note that the second command is needed to integrate the new keys into the image transferred to the terminal at boot time.

But the updating of image many times did not solve may problem [ all suggests]
 
Old 08-13-2011, 11:26 PM   #4
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
Once I was able to enter into the system

but next time - still the problem - I think it is with ssh

My auth.log file

ug 14 09:49:32 server polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session33 (system bus name :1.209, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.utf8)
Aug 14 09:49:33 server sshd[6778]: Received disconnect from 192.168.0.20: 11: disconnected by user
Aug 14 09:49:33 server sshd[6711]: pam_unix(sshd:session): session closed for user aji
Aug 14 09:50:07 server sshd[7109]: Accepted password for aji from 192.168.0.20 port 43408 ssh2
Aug 14 09:50:07 server sshd[7109]: pam_unix(sshd:session): session opened for user aji by (uid=0)
Aug 14 09:50:10 server sshd[7175]: subsystem request for sftp
Aug 14 09:50:13 server polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session35 (system bus name :1.230 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.utf8)
Aug 14 09:50:15 server polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session35 (system bus name :1.230, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus)
Aug 14 09:50:15 server sshd[7175]: Received disconnect from 192.168.0.20: 11: disconnected by user
Aug 14 09:50:15 server sshd[7109]: pam_unix(sshd:session): session closed for user aji
Aug 14 09:50:15 server gnome-keyring-daemon[7256]: dbus failure unregistering from session: Connection is closed
Aug 14 09:50:15 server gnome-keyring-daemon[7256]: dbus failure unregistering from session: Connection is closed
Aug 14 09:50:31 server sshd[7394]: Accepted password for sunil from 192.168.0.20 port 43411 ssh2
Aug 14 09:50:31 server sshd[7394]: pam_unix(sshd:session): session opened for user sunil by (uid=0)
Aug 14 09:50:33 server sshd[7460]: subsystem request for sftp
Aug 14 09:50:36 server polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session37 (system bus name :1.241 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Aug 14 09:50:39 server sshd[7460]: Received disconnect from 192.168.0.20: 11: disconnected by user
Aug 14 09:50:39 server sshd[7394]: pam_unix(sshd:session): session closed for user sunil
Aug 14 09:50:39 server polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session37 (system bus name :1.241, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Aug 14 09:50:39 server gnome-keyring-daemon[7547]: dbus failure unregistering from session: Connection is closed
Aug 14 09:50:39 server gnome-keyring-daemon[7547]: dbus failure unregistering from session: Connection is closed
Aug 14 09:50:56 server sshd[7689]: Accepted password for user1 from 192.168.0.20 port 43414 ssh2
Aug 14 09:50:56 server sshd[7689]: pam_unix(sshd:session): session opened for user user1 by (uid=0)
Aug 14 09:50:59 server sshd[7755]: subsystem request for sftp
 
Old 08-14-2011, 12:03 AM   #5
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Original Poster
Rep: Reputation: 30
I find a similar one will it solve for ubuntu 10.10?

Hello!
I need help
I can't login randomly...
Sometimes If I try to log on I hear the Ubuntu-Sounds but the screen is black and I will be fall back into the logon screen...
I don't know the reason but I think It's maybe a problem with my 64-bit-server und the 32-bit-clients...
I found this solution:

sudo gconftool-2 --direct --config-source xml:readwrite:-/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/session/required_components/windowmanager metacity

But doesn't work because I can't find the files (no such file found).

My Ubuntu version: Lucid Lynx 10.04 Server

The command there is wrong, the correct one is:
sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/session/required_components/windowmanager metacity

Does that work for you?
 
  


Reply



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
Problem with Language on LTSP client on Ubuntu 9.04 avinash.rao Ubuntu 1 08-03-2009 11:48 AM
Problem installing a USB printer on a LTSP client avinash.rao Ubuntu 9 07-20-2009 09:40 AM
LTSP 5 mount usb on client as localdev problem. lievendp Linux - Server 1 12-08-2008 03:42 AM
LTSP Boot problem tiburshok Linux - Newbie 0 07-21-2008 05:42 AM
tftp issue, unable to transfer kernel image using tftp to boot ltsp-client noobs4linux Linux - Networking 1 02-07-2007 01:53 AM

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

All times are GMT -5. The time now is 06:06 PM.

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
Open Source Consulting | Domain Registration