It is currently Mon May 01, 2017 4:24 am



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 215 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15
Author Message
 Post subject: Re: AntiX 15 b3-V
PostPosted: Sat Jun 20, 2015 10:38 pm 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1114
Quote:
We first look for the "default_user" in slim.conf. Then we look for the "autologin-user" in lightdm. conf. Then we look for the user with UID 1000, and if all else fails, we use the user named "demo". If all of this fails then we issue a warning "No default user <name> found on the system". This should also show up on the screen and in the live-init.log file.
Yes, a pair of logged lines "no default user demo found" is logged during each boot.
Just know that I haven't touched/managed any user accounts during testing. Autologin was the default; I haven't changed that (nor any session config stuff).

live-init.log snippet:
Quote:
Fri Jun 19 11:41:38 EDT 2015 /live/etc/init.d/live-init
live-init : Localizing/configuring X-Windows
Automount disabled
Enabling fstab hotplugging
Localizing source repos using Antarctica/South_Pole
Assuming hwclock is set to local time
Scanning for hardware specific video modules ...
Found video module(s) nvidia
No default user demo found on the system.
No default user demo found on the system.


Top
 Profile  
 
 Post subject: Re: AntiX 15 b3-V
PostPosted: Mon Jun 22, 2015 7:55 am 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1114
there's no RC1 "development" discussion topic yet, and it seemed wrong to reply to announcements topic with this

tiny request:
mv /var/log/live/initrd.log /var/log/live/initrd.log.prior
during init, preserve the logfile from the previous run. Glancing at it is a handy way to double-check which boot codes were used (vs relying on memory or scribbled notes)


Top
 Profile  
 
 Post subject: Re: AntiX 15 b3-V
PostPosted: Mon Jun 22, 2015 9:34 am 
Offline
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 1125
skidoo wrote:
Yes, a pair of logged lines "no default user demo found" is logged during each boot.
Just know that I haven't touched/managed any user accounts during testing. Autologin was the default; I haven't changed that (nor any session config stuff).

That's strange.

It's also strange that the error message gets printed twice. What's the output of this command?
Quote:
sed -r -n 's/^\s*default_user\s+//p' /etc/slim.conf | cat -A

Ah, I bet the default_user line appears twice in your slim.conf. I can fix this by only looking at the last occurrence of that line.

Thanks!

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
 Post subject: Re: AntiX 15 b3-V
PostPosted: Mon Jun 22, 2015 5:46 pm 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1114
Quote:
What's the output of this command?
Quote:
sed -r -n 's/^\s*default_user\s+//p' /etc/slim.conf | cat -A
the output is
Code:
demo$
demo$


tailend of the slim.conf
Quote:
# shutdown / reboot messages
shutdown_msg The system is shutting down...
reboot_msg The system is rebooting...

default_user demo
# Set to "yes" to enable this feature
#focus_password no

# current theme, use comma separated list to specify a set to
# randomly choose from
current_theme antiX

# Lock file
#lockfile /var/run/slim.lock

# Log file
#logfile /var/log/slim.log

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login yes

# default user, leave blank or remove this line
# to avoid pre-loading the username.
default_user demo
auto_login yes
lockfile /var/run/slim.lock
logfile /var/log/slim.log


Top
 Profile  
 
 Post subject: Re: AntiX 15 b3-V
PostPosted: Mon Jun 22, 2015 8:25 pm 
Offline
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 1125
Thanks skidoo. I've got it fixed. Good catch.

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 215 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred