Post by ÐокÑозÑб Ð.Ð.Users in the LTSP-environment are authenticated on the server and their
home directories are mounted from the server. You don't need to create home
directories in the chroot.
ltsp-update-image removes everything from /home directory by default. The
list of files removed from the image is stored in the
"/etc/ltsp/ltsp-update-image.excludes" file on the server.
Thank you. That's long been a source of confusion for me. (What I've done
up till now is created the users with home directories both on the server
and in the chroot.)
Post by ÐокÑозÑб Ð.Ð.Post by Sean CarteThe client gets to the log-in screen, but the GUI can't get past that
Did you create the user on the server? What do syslog and auth.log say?
Yes, the opac30 is a user on the server.
This is syslog up until the log-in screen:
May 16 15:03:06 ltspmls dhcpd[1961]: DHCPDISCOVER from 00:0f:fe:33:8d:b9
via eno2
May 16 15:03:06 ltspmls dhcpd[1961]: DHCPOFFER on 10.0.123.130 to
00:0f:fe:33:8d:b9 via eno2
May 16 15:03:06 ltspmls dhcpd[1961]: DHCPREQUEST for 10.0.123.130
(10.0.123.11) from 00:0f:fe:33:8d:b9 via eno2
May 16 15:03:06 ltspmls dhcpd[1961]: DHCPACK on 10.0.123.130 to
00:0f:fe:33:8d:b9 via eno2
May 16 15:03:06 ltspmls nbd_server[10659]: Spawned a child process
May 16 15:03:06 ltspmls nbd_server[11015]: virtstyle ipliteral
May 16 15:03:06 ltspmls nbd_server[11015]: connect from 10.0.123.130,
assigned file is /opt/ltsp/images/i386.img
May 16 15:03:06 ltspmls nbd_server[11015]: No authorization file, granting
access.
May 16 15:03:06 ltspmls nbd_server[11015]: Starting to serve
May 16 15:03:06 ltspmls nbd_server[11015]: Size of exported file/device is
1545310208
May 16 15:03:08 ltspmls nbd_server[10659]: Spawned a child process
May 16 15:03:08 ltspmls nbd_server[11021]: virtstyle ipliteral
May 16 15:03:08 ltspmls nbd_server[11021]: connect from 10.0.123.130,
assigned file is /tmp/nbd-swap/10.0.123.130
May 16 15:03:08 ltspmls nbd_server[11021]: Client '10.0.123.130' is not
authorized to access
May 16 15:03:08 ltspmls nbd_server[10659]: Child exited with 1
May 16 15:03:17 ltspmls nbd_server[10659]: Spawned a child process
May 16 15:03:17 ltspmls nbd_server[11022]: virtstyle ipliteral
May 16 15:03:17 ltspmls nbd_server[11022]: connect from 10.0.123.130,
assigned file is /opt/ltsp/images/i386.img
May 16 15:03:18 ltspmls nbd_server[11022]: No authorization file, granting
access.
May 16 15:03:18 ltspmls nbd_server[11022]: Starting to serve
May 16 15:03:18 ltspmls nbd_server[11022]: Size of exported file/device is
1545310208
May 16 15:03:18 ltspmls nbd_server[10659]: Child exited with 0
Nothing in auth.log so far.
Here's my log-in attempt at the GUI:
*syslog*
May 16 15:06:23 ltspmls systemd[1]: Created slice User Slice of opac30.
May 16 15:06:23 ltspmls systemd[1]: Starting User Manager for UID 1030...
May 16 15:06:23 ltspmls systemd[1]: Started Session 237 of user opac30.
May 16 15:06:23 ltspmls systemd[11043]: Reached target Sockets.
May 16 15:06:23 ltspmls systemd[11043]: Reached target Timers.
May 16 15:06:23 ltspmls systemd[11043]: Reached target Paths.
May 16 15:06:23 ltspmls systemd[11043]: Reached target Basic System.
May 16 15:06:23 ltspmls systemd[11043]: Reached target Default.
May 16 15:06:23 ltspmls systemd[11043]: Startup finished in 25ms.
May 16 15:06:23 ltspmls systemd[1]: Started User Manager for UID 1030.
May 16 15:06:27 ltspmls systemd[1]: Stopping User Manager for UID 1030...
May 16 15:06:27 ltspmls systemd[11043]: Reached target Shutdown.
May 16 15:06:27 ltspmls systemd[11043]: Starting Exit the Session...
May 16 15:06:27 ltspmls systemd[11043]: Stopped target Default.
May 16 15:06:27 ltspmls systemd[11043]: Stopped target Basic System.
May 16 15:06:27 ltspmls systemd[11043]: Stopped target Paths.
May 16 15:06:27 ltspmls systemd[11043]: Stopped target Timers.
May 16 15:06:27 ltspmls systemd[11043]: Stopped target Sockets.
May 16 15:06:27 ltspmls systemd[11043]: Received SIGRTMIN+24 from PID 11219
(kill).
May 16 15:06:27 ltspmls systemd[1]: Stopped User Manager for UID 1030.
May 16 15:06:27 ltspmls systemd[1]: Removed slice User Slice of opac30.
May 16 15:06:29 ltspmls nbd_server[10659]: Spawned a child process
May 16 15:06:29 ltspmls nbd_server[11229]: virtstyle ipliteral
May 16 15:06:29 ltspmls nbd_server[11229]: connect from 10.0.123.130,
assigned file is /opt/ltsp/images/i386.img
May 16 15:06:29 ltspmls nbd_server[11229]: No authorization file, granting
access.
May 16 15:06:29 ltspmls nbd_server[11229]: Starting to serve
May 16 15:06:29 ltspmls nbd_server[11229]: Size of exported file/device is
1545310208
May 16 15:06:29 ltspmls nbd_server[10659]: Child exited with 0
*auth.log*
May 16 15:06:23 ltspmls sshd[11041]: Accepted password for opac30 from
10.0.123.130 port 42294 ssh2
May 16 15:06:23 ltspmls sshd[11041]: pam_unix(sshd:session): session opened
for user opac30 by (uid=0)
May 16 15:06:23 ltspmls systemd-logind[1819]: New session 237 of user
opac30.
May 16 15:06:23 ltspmls systemd: pam_unix(systemd-user:session): session
opened for user opac30 by (uid=0)
May 16 15:06:27 ltspmls sshd[11203]: Received disconnect from 10.0.123.130
port 42294:11: disconnected by user
May 16 15:06:27 ltspmls sshd[11203]: Disconnected from 10.0.123.130 port
42294
May 16 15:06:27 ltspmls sshd[11041]: pam_unix(sshd:session): session closed
for user opac30
May 16 15:06:27 ltspmls systemd-logind[1819]: Removed session 237.
May 16 15:06:27 ltspmls systemd: pam_unix(systemd-user:session): session
closed for user opac30
My GUI just goes back to the log-in screen.
Sean
--