i want to have auto login so i found this
post12322.html
and i did what is written there .. i am a begginer and i like to try so i didnot understand what was in this article i just add the command lines
and when i restart i could not get to the normal desktop
i have a very old computer with 265 mb ram
i tried to add slim by
apt-get install slim but that didnot help
can any one help
topic title: Antix boot goes to command prompt. No desktop
6 posts
• Page 1 of 1
-
Posts: 3
- Joined: 20 Aug 2013
-
Posts: 200
- Joined: 15 Oct 2008
#2
Hi
login as root
then start slim
probably you will get an error
have a look at slim.log, maybe you get this:
Fix:
edit /etc/slim.conf
uncomment default_user and auto_login lines and change user name:
and restart you computer
I suppose you get the login promptand when i restart i could not get to the normal desktop
login as root
then start slim
Code: Select all
# slim
have a look at slim.log, maybe you get this:
Code: Select all
$ more /var/log/slim.log
/usr/bin/xauth: file /var/run/slim.auth does not exist
edit /etc/slim.conf
uncomment default_user and auto_login lines and change user name:
Code: Select all
#auto_login yes
# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user demo
Code: Select all
auto_login yes
# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user your-user-name
-
Posts: 3
- Joined: 20 Aug 2013
#3
thank you for your help ... but that didnot work
when i put more /var/log/slim.log i got
slim : waiting for X srever to begin accepting connection
slim: pam_authentication () : Authentication failure
slim: waiting for X server to shutdown
slim : wating .......
please help me again .. thank you
when i put more /var/log/slim.log i got
slim : waiting for X srever to begin accepting connection
slim: pam_authentication () : Authentication failure
slim: waiting for X server to shutdown
slim : wating .......
please help me again .. thank you
-
Posts: 1,308
- Joined: 31 Aug 2009
#4
Undo whatever you did***. That should let you log in normally. After you do that you just need to enable auto_login in slim. Go to the antiX Control Centre, either by selecting"Control Center" in the taskbar at the bottom of the screen or by navigating the desktop menu:
Applications --> Other --> antiXCC
In the Control Centre, select: System --> Edit Config Files
Select the slim.conf file and uncomment the"auto_login" line. Make sure the default_user is set to your user name.
***In order to undo what you did you will have to work from a virtual console. You can give yourself more resolution with the vga boot code. vga=795 will give you 1280x1024. vga=792 will give you 1024x768. It will be slightly easier if you log into the console as root. If your"apt-get install slim" worked then running:should start X-windows. If it doesn't then try installing slim again with:then try starting slim again via the instructions directly above.
If that works then you have to add slim back in to the init system. This line should do it but I have not tested it here:
That first post is over five years old. It is woefully out of date. The last post in that thread gives the correct instructions which I repeat here in detail:lo2lo2a wrote:i want to have auto login so i found this
post12322.html
Undo whatever you did***. That should let you log in normally. After you do that you just need to enable auto_login in slim. Go to the antiX Control Centre, either by selecting"Control Center" in the taskbar at the bottom of the screen or by navigating the desktop menu:
Applications --> Other --> antiXCC
In the Control Centre, select: System --> Edit Config Files
Select the slim.conf file and uncomment the"auto_login" line. Make sure the default_user is set to your user name.
***In order to undo what you did you will have to work from a virtual console. You can give yourself more resolution with the vga boot code. vga=795 will give you 1280x1024. vga=792 will give you 1024x768. It will be slightly easier if you log into the console as root. If your"apt-get install slim" worked then running:
Code: Select all
/etc/init.d/slim start
Code: Select all
apt-get update
apt-get install slim
If that works then you have to add slim back in to the init system. This line should do it but I have not tested it here:
Code: Select all
update-rc.d slim start 19 2 5 stop 01 0 1 6
-
Posts: 200
lagopus - Joined: 15 Oct 2008
#5
@ BitJam
I experienced a different problem on a fresh install of 13-rc1 on hard drive: slim does not start.
From slim.log:
It seems that dbus is not ready when slim starts.
There is a thread about it, saying that it is no more necessary to invoke dbus-launch like this:
slim fails to start at boot on the very first time
On successive boots, everything goes smoothly.
Note that I got also errors/warnings at the very first boot after install, about /run not existing.
These errors disappear on subsequent boots.
I experienced a different problem on a fresh install of 13-rc1 on hard drive: slim does not start.
From slim.log:
Code: Select all
slim: waiting for X server to begin accepting connections.
slim: waiting for X server to begin accepting connections.
slim: open_session: Unable to open session: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
There is a thread about it, saying that it is no more necessary to invoke dbus-launch like this:
Code: Select all
# login_cmd exec dbus-launch /bin/bash -login ~/.xinitrc %session >~/.xsession-errors 2>&1
On successive boots, everything goes smoothly.
Note that I got also errors/warnings at the very first boot after install, about /run not existing.
These errors disappear on subsequent boots.
-
Posts: 3
- Joined: 20 Aug 2013
#6
it worked .. thank you BitJam
and about the auto login what lagopus told me before made me auto login when the desktop was back ... thanks to him
is there a list of problems about antix that i can search in it so i see it before i ask? because i tried to search about my problem in google and i didnot find an answer .
and about the auto login what lagopus told me before made me auto login when the desktop was back ... thanks to him
is there a list of problems about antix that i can search in it so i see it before i ask? because i tried to search about my problem in google and i didnot find an answer .