Hello,
How do I add users in the tdm login interface ? For now, only the main user shows up, ignoring the other ones who have to write their identity manually before adding their password.
Cannot find that on internet, neither in the tde portal.
BRgds
JB
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 2019/08/25 04:56 PM, mb850063@proximus.be wrote:
Hello,
How do I add users in the tdm login interface ? For now, only the main user shows up, ignoring the other ones who have to write their identity manually before adding their password.
Cannot find that on internet, neither in the tde portal.
BRgds
JB
TCC -> System Administration -> Login manager -> Users tab. You will need root priviledges to change the settings there. Cheers Michele
Dne po 26. srpna 2019 Michele Calgaro via trinity-users napsal(a):
On 2019/08/25 04:56 PM, mb850063@proximus.be wrote:
Hello,
How do I add users in the tdm login interface ? For now, only the main user shows up, ignoring the other ones who have to write their identity manually before adding their password.
Cannot find that on internet, neither in the tde portal.
BRgds
JB
TCC -> System Administration -> Login manager -> Users tab. You will need root priviledges to change the settings there. Cheers Michele
Or you can use a text editor to make edits in /etc/trinity/tdm/tdmrc, which contains a lot of comments (unless it is overwritten by saving from the GUI configuration).
Cheers
Tks Yr prompt answer.
But, ...
I don't have a /etc/trinity/tdm/tdmrc file (debian stretch).
Found TCC and the module You mention, but the users i want to add are not mentionned there, just root and the main user (+hidden users like @cdrom, etc,...)
Bye 4now
On Monday 26 August 2019 16:05:55 Slávek Banko wrote:
Dne po 26. srpna 2019 Michele Calgaro via trinity-users napsal(a):
On 2019/08/25 04:56 PM, mb850063@proximus.be wrote:
Hello,
How do I add users in the tdm login interface ? For now, only the main user shows up, ignoring the other ones who have to write their identity manually before adding their password.
Cannot find that on internet, neither in the tde portal.
BRgds
JB
TCC -> System Administration -> Login manager -> Users tab. You will need root priviledges to change the settings there. Cheers Michele
Or you can use a text editor to make edits in /etc/trinity/tdm/tdmrc, which contains a lot of comments (unless it is overwritten by saving from the GUI configuration).
Cheers
mb850063@proximus.be wrote:
I don't have a /etc/trinity/tdm/tdmrc file (debian stretch).
This is really strange
Stretch here and $ dpkg -S /etc/trinity/tdm/tdmrc tdm-trinity: /etc/trinity/tdm/tdmrc
and the usable content
$ grep -v '^#' /etc/trinity/tdm/tdmrc
[General] ConfigVersion=2.3 StaticServers=:0 ReserveServers=:1,:2,:3 ServerVTs=-7 ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6 PidFile=/var/run/tdm.pid
[Xdmcp] Enable=false Willing=/etc/trinity/tdm/Xwilling
[Shutdown]
[X-*-Core] Setup=/etc/trinity/tdm/Xsetup Startup=/etc/trinity/tdm/Xstartup Reset=/etc/trinity/tdm/Xreset Session=/etc/trinity/tdm/Xsession AllowRootLogin=false AllowNullPasswd=false AllowShutdown=Root SessionsDirs=/usr/share/xsessions,/var/lib/menu-xdg/xsessions,/opt/trinity/share/apps/tdm/sessions ClientLogFile=.xsession-errors-%s
[X-*-Greeter] LogoArea=None LogoPixmap=/opt/trinity/share/apps/tdm/pics/tdelogo.png AntiAliasing=true MinShowUID=1000 MaxShowUID=29999 Preloader=/opt/trinity/bin/preloadkde Theme=@@@ToBeReplacedByDesktopBase@@@
[X-:*-Core] ServerCmd=/usr/bin/X -br ServerArgsLocal=-deferglyphs 16 -nolisten tcp AllowNullPasswd=true AllowShutdown=All
[X-:*-Greeter] PreselectUser=Previous FocusPasswd=true LoginMode=DefaultLocal AllowClose=true
[X-:0-Core] ClientLogFile=.xsession-errors
[X-:0-Greeter]
look in
[X-*-Greeter] ... MinShowUID=1000 MaxShowUID=29999
You are right. The problem was i used vim (like in opensuse) instead a vi as command.
Hereafter the file :
QUOTE
UserList=true
[X-:*-Core] AllowNullPasswd=true AllowShutdown=All NoPassEnable=false NoPassUsers= ServerArgsLocal=-deferglyphs 16 -nolisten tcp ServerCmd=/usr/bin/X -br TerminateServer=false
[X-:*-Greeter] AllowClose=true DefaultUser=xxxx FocusPasswd=true LoginMode=DefaultLocal PreselectUser=Previous UseSAK=false
[X-:0-Core] AutoLoginAgain=false AutoLoginDelay=0 AutoLoginEnable=false AutoLoginLocked=false AutoLoginUser=hussaile ClientLogFile=.xsession-errors
[Xdmcp] Enable=false Willing=/etc/trinity/tdm/Xwilling
UNQUOTE
how do I add users, for example yyyy and zzzz ?
On Monday 26 August 2019 19:52:43 deloptes wrote:
mb850063@proximus.be wrote:
I don't have a /etc/trinity/tdm/tdmrc file (debian stretch).
This is really strange
Stretch here and $ dpkg -S /etc/trinity/tdm/tdmrc tdm-trinity: /etc/trinity/tdm/tdmrc
and the usable content
$ grep -v '^#' /etc/trinity/tdm/tdmrc
[General] ConfigVersion=2.3 StaticServers=:0 ReserveServers=:1,:2,:3 ServerVTs=-7 ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6 PidFile=/var/run/tdm.pid
[Xdmcp] Enable=false Willing=/etc/trinity/tdm/Xwilling
[Shutdown]
[X-*-Core] Setup=/etc/trinity/tdm/Xsetup Startup=/etc/trinity/tdm/Xstartup Reset=/etc/trinity/tdm/Xreset Session=/etc/trinity/tdm/Xsession AllowRootLogin=false AllowNullPasswd=false AllowShutdown=Root SessionsDirs=/usr/share/xsessions,/var/lib/menu-xdg/xsessions,/opt/trinity/ share/apps/tdm/sessions ClientLogFile=.xsession-errors-%s
[X-*-Greeter] LogoArea=None LogoPixmap=/opt/trinity/share/apps/tdm/pics/tdelogo.png AntiAliasing=true MinShowUID=1000 MaxShowUID=29999 Preloader=/opt/trinity/bin/preloadkde Theme=@@@ToBeReplacedByDesktopBase@@@
[X-:*-Core] ServerCmd=/usr/bin/X -br ServerArgsLocal=-deferglyphs 16 -nolisten tcp AllowNullPasswd=true AllowShutdown=All
[X-:*-Greeter] PreselectUser=Previous FocusPasswd=true LoginMode=DefaultLocal AllowClose=true
[X-:0-Core] ClientLogFile=.xsession-errors
[X-:0-Greeter]
look in
[X-*-Greeter] ... MinShowUID=1000 MaxShowUID=29999
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
mb850063@proximus.be wrote:
how do I add users, for example yyyy and zzzz ?
why don't you use the gui as mentioned by Michele and Slavek?
also if the user is in the range it should show up automatically, if it is out of the range - why would you want to show this user?
here
#UserCompletion=true # Enable user list (names along with images) in the greeter. # Default is true #UserList=false # User selection for UserCompletion and UserList: # "NotHidden" - all users except those listed in HiddenUsers # "Selected" - only the users listed in SelectedUsers # Default is NotHidden #ShowUsers=Selected # For ShowUsers=Selected. @<group> means all users in that group. # Default is "" #SelectedUsers=root,johndoe # For ShowUsers=NotHidden. @<group> means all users in that group. # Default is "" #HiddenUsers=root # Special case of HiddenUsers: users with a non-zero UID less than this number # will not be shown as well. # Default is 0 MinShowUID=1000 # Complement to MinShowUID: users with a UID greater than this number will # not be shown as well. # Default is 65535 MaxShowUID=29999 # If false, the users are listed in the order they appear in /etc/passwd. # If true, they are sorted alphabetically. # Default is true #SortUsers=false # Specify, where the users' pictures should be taken from. # "AdminOnly" - from <FaceDir>/$USER.face[.icon] # "PreferAdmin" - prefer <FaceDir>, fallback on $HOME # "PreferUser" - ... and the other way round # "UserOnly" - from the user's $HOME/.face[.icon] # Default is AdminOnly #FaceSource=PreferUser # The directory containing the user images if FaceSource is not UserOnly. # Default is "/opt/trinity/share/apps/tdm/faces" #FaceDir=/usr/share/faces # Specify, if/which user should be preselected for log in. # "None" - do not preselect any user # "Previous" - the user which successfully logged in last time # "Default" - the user specified in the DefaultUser option # Default is None #PreselectUser=Previous
On 08/26/2019 08:39 AM, Michele Calgaro via trinity-users wrote:
On 2019/08/25 04:56 PM, mb850063@proximus.be wrote:
Hello,
How do I add users in the tdm login interface ? For now, only the main user shows up, ignoring the other ones who have to write their identity manually before adding their password.
Cannot find that on internet, neither in the tde portal.
BRgds
JB
TCC -> System Administration -> Login manager -> Users tab. You will need root priviledges to change the settings there. Cheers Michele
If you are still having trouble, here are the settings to check in kdmrc/tdmrc. In the [X-*-Greeter] section, make sure the following are set as needed:
[X-*-Greeter] HiddenUsers=root,spamd ShowUsers=NotHidden SortUsers=true UserList=true
The you can set a default user (if you want your always selected first, or the previous user, in that order) in the [X-:*-Greeter] section, e.g.
[X-:*-Greeter] DefaultUser=david FocusPasswd=true LoginMode=DefaultLocal PreselectUser=Previous
_Note:_ if you use the tdm kcontrol interface to change the settings, all comments (and they are very very good) will be stripped from the config file, so you may want to make a copy before using the control panel interface to make changes.
Finally solutionned it via the GUI.
Had to understand the role of the UID's in the configuration.
Once correctly set (max "number 1", min "number 2"), it worked. (relationning them when the numbers shown in the GUI "KUsers").
Here is now my tdmrc :
QUOTE
[General] ConfigVersion=2.3 ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6 PidFile=/var/run/tdm.pid ReserveServers=:1,:2,:3 ServerVTs=-7 StaticServers=:0
[Shutdown] BootManager=None HaltCmd=/sbin/poweroff RebootCmd=/sbin/reboot
[X-*-Core] AllowNullPasswd=false AllowRootLogin=false AllowShutdown=Root AutoReLogin=false ClientLogFile=.xsession-errors-%s Reset=/etc/trinity/tdm/Xreset Session=/etc/trinity/tdm/Xsession SessionsDirs=/usr/share/xsessions,/var/lib/menu-xdg/xsessions,/opt/trinity/share/apps/tdm/sessions Setup=/etc/trinity/tdm/Xsetup Startup=/etc/trinity/tdm/Xstartup
[X-*-Greeter] AntiAliasing=true ColorScheme= Compositor= EchoMode=OneStar FaceSource=PreferUser FailFont=Sans Serif,10,-1,5,75,0,0,0,0,0 GUIStyle= GreetFont=Sans Serif,22,-1,5,50,0,0,0,0,0 GreetString=Welcome to %n GreeterPos=50,50 HiddenUsers=systemd-coredump,root,@video,@users,@scanner,@root,@pulse-access,@plugdev,@pulse,@netdev,@lpadmin,@floppy,@disk,@dip,@cdrom,@bluetooth,@audio Language=fr LogoArea=None LogoPixmap=/opt/trinity/share/apps/tdm/pics/tdelogo.png MaxShowUID=1000 MinShowUID=500 Preloader=/opt/trinity/bin/preloadkde SelectedUsers=user1,user2,user3 ShowUsers=Selected SortUsers=true StdFont=Sans Serif,10,-1,5,50,0,0,0,0,0 Theme=@@@ToBeReplacedByDesktopBase@@@ UseBackground=true UserCompletion=false UserList=true
[X-:*-Core] AllowNullPasswd=true AllowShutdown=All NoPassEnable=false NoPassUsers= ServerArgsLocal=-deferglyphs 16 -nolisten tcp ServerCmd=/usr/bin/X -br TerminateServer=false
[X-:*-Greeter] AllowClose=true DefaultUser=user1 FocusPasswd=true LoginMode=DefaultLocal PreselectUser=None UseSAK=false
[X-:0-Core] AutoLoginAgain=false AutoLoginDelay=0 AutoLoginEnable=false AutoLoginLocked=false AutoLoginUser=user1 ClientLogFile=.xsession-errors
[Xdmcp] Enable=false Willing=/etc/trinity/tdm/Xwilling
UNQUOTE
BRgds
JB
On Monday 26 August 2019 23:34:17 David C. Rankin wrote:
On 08/26/2019 08:39 AM, Michele Calgaro via trinity-users wrote:
On 2019/08/25 04:56 PM, mb850063@proximus.be wrote:
Hello,
How do I add users in the tdm login interface ? For now, only the main user shows up, ignoring the other ones who have to write their identity manually before adding their password.
Cannot find that on internet, neither in the tde portal.
BRgds
JB
TCC -> System Administration -> Login manager -> Users tab. You will need root priviledges to change the settings there. Cheers Michele
If you are still having trouble, here are the settings to check in kdmrc/tdmrc. In the [X-*-Greeter] section, make sure the following are set as needed:
[X-*-Greeter] HiddenUsers=root,spamd ShowUsers=NotHidden SortUsers=true UserList=true
The you can set a default user (if you want your always selected first, or the previous user, in that order) in the [X-:*-Greeter] section, e.g.
[X-:*-Greeter] DefaultUser=david FocusPasswd=true LoginMode=DefaultLocal PreselectUser=Previous
_Note:_ if you use the tdm kcontrol interface to change the settings, all comments (and they are very very good) will be stripped from the config file, so you may want to make a copy before using the control panel interface to make changes.