VectorLinux
October 31, 2014, 08:17:34 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: [SOLVED] Disabling autologin for the "vl" account.  (Read 1474 times)
axelswe
Member
*
Posts: 3


« on: February 06, 2010, 01:40:57 am »

Hi.

I want to shut of the autologin for the vl-account and then remove it. I tried removing it without removing the loginscript and the boot process went bananas.
I figure i should change one of the files in the /rc.d/ folder. Which I for instance have done to make wicd autostart
« Last Edit: February 07, 2010, 09:39:22 am by axelswe » Logged
nightflier
Administrator
Vectorian
*****
Posts: 4026



« Reply #1 on: February 06, 2010, 04:35:01 am »

Which version of VL are you using?
Logged
axelswe
Member
*
Posts: 3


« Reply #2 on: February 06, 2010, 07:44:33 am »

6.0 light live with xfce
Logged
sledgehammer
Vectorian
****
Posts: 1425



« Reply #3 on: February 06, 2010, 08:46:41 am »

I am interested in this thread.  Perhaps it will give me a clue how, on start up, I can get VL 6.0 standard to automatically boot into the new kernel (2.6.27.29).

John

Logged

VL7.0 xfce4 Samsung RF511
nightflier
Administrator
Vectorian
*****
Posts: 4026



« Reply #4 on: February 06, 2010, 10:47:06 am »

Assuming you kept KDM as your login manager on Light. As root run command:
Code:
/sbin/vkdmconf

For booting different kernels, use vliloconf.
« Last Edit: February 06, 2010, 10:49:16 am by nightflier » Logged
budulay
Packager
Vectorian
****
Posts: 568


NewComer


« Reply #5 on: February 06, 2010, 04:36:18 pm »

I am interested in this thread.  Perhaps it will give me a clue how, on start up, I can get VL 6.0 standard to automatically boot into the new kernel (2.6.27.29).

John



that one can be solved by changing the default parameter in your /etc/lilo.conf
Logged

VL6.0-Light@MSI MS-1652(AMD TurionX2 ZM-84 2300 MHZ, 4 GB RAM, 250 GB HDD, Nvidia GForce 9600M GT, GIGABYTE AirCruiser N300)
Registered Linux user #473602
SlackBuild Repository for VL7.Not much but it's a start. Join in!
sledgehammer
Vectorian
****
Posts: 1425



« Reply #6 on: February 06, 2010, 08:22:40 pm »

budulay,

This is how it looked:
Quote
# End LILO global section
# Partition 4: Linux
image = /boot/vmlinuz-2.6.27.29
    root = /dev/hda2
    label = 2.6.27.29
    append = " "
    read-only


# Partition 1: Linux GUI mode
image = /boot/vmlinuz
    root = /dev/hda2
    label = linux
    append = " "
    read-only
   
# Partition 2: Linux TUI mode
image = /boot/vmlinuz
    root = /dev/hda2
    label = linux-tui               
    append = "2  "
    read-only
   
# Partition 3: Linux GUI mode
image = /boot/vmlinuz
    root = /dev/hda2
    label = linux-gui
    append = "4  "
    read-only

I changed "Partition 4" to "Partition 1" and renumbered the other two, but it didn't change the login screen.

I must be doing something wrong. So I changed it back to original, as above, and did up this reply.

Any thoughts?

John
Logged

VL7.0 xfce4 Samsung RF511
nightflier
Administrator
Vectorian
*****
Posts: 4026



« Reply #7 on: February 07, 2010, 06:09:16 am »

Towards the beginning of lilo.conf, in the "Global" section, find the line that says:
Code:
default = linux
That is the label of default boot.
Change "linux" to "2.6.27.29", then run command "lilo".
Logged
axelswe
Member
*
Posts: 3


« Reply #8 on: February 07, 2010, 09:34:53 am »

Assuming you kept KDM as your login manager on Light. As root run command:
Code:
/sbin/vkdmconf

Thanks a bunch
Logged
sledgehammer
Vectorian
****
Posts: 1425



« Reply #9 on: February 07, 2010, 11:53:01 am »

Thanks nightflier!

However it still boots into linux, rather than 2.6.27.29.  I probably screwed it up somehow when I was fooling with it before writing the forum.

Here is my complete lilo.conf

Quote
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
default = 2.6.27.29
compact
prompt
timeout = 100
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
bitmap = /boot/bitmap/boot.bmp
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769


# End LILO global section
# Partition 4: Linux
image = /boot/vmlinuz-2.6.27.29
    root = /dev/hda2
    label = 2.6.27.29
    append = " "
    read-only


# Partition 1: Linux GUI mode
image = /boot/vmlinuz
    root = /dev/hda2
    label = linux
    append = " "
    read-only
   
# Partition 2: Linux TUI mode
image = /boot/vmlinuz
    root = /dev/hda2
    label = linux-tui               
    append = "2  "
    read-only
   
# Partition 3: Linux GUI mode
image = /boot/vmlinuz
    root = /dev/hda2
    label = linux-gui
    append = "4  "
    read-only

Any thoughts?

John
« Last Edit: February 07, 2010, 12:17:31 pm by sledgehammer » Logged

VL7.0 xfce4 Samsung RF511
nightflier
Administrator
Vectorian
*****
Posts: 4026



« Reply #10 on: February 07, 2010, 01:40:43 pm »

Did you run command "lilo" after editing the file?
Logged
sledgehammer
Vectorian
****
Posts: 1425



« Reply #11 on: February 07, 2010, 01:49:01 pm »

Nope.

So, I ran lilo, rebooted, and it works (boots into 2.6.27.29 by default).

Thanks nightflier.

Now both the original and my piggyback aspect of this thread are solved.

John
Logged

VL7.0 xfce4 Samsung RF511
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!