Re: guest logins created with script

Giacomo Trovato <giacomo-o6+VoJyZ4uJWk0Htik3J/[email protected]> Mon, 11 Mar 2019 18:37:31 +0100
Newsgroups gmane.linux.terminal-server.general
Message-ID <[email protected]>
Hi Mark, 

try to remove the applications related with bluetooth on "application at
start" (on preferences) on your guest template account.

---

Giacomo Trovato

Il 11/03/2019 18:28 Mark Pengelly ha scritto:

> Thanks both for the very prompt and helpful replies. 
> 
> Now (nearly) all working as expected - good work! 
> 
> Giacomo thanks for your comments re: resetting the guest password 
> Dashamar your explanations re: the passwords; helpful. I'm a bit new to scripting so it might be just me. 
> 
> Issues: 
> First time I login using the guest button all fine. Then I amend the 'guest' desktop on the server (eg wallpaper). (Do an image rebuild). Changes DO update the guest account on a client (yay!) However I've had this message this time (which I didn't get when I first logged in, before I made any changes to guest desktop):  
> "Configured directory for incoming files does not exist 
> Please make sure that directory "/home/guest/Downloads" exists or configure it with blueman-services" 
> 
> Feels like a permissions issue(?). I did change the guest account password to one of my own, has that messed things up maybe? 
> 
> On Mon, 11 Mar 2019 at 11:05, Dashamir Hoxha <[email protected]> wrote: 
> 
> On Mon, Mar 11, 2019 at 10:36 AM Mark Pengelly <markshop-q9sPVrG2Mx0k+I/[email protected]> wrote: 
> 
> I've used the script referred to on Dashamir's ltsp scenarios website as I create a public/guest lab; I assume the latest version of that is here: 
> https://gitlab.com/Virtual-LTSP/VirtualBox/blob/bionic/scripts/create-guest-accounts.sh 
> The script appeared to run fine (xubuntu 18.04 server).  
> 
> Sorry to be dim but some little questions follow: 
> What/where are the passwords for the (template) 'guest' account and the 255 other client accounts? 
> 
> The paswords for the 255 guest accounts are the same as the username (for examle username=ltsp125, password=ltsp125) 
> Since these are guest accounts I thint that this does not matter. Also at the end of the script there is a configuration like this: 
> `@guest        hard    maxlogins       1` 
> which I believe prevents somebody to login at the same account that a guest user is currently logged in. 
> 
> The password for the 'guest' template account is here: 
> https://gitlab.com/Virtual-LTSP/VirtualBox/blob/bionic/scripts/create-guest-accounts.sh#L5 
> It can be passed to the script as an argument and it has a default value of 'pass'. 
> For example this is how it is called from some other script: 
> https://gitlab.com/Virtual-LTSP/VirtualBox/blob/bionic/ltsp-server/install.sh#L186 
> 
> I admit that it is not so obvious that a password should be passed as a parameter to the script. Maybe I should fix it so that the script complains if it does not get some arguments. 
> 
> I think I expected the guest user accounts to be named 'guestXX' but they are named 'ltspXX'. Is that as expected? 
> 
> 'ltsp' is the defult value for the basename: https://gitlab.com/Virtual-LTSP/VirtualBox/blob/bionic/scripts/create-guest-accounts.sh#L6 
> So, it is configurable on the script. But I think that the basename should match the directive HOSTNAME_BASE on `ltsp.conf` (whose default value is 'ltsp'), other it may not work. 
> 
> I beleive there is also a recently added directive on `ltsp.conf` about making a mapping from HOSTNAME_BASE to the guest username, but when I tested it, it didn't work. Maybe I did not test it properly, I am not sure. 
> 
> Dashamir 
> 
> Perhaps there were some variables in the script I should have amended? 
> 
> Thanks for any pointers, Mark _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.freenode.net [1] _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.freenode.net [1]

_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net 

Links:
------
[1] http://irc.freenode.net

_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net