PAE64_20_04_LTS_EN_40 Guest Session

×

Mensaje de estado

You are not a member of this team. If you want to be part of this team, click on 'Subscribe to this team'.

Have anyone experienced "Could not update ICEauthority file /run/user/998/ICEauthority" error message while trying to log into "Guest Session" on 20.04? Thanks!

Comentarios

Imagen de Rhein-Ruhr-Hub
Enviado por Rhein-Ruhr-Hub el Jue, 06/25/2020 - 19:05

Hi Wendy,
this is a known bug and is explained in our wikis that you should ignore this message, press Enter and wait a while. Then you will be lead to the the guest session.

The problem is caused, as we (the Labdoo image creator team) activated the combination of guest session and the lightdm log-in. If you search for the error message you will find many pages discussing the problem.

And nearly all Linux distros recommend to drop guest mode for 20.04 LTS, due to security.

May-be in 2022 there will be no guest session anymore in Labdoo images.

So, if you want to use guest session you have either to live with that bug (I am afraid). Or if there is an experienced Linux guru around any support is welcome to fix the bug. If you have a workaround please let me know and I will add it to all images, but so-far I had not the time and skill to fix it.

Thank you,

Ralf

Imagen de wendy
Enviado por wendy el Lun, 06/29/2020 - 22:56

Thank you Ralf, for the explanations.

For one of our new projects, the laptops are sending for public use so we need to have a guest account to clean up guest account every time when the guest leaves. We don't need to worry too much about hackers to hack into computer with the guest account. Therefore, my temporary solution is to manually create a "guest" account, disable the "Guest Session", and add session-cleanup-script line to "lightdm.conf" to clean up guest's home upon logging out.

It seems to work so far. Please let me know if you have a better suggestion.

Thanks,

Wendy

Imagen de Rhein-Ruhr-Hub
Enviado por Rhein-Ruhr-Hub el Mar, 06/30/2020 - 06:00

Hi Wendy,

good that you found a solution for your needs. We discussed a similar approach some weeks ago in the image team, when we started working on 20.04 LTS. But we did not made it part of images, as we wanted to stay as close as possible with the Linux standard. As the standard is more and more stopping to allow guest user we decided to live with the error message for 20.04 LTS, as the rest is working fine. And as the trend is against guest user option I am afraid that in 22.04 LTS there will be no guest user anymore.

But as creating a script based solution for a guest option does it for you, it is great. If you want, you can send me or publish somewhere a step by step guidance. Then others can use this approach as well, if they need it. Thank you.

Ralf

Imagen de wendy
Enviado por wendy el Vie, 07/24/2020 - 04:50

Hi Ralf,

This is what I do. Please help to commend on it if you see a better way to do this. Thanks!

---
1. Select "Administration->Users and Groups ->Add" , to create a new "guest" user:
Name: guest
Username: guest
2. Select  the "guest" user and go to the "Advance Setting"
1. Under "Advanced" tab, deselect "Disable account" box
2. Click on "Change" Password, and select "Don't ask for password on login" box
3. Edit "/etc/lightdm/lightdm.conf " file

allow-guest=false
session-cleanup-script=/home/labdoo/Public/guest_logout.sh

4. Create a /home/labdoo/Public/guest_logout.sh file as followed

#!/bin/bash
if [ $USER = "guest"  ]
then
   rm -r /home/guest/*
   cd /home/guest
   mkdir Desktop Documents  Downloads  Music  Pictures  Public  Templates  Videos
  chown guest *
  chgrp guest *
   rm -rf /home/guest/.mozilla/firefox
fi