You are not logged in.

#1 2007-04-09 05:11:06

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

How make that login manager slim not ask pasword?

How make that login manager slim not ask pasword? Then my /etc/slim.conf content is:

# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path        ./:/bin:/usr/bin:/usr/local/bin:/usr/bin
default_xserver     /usr/bin/X
xserver_arguments   -nolisten tcp vt07

# Commands for halt, login, etc.
halt_cmd            /sbin/shutdown -h now
reboot_cmd          /sbin/shutdown -r now
console_cmd         /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd        /usr/sbin/suspend

xauth_path         /usr/bin/xauth 
authfile           /var/run/slim.auth

numlock on

# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
# hidecursor          false

# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
# login_cmd           exec /bin/sh - ~/.xinitrc %session
login_cmd   exec  /bin/bash -login ~/.xinitrc %session

# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd    some command
# sessionstop_cmd    some command

# Start in daemon mode. Valid values: yes | no
# Note that this can overridden by the command line
# option "-d"
# daemon    yes

# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions            xfce4,icewm,wmaker,blackbox

# Executed when pressing F11 (requires imagemagick)
screenshot_cmd      import -window root /slim.jpng

# welcome message. Available variables: %host, %domain
welcome_msg         Sveiki atvyke i %host

shutdown_msg isjungiama...
reboot_msg pekraunama...
default_user root
current_theme al
lockfile /var/lock/slim.lock
logfile /var/log/slim.log

Goodbye!

Offline

#2 2007-04-09 15:11:34

Manifold
Member
Registered: 2006-08-16
Posts: 64

Re: How make that login manager slim not ask pasword?

I don't know the answer to your question, but I (and most people here) would highly discourage having an automated, no password log in. It's just not safe.

Offline

#3 2007-04-09 15:19:16

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How make that login manager slim not ask pasword?

I using about for moth archlinux with root, and not add to root password, and all fine work.


Goodbye!

Offline

#4 2007-04-10 20:31:05

Titus
Member
From: Izmir
Registered: 2006-05-11
Posts: 120
Website

Re: How make that login manager slim not ask pasword?

maybe you can do this with editing the theme options.


In a world without walls,who need windows?

Offline

#5 2007-04-11 04:01:13

benplaut
Member
Registered: 2006-06-13
Posts: 383

Re: How make that login manager slim not ask pasword?

.

Last edited by benplaut (2021-06-25 12:28:09)

Offline

#6 2007-04-11 06:08:19

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: How make that login manager slim not ask pasword?

Running as root for four years with no problem......


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2007-04-11 06:21:57

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: How make that login manager slim not ask pasword?

lilsirecho wrote:

Running as root for four years with no problem......

What's your IP please?

Offline

#8 2007-04-11 06:51:44

PJ
Member
From: Sweden
Registered: 2005-10-11
Posts: 602

Re: How make that login manager slim not ask pasword?

I am not sure if it is possible to do with slim.

I guess something like this would work:
http://wiki.archlinux.org/index.php/Start_X_at_boot

Another solution would be to use something like this, with a script somewhere that starts X.
http://wiki.archlinux.org/index.php/Aut … on_startup

But I wouldn't recommend using root as user, since it is stupid to mainly run as root in the first place and even worse without a password!

Offline

#9 2007-04-11 07:14:24

benplaut
Member
Registered: 2006-06-13
Posts: 383

Re: How make that login manager slim not ask pasword?

.

Last edited by benplaut (2021-06-25 12:26:59)

Offline

#10 2007-04-11 08:52:14

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How make that login manager slim not ask pasword?

"Instead of startx, you can of course have any program or self-written script you wish to execute." http://wiki.archlinux.org/index.php/Start_X_at_boot
Maybe some can help write that script?


Goodbye!

Offline

Board footer

Powered by FluxBB