noob question, how to start as non-root user in kde?
Hi
I managed to set up kde so it will start when slackware boots, but it logs in on the root account automatically, how can i change this to my normal user account? |
It automatically logs into root? Um, I don't mean to offend, but you must have done something because Slackware does NOT do that out of the box. Can you fill us in on the details of how you got KDE to start automatically? Maybe we can spot something.
|
Yes it boots straight into kde as root user, i dont get a login prompt like i did before i made kde start automatically.
Im totally new to this so i dont really remember all i did. I edited the file that contains what runs when slackware starts (think its called rc.local??), and added startx to that. Then i edited another file and commented out some stuff called kdg i think. I didnt really understand it i was following some guides on how to make kde start on boot. edit: i think its the rc.4 file and i commented out the lines with gdm not kdg |
Quote:
Look in the directories of the DVD you installed from, or at the mirror you downloaded from. But first remove the startx from rc.local and put the other changes back as they were. |
Ok, do you have a link to a document that can show me how to make it work properly?
|
Quote:
Code:
# Default runlevel. (Do not set to 0 or 6) Code:
# Default runlevel. (Do not set to 0 or 6) Bob |
You shouldn't need to edit /etc/rc.d/rc.4 -- it checks to see if you have gdm installed, and if so, assumes you want to use it. I would highly recommend setting this back to its original state unless you know what you're doing. If you do NOT have gdm installed (it does NOT come with Slackware by default), then you don't need to touch it -- it should use kdm by default. You should restore rc.local to its previous state (it is blank by default, with the exception of comments). Then edit /etc/inittab. You should see this:
Code:
# Default runlevel. (Do not set to 0 or 6) Code:
# Default runlevel. (Do not set to 0 or 6) Reboot your computer and it should launch a graphical login manager (kdm) that allows you to log in as a normal user graphically, and automatically starts X for you. If you get into trouble, you can reach a virtual terminal on console 6 (Ctrl+Alt+F6). [edit] Too slow. ;) [/edit] |
Quote:
If you would prefer to read them online look in any of the mirrors such as ftp://slackware.oregonstate.edu/pub/...lackware-13.1/, they will be the same as are on the DVD. As BobNutfield [EDIT and T3slider /EDIT] have posted in the mean time, starting X (KDE by default) is as easy as setting the runlevel in /etc/inittab. And to help you understand what this does, just read up on "runlevel". Good luck! [EDIT] Oddly enough, you will find what you were looking for in the Slackware-HOWTO text on the DVD, or here: ftp://slackware.oregonstate.edu/pub/...lackware-HOWTO [/EDIT] |
Ok now i changed back the other files as they were before i started to write into them - dont really know how to formulate this im not english
and now i edited the /etc/inittab file so the runlevel is now 4 when it boots, and it works perfectly now! so thanks to everyone for help, ill be back |
All times are GMT -5. The time now is 08:29 PM. |