You are not logged in.
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
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
I using about for moth archlinux with root, and not add to root password, and all fine work.
Goodbye!
Offline
maybe you can do this with editing the theme options.
In a world without walls,who need windows?
Offline
.
Last edited by benplaut (2021-06-25 12:28:09)
Offline
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
Running as root for four years with no problem......
What's your IP please?
Offline
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
.
Last edited by benplaut (2021-06-25 12:26:59)
Offline
"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