No access to Login Manager [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

No access to Login Manager [Solved]

Postby Tony-photoplus » Fri May 08, 2009 10:47

I have had trouble accessing my Login Manager. I have looked around and tried things but have little understanding on shell scripts etc and if I have tried my Root files have rejected them if I have attempted it. I really want to auto login, so I boot the comp and leave it. Come back and its all there, but I have to wait, wait, login and go away and then ok. I just a person that goes onto other things rather than wait around. So hoping you have the answer that is very simple

Thanks

Tony
Dual Boot - Windows XP
Sabayon 4.1 (64bit)
Dual CPU 64bit 3.1mhz
4.1 gb ram
220 gb disk with 500gb external disk
Tony-photoplus
Simple Hen
 
Posts: 56
Joined: Thu Apr 16, 2009 23:36

Re: No access to Login Manager

Postby Fitzcarraldo » Fri May 08, 2009 12:41

How exactly are you trying to do this, and on what version of KDE?

I don't use the KDE 4.* destop environment, but with KDE 3.5.10 it's either:

K Menu > Control Centre > System Administration > Login Manager | Convenience

and click on the Administrator Mode button, enter the root user's password, and then re-select the Convenience tab, then click on Enable Auto Login, Enable Password-less Logins or whatever you want. See the KDE help page for instructions: http://docs.kde.org/stable/en/kdebase-w ... onvenience

Alternatively you can edit as root user in a Terminal window the kdmrc file. In my case with KDE 3.5.10 it's located in the directory /usr/kde/3.5/share/config/kdm/ but you can find yours by typing "locate kdmrc" at a user prompt. The edits to perform are listed on the following Web page: http://www.ogalik.ee/node/8

If you don't know how to become root user:

Code: Select all
$ su
Password:  <-- enter root user's password here
# locate kdmrc
/usr/kde/3.5/share/config/kdm/kdmrc  <-- this is obviously the one I want (it's the only file called kdmrc!)
/usr/kde/3.5/share/config/kdm/kdmrc~
/usr/kde/3.5/share/doc/HTML/sv/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/fr/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/pt_BR/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/da/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/et/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/nl/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/de/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/en/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/it/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/es/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/pl/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/pt/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/en_GB/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/ca/kdm/kdmrc-ref.docbook
/usr/kde/3.5/share/doc/HTML/ru/kdm/kdmrc-ref.docbook
# nano /usr/kde/3.5/share/config/kdm/kdmrc  <-- Now I'll use the nano text editor to edit kdmrc


Nano is a simple-to-use text editor that lists the commands at the bottom of the page, so you don't have to remember anything. Obviously, substitute the directory/file location in the nano command with the location of the kdmrc file on your PC. You may find that it's as simple as removing the comment indicator "#" from the beginning of the line with the AutoLoginEnable=true variable, and specifying the user name to be automatically logged in by setting the AutoLoginUser=<your username> variable.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7341
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: No access to Login Manager

Postby Tony-photoplus » Fri May 08, 2009 17:29

As per usual I seem to have a difficult time every time I load Linux and things become complex. Nothing is ever by the book!! :cry:

Anyway K Menu > Control Centre > System Administration > Login Manager | Convenience Is all greyed out and I have no access for some unknown reason. I have done this with another Linux OS and it worked fine (just had problems with other things). Tried the terminal as I have the latest Sabayon....
I did log into root
Tony tony # locate kdmrc
bash: locate: command not found
Tony tony # /usr/kde/4.2/share/config/kdm/kdmrc
bash: /usr/kde/4.2/share/config/kdm/kdmrc: Permission denied

How do I get permission as I think this is the crux of the matter.

Tony
Dual Boot - Windows XP
Sabayon 4.1 (64bit)
Dual CPU 64bit 3.1mhz
4.1 gb ram
220 gb disk with 500gb external disk
Tony-photoplus
Simple Hen
 
Posts: 56
Joined: Thu Apr 16, 2009 23:36

Re: No access to Login Manager

Postby crisandbea » Fri May 08, 2009 17:59

Tony-photoplus wrote:As per usual I seem to have a difficult time every time I load Linux and things become complex. Nothing is ever by the book!! :cry:

Anyway K Menu > Control Centre > System Administration > Login Manager | Convenience Is all greyed out and I have no access for some unknown reason. I have done this with another Linux OS and it worked fine (just had problems with other things). Tried the terminal as I have the latest Sabayon....
I did log into root
Tony tony # locate kdmrc
bash: locate: command not found
Tony tony # /usr/kde/4.2/share/config/kdm/kdmrc
bash: /usr/kde/4.2/share/config/kdm/kdmrc: Permission denied

How do I get permission as I think this is the crux of the matter.

Tony


you run
Code: Select all
sudo nano /usr/kde/4.2/share/config/kdm/kdmrc
for edit this files.
for use locate you install it with equo install slocate
Image
crisandbea
Old Dear Hen
 
Posts: 651
Joined: Tue Feb 12, 2008 11:36
Location: Bologna....ma sono di Bosco(SA)

Re: No access to Login Manager

Postby Fitzcarraldo » Fri May 08, 2009 18:14

Firstly, to get the locate command working, install the slocate package as root user:

Code: Select all
# equo install slocate

then you can type as root user (hash prompt) or under your normal (dollar prompt):
Code: Select all
$ locate kdmrc

or
Code: Select all
$ slocate kdmrc

Take your pick.

Secondly, what you wrote is not correct:

Code: Select all
Tony tony # /usr/kde/4.2/share/config/kdm/kdmrc

you should type:

Code: Select all
Tony tony # nano /usr/kde/4.2/share/config/kdm/kdmrc
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7341
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: No access to Login Manager

Postby Fitzcarraldo » Fri May 08, 2009 18:32

By the way, if you don't know how to switch back from the root user to a normal user, you just have to type "exit" at the hash prompt, like this:

Code: Select all
fitzcarraldo@acertm8215 ~ $ su
Password:
acertm8215 fitzcarraldo # whoami
root
acertm8215 fitzcarraldo # exit
exit
fitzcarraldo@acertm8215 ~ $ whoami
fitzcarraldo
fitzcarraldo@acertm8215 ~ $


As you can see from the above example, if you forget which username you are logged-in as, you can use the "whoami" command.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7341
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: No access to Login Manager

Postby Tony-photoplus » Fri May 08, 2009 19:49

Thanks, but I seem no further. I have done
sudo nano /usr/kde/4.2/share/config/kdm/kdmrc

# KDM master configuration files have been loaded

Thats fine, but it means nothing to me I am having problems understanding. I have to live on morphine and the brain just doesn't take things in, so bare with me and I will try and understand.

After loading things on terminal
Tony tony # $ locate kdmrc
bash: $: command not found

or

Tony tony # $ slocate kdmrc
bash: $: command not found

Sorry not having much luck

My system settings/Admin advanced/ Login Manager is greyed out and seems it is not letting me have access. All it has it red letters 'Attention Read Help' And nothing ese in that section can be touched. So something is wrong

Thanks for your patients

Tony
Dual Boot - Windows XP
Sabayon 4.1 (64bit)
Dual CPU 64bit 3.1mhz
4.1 gb ram
220 gb disk with 500gb external disk
Tony-photoplus
Simple Hen
 
Posts: 56
Joined: Thu Apr 16, 2009 23:36

More problems than I thought

Postby Tony-photoplus » Fri May 08, 2009 21:02

As I go through things and start using other factors like printers I realise the Manager has a problem. It won't allow me into any location!!!! I can't sort out my printer to print anything. No printer has been loaded onto the system so I looked into the system management and tried to load get cups loaded but I can't. SO NO PRINTER. I really thought YES I have a Linux that is going to work on my 64bit comp. But it looks as if this could be another one that bites the dust, unless someone has an answer out there. And, yes the MD5 sum was green on the checker. The copy disk had glitches.

So please has anyone got any idea how I can over come this as I really would love this to be my OS

Thanks

Tony
Dual Boot - Windows XP
Sabayon 4.1 (64bit)
Dual CPU 64bit 3.1mhz
4.1 gb ram
220 gb disk with 500gb external disk
Tony-photoplus
Simple Hen
 
Posts: 56
Joined: Thu Apr 16, 2009 23:36

Re: No access to Login Manager

Postby Fitzcarraldo » Fri May 08, 2009 23:44

Tony-photoplus wrote:My system settings/Admin advanced/ Login Manager is greyed out and seems it is not letting me have access. All it has it red letters 'Attention Read Help' And nothing ese in that section can be touched. So something is wrong.


Mine is also greyed-out too. But there are three buttons at the bottom of the window. They are labelled "Help", "Defaults" and "Administrator Mode". Click on "Administrator Mode". A pop-up window should appear with "Run as root - KDE su" on its title bar, asking you to enter a password. Enter the root user's password, not your password. Then click on the Convenience tab. The window will be all grey, with the text "Attention! Read help" in red, and the tick boxes "Enable Auto-Login", "Enable Password-Less Logins" etc. will all now be tick-able.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7341
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: No access to Login Manager

Postby Tony-photoplus » Sat May 09, 2009 9:39

Thanks Fitzcarraldo, but the only things showing are Help, default and rest. When I go to help it just states 'The file or folder help:/kdm/index.html#configuring-kdm does not exist'. In fact all tabs 1 to 7 are all greyed out, 2 &3 have nothing on them. So there is something wrong. Ever since I have had my new comp (for three months now) I have tried several Linux/unix and all have had problems. See image below

Thanks

Tony

[img]
Sabayon%20admin.jpeg
[/img]
Attachments
Sabayon admin.jpeg
Sabayon admin.jpeg (44.36 KiB) Viewed 764 times
Dual Boot - Windows XP
Sabayon 4.1 (64bit)
Dual CPU 64bit 3.1mhz
4.1 gb ram
220 gb disk with 500gb external disk
Tony-photoplus
Simple Hen
 
Posts: 56
Joined: Thu Apr 16, 2009 23:36

Next

Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 6 guests

cron