| View previous topic :: View next topic |
| Author |
Message |
Urban

Joined: 26 Feb 2008 Posts: 58 Location: United States
|
Posted: Tue Mar 04, 2008 11:34 pm Post subject: Auto Login |
|
|
+ edit /etc/rc.local and add
| Code: |
# Start X as user if tty7 is free
if ! fuser /dev/tty7 >& /dev/null; then
su - <username> -l -c 'exec startx -- vt7 >& ~/.xsession-errors' &
fi
|
Replace <username> with your login name. From gentoo wiki.
+ apt-get remove slim
You probably do not have to do this step as long as you do the next, but if you do be warned slim is NOT in the default repos of antiX. You will have to get it from the sid repos or elsewhere. Keep the slim.conf when/if you reinstall unless you want to add fluxbox slim.conf yourself.
+ update-rc.d -f slim remove
+ In /etc/X11/Xwrapper.config add/change the line allowed_users to
| Code: |
allowed_users=anybody
|
I'm not entirely sure how safe this is, but it is a work around to the error "user not authorized to run the x server." There has to be another way to do this, but I am only figuring this out for others since I do not even use autologin myself.
Now you should automatically load up logged in.
Related Post: http://antix.freeforums.org/auto-login-live-cd-t502.html
Last edited by Urban on Wed Mar 05, 2008 12:03 am; edited 1 time in total |
|
| Back to top |
|
 |
eriefisher

Joined: 07 Oct 2007 Posts: 681 Location: Canada's South Coast
|
Posted: Wed Mar 05, 2008 12:01 am Post subject: |
|
|
Great stuff. Remember though this removes the first line of security as always used by Linux.
eriefisher
P.S. was it worth the struggle.
|
|
| Back to top |
|
 |
Urban

Joined: 26 Feb 2008 Posts: 58 Location: United States
|
Posted: Wed Mar 05, 2008 12:04 am Post subject: |
|
|
| eriefisher wrote: |
P.S. was it worth the struggle.
|
No, it was not. Especially since I believe there is a better way of doing this. Then again people who want auto login are probably not concerned about security.
|
|
| Back to top |
|
 |
Subito Piano

Joined: 20 Oct 2007 Posts: 55 Location: upstate NY
|
Posted: Wed Apr 09, 2008 3:52 am Post subject: |
|
|
Urban - thank you! This was NOT difficult and worked great.
FYI, our lab computers at school dual-boot, running both Linux and Mepis. I am thinking of taking an OLD console loaded with antiX to use only as a print server for anyone running Linux. Auto-login means i can set the system up and (hopefully) unplug monitor, keyboard, and mouse for good. If i have to shut down, i don't need them to restart.
(Can you tell we are on a TIGHT budget?)
|
|
| Back to top |
|
 |
eriefisher

Joined: 07 Oct 2007 Posts: 681 Location: Canada's South Coast
|
Posted: Wed Apr 09, 2008 4:04 am Post subject: |
|
|
Once the print server is set up there should be no reason to actually login to it. Once it's booted up the server stuff should be running in the back ground.
Install ssh server and you can login remotely to update/reconfigure it. Should someone actually connect a monitor up to it they would just see the login screen.
If it has some available storage on it I would set up a share just to use as a backup point before you put it into service. Otherwise it would be wasted hard drive space.
eriefisher
|
|
| Back to top |
|
 |
Subito Piano

Joined: 20 Oct 2007 Posts: 55 Location: upstate NY
|
Posted: Wed Apr 09, 2008 4:21 am Post subject: |
|
|
AHH---IF I HAD KNOWN!! BUT learning is not a waste....
No need to worry about HD space, we are talking like 1 GB HDs or less...! I actually plan to try it on a P1, 333MHz, 64 GB machine. I don't expect to be able to go THAT low, but i have P2's and higher if need be. Thanks to M$'s wonderful new OS we are getting fantastic machines donated and can retire our oldest units. Gee, who'da thunk it!?!?! Vista is actually helping to make our life easier!!!
|
|
| Back to top |
|
 |
|