Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I recently installed Suse linux 9.1 onto my windows me computer, and it has been working perfectly for this whole time, until now. I accidentally pressed some key combination (or at least I think) while logged on as the root, and it took me to a screen that just had yast on it. I tried all kinds of key combinations that could've got me in there, and nothing worked. I tried restarting my computer and logging back into the root account, but it would give me the same window. I can't get to the desktop, or anything, but yast. Does anyone know how I can get back to using my root account normally?
1. You're probably talking of key combination Ctrl+Alt+F[n], which takes
you through the different consoles and X Display (F7). Hit Ctrl+Alt+F[1-6]
and you should end with a console.
2. To end YaST: As root, type pstree -p. Search all the lines where the process
belongs to yast (like YaST, y2base...). Get the related number in brackets (the
PID) and type kill <PID>, and if that doesn't help, kill -9 <PID>.
Thanks for your help, but sadly, that did not work. I got to the console, and I found the yast2 pid, but when I killed it, it just logged me off and when I logged back in, it would still be the yast screen. I tried killing a number of other programs related to yast (the yast control console, kdm, processes above in the directory) but none of them worked. Every time I ended one of the yast programs, it logged me off. I also ended kdm, and that left me in the console, though it did end yast. Since I don't have any files or anything important on my computer, is there a way I can reinstall linux and overwrite the old information? Do all I need to do is run the installation process again from the cd?
I have also been having this exact same problem (also running Suse 9.1 Pro). I've tried checking those files, but there's no mention of YAST in /etc/profile, and /root/.bash_profile and /root/.bashrc don't exist on my system. With those /root/bash* files, it's not the case that they're simply hidden and I'm not seeing them, but I know that they really aren't there since I can see other /root/.* files including .bash_history. Is there anything else you'd recommend I check?
I've also looked at all the different kdm and xdm config files and everything looks as though it should load KDE for every user. If possible, I would _really_ like to not have to re-install, since I've already put a lot of effort into getting my system just like I want it.
As a side note - This first happened for me when I was logged in as my normal (non-root) user, but then tried to use the "Switch User" action on the main KDE panel menu and switch to root. Once I did that, it loaded YAST (which confused me like crazy, since I wasn't expecting that), and my system has done that every time I've tried to log in as root. Thanks in advance for your help!!!
When you switch user, if you click on the "administrator" button and then enter your password, you will be taken straight to the YAST window. For all subsequent login's as root in the future you'll end up going the same way. So try this.
At the login screen, login as root/yourpassword and before pressing enter, go to the menu drop down and select session type > kde
Now login and you should be back in full KDE mode.
Trouble is the menu drop down menu does not contain an option to set for kde. It only has - restart Xserver and shutdown as the options.
Look to right of session type, you should see a flyout arrow, hover over it and another menu will appear, you should see KDE here.
I haven't taken the time to see if that's a more permanent fix or if I'll have to do that every time
When you do it once it remembers. As proof you can just try clicking the administrator button again, logging in, and bam! Back in YAST. Close YAST and login again as root whilst selecting KDE from the session type flyout and you'll end up back in the full KDE environment (Bomberman wallpaper and all!)
To all the people who gets to YaST when logging in as 'root' in suse 9.1
1. At the GUI log in prompt
3. Log in as root
4. rm /tmp/.X0-lock (if you get file not found, srun startx command and then rm /tmp/.X0-lock)
6. You've done it!! you are in KDE as 'root'
1. Changing option in /etc/opt/kde3/share/config/kdm/kdmrc
HideMenu = true (it was false, this gives list of DEs at the login prompt)
in the secton in kdmrc :
AdminSession= (I removed YastAdminSesion)