Please support VectorLinux!

Author Topic: [SOLVED] Disabling autologin for the "vl" account.  (Read 1683 times)

axelswe

  • Member
  • *
  • Posts: 3
[SOLVED] Disabling autologin for the "vl" account.
« 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 »

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4072
Re: Disabling autologin for the "vl" account.
« Reply #1 on: February 06, 2010, 04:35:01 am »
Which version of VL are you using?

axelswe

  • Member
  • *
  • Posts: 3
Re: Disabling autologin for the "vl" account.
« Reply #2 on: February 06, 2010, 07:44:33 am »
6.0 light live with xfce

sledgehammer

  • Vectorian
  • ****
  • Posts: 1451
Re: Disabling autologin for the "vl" account.
« 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

VL7.0 xfce4 Samsung RF511

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4072
Re: Disabling autologin for the "vl" account.
« 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: [Select]
/sbin/vkdmconf
For booting different kernels, use vliloconf.
« Last Edit: February 06, 2010, 10:49:16 am by nightflier »

budulay

  • Packager
  • Vectorian
  • ****
  • Posts: 568
  • NewComer
Re: Disabling autologin for the "vl" account.
« 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
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: 1451
Re: Disabling autologin for the "vl" account.
« 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
VL7.0 xfce4 Samsung RF511

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4072
Re: Disabling autologin for the "vl" account.
« 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: [Select]
default = linuxThat is the label of default boot.
Change "linux" to "2.6.27.29", then run command "lilo".

axelswe

  • Member
  • *
  • Posts: 3
Re: Disabling autologin for the "vl" account.
« 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: [Select]
/sbin/vkdmconf

Thanks a bunch

sledgehammer

  • Vectorian
  • ****
  • Posts: 1451
Re: [SOLVED] Disabling autologin for the "vl" account.
« 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 »
VL7.0 xfce4 Samsung RF511

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4072
Re: [SOLVED] Disabling autologin for the "vl" account.
« Reply #10 on: February 07, 2010, 01:40:43 pm »
Did you run command "lilo" after editing the file?

sledgehammer

  • Vectorian
  • ****
  • Posts: 1451
Re: [SOLVED] Disabling autologin for the "vl" account.
« 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
VL7.0 xfce4 Samsung RF511