Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-20-2006, 06:39 AM
|
#1
|
Member
Registered: Sep 2005
Distribution: Debian
Posts: 304
Rep:
|
How to autologin on console (no kdm) and how to start with different resolution?
I have two questions.
First, how can i make slack autologin on console. Some distros use mingetty but i did not found anything about this on slackware.
I try to put vga=788 on lilo but it ALWAYS ask me to choose resolution. I really don't now what i can do. I always choose 9 (because is the bigger) but i want to make it automatic. How can i do this?
|
|
|
03-20-2006, 07:10 AM
|
#2
|
Member
Registered: Feb 2006
Distribution: slackware-current
Posts: 36
Rep:
|
Quote:
Originally Posted by stormrider_may
I have two questions.
First, how can i make slack autologin on console. Some distros use mingetty but i did not found anything about this on slackware.
I try to put vga=788 on lilo but it ALWAYS ask me to choose resolution. I really don't now what i can do. I always choose 9 (because is the bigger) but i want to make it automatic. How can i do this?
|
Hi
try vga=773 in your /etc/lilo.conf
autologin; you need to edit /etc/inittab, change id: 3:initdefault: to id: 4:initdefault:
Regards
|
|
|
03-20-2006, 07:28 AM
|
#3
|
Member
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246
Rep:
|
Assume you're using LiLo.
You may want to check for a line in /etc/lilo.conf like "vga = ask" (and remove it). If you're booting using the standard framebuffer console, are you sure your card can support 64k colours at 800*600 (what 788 specifies). Better to try vga = 771 (800*600 @ 256 cols.) or "vga = normal" for the most basic console.
If you follow p0f's recommendation, you will be taken to an X login prompt (which requires you have X11 installed and configured), not a console, nor an "auto-login". Just a warning.
Last edited by odevans; 03-20-2006 at 07:30 AM.
|
|
|
03-20-2006, 07:29 AM
|
#4
|
Member
Registered: Sep 2005
Distribution: Debian
Posts: 304
Original Poster
Rep:
|
Hi,
even with vga=773 it asks me to choose the resolution.
and changing to 4 on inittab makes slack boot in graphical mode, but i donīt have graphical mode. I only use console.
|
|
|
03-20-2006, 08:20 AM
|
#6
|
Member
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246
Rep:
|
Stormrider, do you have a space between vga, = and 771? eg "vga = 771" as opposed to "vga=771" (not sure if it matters, but LiLo can often be sensitive to spaces).
|
|
|
03-20-2006, 10:32 AM
|
#7
|
Member
Registered: Sep 2005
Distribution: Debian
Posts: 304
Original Poster
Rep:
|
tried with and without spaces but did not worked.
|
|
|
03-21-2006, 06:01 AM
|
#8
|
Member
Registered: Sep 2005
Distribution: Debian
Posts: 304
Original Poster
Rep:
|
anyone????
|
|
|
03-21-2006, 07:56 AM
|
#9
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Qingy : http://qingy.sourceforge.net can do autologin as well as a lot more (like, locking your console when you're idle).
I have a Slackware package at http://www.slackware.com/~alien/slackbuilds/qingy/ and I just saw there is a newer release out, which I am going to build right now.
Btw> Qingy needs the directfb package, also found on my site. DirectFB might require a little tweaking of /etc/fb.modes.
This is what I put in my /etc/fb.modes as the first entry:
Code:
# My output of "fbset" pasted as first entry:
# In "/etc/lilo.conf" I have this as well:
# append="video=vesa:ywrap,mtrr"
# # VESA framebuffer console @ 1024x768x256
# vga = 791
mode "1024x768-76"
# D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz
geometry 1024 768 1024 768 16
timings 12714 128 32 16 4 128 4
rgba 5/11,6/5,5/0,0/0
endmode
Definitely worth to try out.
Eric
|
|
|
03-22-2006, 12:56 AM
|
#10
|
Member
Registered: Sep 2004
Distribution: Slackware 10.2 (2.4.31)
Posts: 119
Rep:
|
This may be a silly question, but are you re-running lilo after you make changes to the conf so the changes stick?
|
|
|
03-28-2006, 06:34 AM
|
#11
|
Member
Registered: Sep 2005
Distribution: Debian
Posts: 304
Original Poster
Rep:
|
yes i was running. It seens to be a bug with that old Trident TGUI440 video card. I changed the video card and everything worked. Iīll install qincy. It seens to be really cool
Alien Bob
I have slack 11.1, just installing your package should work or i have to install an library or something like that? I could now make it work only installing your package.
Last edited by stormrider_may; 03-28-2006 at 07:15 AM.
|
|
|
03-28-2006, 09:00 AM
|
#12
|
LQ Newbie
Registered: Jan 2006
Location: Brooklyn, NY
Distribution: Slackware 12.0
Posts: 18
Rep:
|
About autologin...
I've read about autologin on my national slackware forum, so I will try to suggest some solutions.
1. Modify inittab so there will be such line:
c3:1235:respawn:/sbin/mingetty --noclear --autologin stormrider tty3
and remove first "x" from your /etc/passwd in stormrider user line
^^^ Unsafe, because you will have no password for user stormrider
2. Or check /etc/login.defs where you can set up logging without password.
3. I haven't tried any of these "tricks" 
|
|
|
03-28-2006, 09:17 AM
|
#13
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Quote:
Originally Posted by stormrider_may
I have slack 11.1, just installing your package should work or i have to install an library or something like that? I could now make it work only installing your package.
|
You did install the directfb package too, as I indicated in my post?
You will also have to read the manual to see what you have to change in /etc/inittab.
Eric
|
|
|
All times are GMT -5. The time now is 06:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|