Jump to content

Hallvard

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by Hallvard

  1. Yippeee!!! :D I think I've solved the problem (more or less, and at least for now)... I first logged into "root" as usual (from the command line, then entering "startx"), and removed a few file names that I've heard mentioned in these discussions. I can't remember exactly which ones off-hand (maybe I should have taken a note of it!).... Anyway, I believe it was "kdm" and "kdebase" as well as other files starting with the same names. Then I reinstalled it (again, I should have taken notes as I might not have installed the same programs back), went to the Mandrake configuration panel to make sure the users were all set up etc. After a reboot I was able to get in via the login manager (though a different looking one than I've used in the past). So all's well, but being urged to reinstall Mandrake from scratch and not knowing exactly what I've done I have a feeling I'll have to do that sooner or later To prepare for backing things up, now or later, I have some questions: 1) Apart from the obvious "home" directories for each user, which folders do I need to look through to see if I've installed some additional files that won't come with the Mandrake installation? 2) Will a TAR'd file (as suggested here) survive being transferred to a Windows hard drive? I suppose that keeping everything inside a compressed file as this is (why not use ZIP by the way?) will protect it, bypassing any problems such as different naming formats etc. 3) CDs here) and I've set up each user as before it's time to decompress the TAR files for each user and put everything back where it's supposed to be. I suppose Mandrake creates a lot of default setup files, so what can I overwrite with my backup files, and what do I need to stay the way it is, so as not to mess up Mandrake again? 4) Anything else I need to keep in mind? I hope this is the last time I have to reinstall the whole operating system from scratch (I thought this kind of stuff only belonged to Windows).
  2. I'm pretty sure I haven't, even though others have suggested that this might be the source of my problems as well. I'm worried about files that I may be missing out on, and programs I've installed. Is there a "log" file of stuff like that so I can check instead of guessing and trying to remember exatcly what I've placed where? I know I've added a lot of additional wallpaper files, and audio files etc. And those aren't in the "home" directories, so would I need to backup my entire Linux hard drive somehow? A real hassle. Well, if I can get it working again and it keeps working in the next month I won't have to mess around with reinstalling it all. I'll try to get this working first. As for "kdm-config" -it's not available via the "install" menu in KDE. I've set URPMI up to read from the installation CDs. I'm worried that I might be getting into problems by downloading stuff from the urpmi mirrors on the net. With the installation CDs I know I'm fine. Anyway, is the program actually called "kdm-config"? I also tried searching for "gendkconfig" without any positive results. Should it be part of the Mandrake 10.0 installation CDs?
  3. Done, for all accounts. Didn't fix my problem though. I also added a new user, then selected it from the login manager. Same problem as before. After a few seconds I get returned to the login manager. Can someone tell me (in layman's terms please -I'm no hacker) what exactly goes on "under the hood" when a user logs in via the login manager? I'm not interested in the really deep stuff, but rather get an idea of which files are read/accesses, programs run etc. as I have no idea what the login manager does right now, so I don't even know where to begin to look.
  4. Yes, but once I have the "properties" window open for one of the users' "home" directories, what is it exactly that I'm looking for? The ownership? Permissions? In case ownership is the thing to look for.... all user's "home" directories have their own names in both "user" and "group" ownership.
  5. For some unknown reason a while back I was no longer presented with the Mandrake login manager, but instead a very basic login window, and then entering "Ice WM" instead of KDE as I've always used. I got some help with this and have now re-installed KDM which has given me the Mandrake login window as well as KDE back, but I'm no longer able to login via the login manager (this applies to all users including "root"). What happens is that I select the user I want and enter the password as usual, everything seems to work -the screen goes blank, changes colours etc. and I'm awaiting the "KDE loading" window, but instead I return to the login manager. I've tried this with all users -same result, and I'm sure I have the passwords right (if I didn't the login manager would tell me right away). So someone suggested to me I open the /etc/inittab file with a text editor and change the following line: id:5:initdefault to.... id:3:initdefault ... which I've done, resulting in a command-line interface login instead. So every time I boot into Linux now I enter the username and password from the command-line, which works perfectly. I then enter startx which starts KDE, gives me my usual desktop etc. :P Everything within KDE seems to work as before. It's just the login procedure which is a mess. So what could be wrong with the login manager? Some configuration files perhaps? As a relatively new Linux user I'm not too much into this command line and setup stuff, so I'm stuck and need help, please. Thanks.
  6. Maybe I should do that. My biggest fear is of course that I find out after I've reinstalled Mandrake that I didn't back things up properly after all. I did a mistake this time around thinking I had backing up (by copying my "home" directory), then deleting the "invisible" files in my original home directory as suggested in this thread. Well, turns out that I hadn't made a backup of everything, but fortunately I had made an equally big mistake when trying to delete stuff, which I hadn't, so I was lucky and didn't lose all of my mail anyway! The second problem is that I simply don't know how I can possibly back up a huge directory such as my (and all other users') home directories -I usually back up my files to CD-RWs, but this will end up as a total mess and take forever. Would it be possible to say compress each user's home directories (so as to keep everything intact within one file), then place those backup files on the Windows hard drive (I can access the Windows ME harddrive from Linux). When I'm done reinstalling Linux I can copy those files back into Linux, then decompress them and try to put everything back into place. Phew!!!! I'd rather not go through all of that though. I think I'm going to create a new thread here about all of this as the subject is more precise now -I've narrowed down where the problem lies.
  7. I don't think it had anything with the installation of new programs, but rather that I messed around with other things at the time. The two that I can think of: 1) I wanted to add new "login icons" (you know, the icons that represent each user in the Mandrake login window), and upon being told exactly where this directory was I found old, outdated users' icons, so I removed them, thinking I would do some "housecleaning". I also replaced one of the users' icons with a scanned image I did myself, only that in hindsight I see that I had the size wrong -I was misinformed about that. 2) I had installed the NVIDIA driver, which worked fine. But in order to get a "dualview" setup (i.e. watching DVDs from the computer on my TV, connected to the computer) I had to edit the "XFconfig-4" file, and got some help with this from a newsgroup, even though this is basically unknown territory for me. Could it be that these two things have caused all my problems? Yes, all the files and folders starting with "." in my home directory ("/home/hallvard/). Well, I also have stuff like my email messages there, which I definitely don't want to lose! I understand that these are programs' settings for that user, but surely, say a messed up setting for "Kmail" won't affect the login procedure. Besides, I created a new "test" user from scratch, and that didn't act in any different way than my existing accounts, so my guess is that it's either a missing application regarding the whole system, or the setup file(s) for the whole system are messed up. My biggest problem (apart from the obvious login problems) is that I don't have enough knowledge to know what all these different setup files do, such as "Xfconfig", "XFconfig-4", "inittab" and so on. Huh?? I was expecting something along the lines of: cp /home/backup_15_11-04/hallvard/.* /home/hallvard/ ... or something like that. I know enough to say that "cp" is the command for copying, but I'm frustrasted about not knowing the correct syntax, which is why I also find using the command line so irritating and frustrating. I used to mess a lot around with computers years ago, but now I'm more into using them as tools to get something else done if you know what I mean. Anyway, enough whining.... I understand that there's basically no way to get around using the command line when things get messed up like now, so I'm trying to do my best, so I can eventually get that graphical user-interface back!
  8. Beats me. It's probably what came on the 10.0 CDs and what Mandrake 10.0 is built upon. Just done that now and it installed perfectly. I now have all 3 choices of login manager as before! I've tried the 3rd choice as well now (KDM -KDE Display Manager), but I'm still not able to log in. Same problem as before. Another question: I removed all my "." (invisible) files and folders from one of the users, but made a backup copy of that whole home directory (I hope I did it correctly). Now I want to copy back all the "." files and folders. How do I do that? The original home directory (where there are no "invisible" files/folders any longer) is /home/hallvard/ The backup (where I hopefully managed to back up everything, but not 100% sure as I'm not too experienced with Linux commands) is at: /home/backup_15_11_04/hallvard/ What I want to do is copy back only the "invisible" files and folders. I want to leave the rest alone in case I haven't managed to back everything up correctly.
  9. Hmmmm..... that's strange. I enter the command, wait for around 6-7 seconds, then I get the prompt back, without any results or anything. kdebase-kdm-config-file-3.2-79mdk mdkkdm-9.2-21mdk # urpmi kdm Everything already installed # .... so not much information there. kdebase-kdm-3.2-79mdk I hope you're wrong. We'll see. I'm not sure what you mean. Should I enter "kdm" in the "search" area or manually browse through everything there?OK, if I do that, I get the same result as I've mentioned earlier in this reply: kdebase-kdm-config-file-3.2-79mdk mdkkdm-9.2-21mdk Moving on.... If I try to remove the first of the two ("kdebase-kdm-config-file-3.2-79mdk") I get the following dependencies (I wish I could simply copy/paste this, but there's no possibility to do that from the alert-window that comes up, so I have to enter it manually: Because of their dependecies, the following package(s) also need to be removed: kdebase-progs-3.2-79mdk, kdebase-servicemenu-10.0-7mdk, mdkkdm-9.2-21mdk, mdklaunchhelp-9.2-7mdk (CANCEL) (MORE INFO) (OK) Then... if I try to remove the second choice ("mdkkdm-9.2-21mdk") I get this: Because of their dependecies, the following package(s) also need to be removed: kdebase-kdm-config-file-3.2-79mdk, kdebase-progs-3.2-79mdk, kdebase-servicemenu-10.0-7mdk, mdklaunchhelp-9.2-7mdk (CANCEL) (MORE INFO) (OK) Phew! That's a lot of cryptic filenames to proof-read!
  10. No, I got some help setting up the URPMI stuff so that I would use the CD-ROM drive instead of the Internet, so I did a "urpmi kdm" command as I had done (unsuccessfully) before, and this time it worked perfectly! This means that I now have 2 login manager choices: 1) MdkKDM (Mandrake Display Manager) 2) XDM (X Display Manager) I'm still missing the 3rd one though, which fellow Mandrake users have told me is: KDM (KDE Display Manager) Anyway, bypassing the login manager works fine, so my guess is that there's some sort of configuration problem. I know I've seen an option somewhere in the Mandrake configuration that allows you to set each users' default desktop (KDE, Gnome etc.) -where is it? Perhaps it'll help redefine what Mandrake should do with a user after the password/username has been entered.
  11. One step further, closer to the goal I think.... :D Someone gave me a few suggestions which has brought some positive results: 1) I booted the Knoppix CD, then mounted the "hdb" (I think it was "hdb1", but it might have been "hdb6" -I forget) hard drive and made it able to write to. 2) From the command-line (Konqueror won't let me log in as root, or I haven't found a way to do that yet) I first do a "su" (super-user), then enter the command: kwrite /mnt/hdb1/etc/inittab 3) This opens up the "inittab" file where I change the following line from: id:5:initdefault to..... : id:3:initdefault .... and save the file of course! 4) Reboot into Linux, log in (as root or any other user) using the command-line. This logs me in! 5) I enter the command "startx" which starts KDE and my desktop appears! So what's left is the login manager. This is where I'm stuck.
  12. OK, I've started Knoppix and have access to the "hdb" hard drive where Mandrake Linux and all my files are. But in order to fix all of this I'm guessing that I have two possibilities: 1) become a Linux expert so I know exactly which setup files I need to reconfigure by hand or.... 2) be myself (a "novice newbie", or maybe just even a newbie still) and somehow run the configuration programs from the Linux hard drive that affect all of this stuff. I would prefer option no. 2. But how (if it's possible at all) can I run programs from the Mandrake harddrive using the Knoppix desktop? :o I've tried running "kcontrol" for example, but that only starts Kcontrol from Knoppix, affecting Knoppix itself. I need to have it affect the users that are on my harddisk. As for re-installing everything from scratch. That's something I really don't want to get into unless I've exhausted every other possibility. I've put a lot of work into my Linux setup (with the help of other people online), and it would be hard to get everything back the way it was. So I'd rather not do this unless I'm absolutely sure there's no other way around it. Since I was so close the other day when I managed to get the KDE desktop to appear I feel that the solution is right around the corner :D
  13. Disregard that question. I found out that by right-clicking on the "hdb6" desktop icon I got an option named "change read/write mode". I'm now busy making a backup copy of a user directory before I delete all the invisible files.
  14. OK, I'm writing this from Knoppix (I can't believe a complete operating system including all the needed software can be installed and used from this single CD!) Anyway, I've tried to delete stuff from the harddisk, but I get an error message saying that it's a read-only system: root@ttyp0[hallvard_bak]# rm -rf .mcop rm: cannot remove `.mcop': Read-only file system root@ttyp0[hallvard_bak]# (I entered an "su" to enter as the root user after opening a command-line window) Is the read-only thingy because I've booted from the Knoppix CD (which of course is read-only)? Regarding "XFdrake". Sorry, I've tried so many things that I've forgotten to comment on everything. Yes, I believe I did try it, but I didn't have any success. Can't remember what happened: I think Mandrake didn't find it or something. Is there a way I can boot with the Knoppix CD, and access my hard drive as if I was booting into Mandrake itself? Is there a way I can create a Mandrake boot disk with only the minimal stuff on it? Or use the installation CD? I've used the "rescue" command to re-install the LILO bootloader, but perhaps the same CD can be used to give me the Linux command line, without the limitations that Knoppix seems to give. That way I could log into a user, delete the mentioned setup files, then try again. I really don't feel like giving in just yet, reinstalling Mandrake from scratch. I almost had it yesterday, but probably shouldn't have logged out right away without asking here first. As for the "dependency hell" stuff.... to me it seems like Mandrake refused to install "mdk" (after I had issued the "urpmi kdm" command) because the dependencies were wrong, meaning that nothing should have been installed. The software has probably been downloaded and is wasting space, but hasn't been installed. I say this because installing the same stuff directly from my Mandrake 10.0 installation CDs worked without a hitch, so I can't have done too much damage (I hope). That's why I don't want to reinstall all of this -after all, I've spent quite a lot of time setting everything up, downloading additional software (that I don't remember the names of now) etc.
  15. But I can't log in! How can I do this in Konqueror when I can't even get past the Mandrake login window? I do have an idea though..... I may be completely misinterpreting the situation, but I have a feeling I've reinstalled everything I now need to make things work again, but in the process of it being damaged (not sure how that happened in the first place), some of the configuration files got damaged as well, as you're pointing out. So...... if I can only get access to the Linux files/folders I should be fine, right? I have an idea: I have this "Knoppix" CD which is Linux without any installation. I tried booting with it just a moment ago, and I was able to access the stuff on my hard drive, but there seems to be 2 partitions actually!!! Most of the stuff (including "root") seemed to be on "/mnt/hdb1/" while the users (in "home") seemed to be on "/mnt/hdb6". Strange as I always thought everything was on the same drive. In any case I think I'm able to access the drive in question. Does this help in any way?
  16. I've gotten one step further! I was apparently right about the URPMI FTP-sites, when i said that there was something wrong about it, so I finally figured out how to remove all that crap and set things back to how they were when I installed Mandrake: namely using the CDs. After I had done that I entered the following command: urpmi kdm And installed "kdmmdk" (I think it was called) when i got the two choices (the other one being "Mdkbase" I believe). After that I got the usual KDE desktop in root!!!!! :D So thinking everything was fixed I logged out and wanted to go into my usual user-area where I have all my files etc. I was presented with the Mandrake login window, albeit with a few minor cosmetic differences. The strange thing however was that instead of just "root" and the two other usernames I had that plus a bunch of others: adm, bin, daemon, freevo, games, halt.... I logged in with my own user, and it looked like things were working, but then, right before I seemed to start KDE I went back to the Mandrake login manager window. I've tried this with "root" and both usernames. Same result. The "Reboot" and "halt" buttons in that window doesn't work. CTRL-ALT-DEL doesn't reboot the machine either, so I have to physically turn off and on the machine. I assume now that I should have reconfigured something right after I had entered KDE as root the first time, but can I do anything to fix things now, and if so -what should I do?
  17. Nope, didn't change anything. I created a new user, but I only got "Ice WM", "failsafe" and "default". No mention of KDE or Gnome. I've also tried to reset that "easy URPMI" thingy, but there seems to be a mistake somewhere, because although I'm 100% sure I've chosen "10.0 official", whenever I try to download/install "kdm" there's a reference to 10.1 in those files!! So I was thinking.... maybe I should just try to reinstall it from my CDs which I used in the first place. But I don't know how to change my setup for using CDs instead of the Internet. Can someone help me out?
  18. Hmmmm.... not that I can think of. I've got the "Easy urpmi" website up now so I can have a look. I might have been a bit quick and selected "10.1 official" instead of "10.0 official", but I doubt it as I already knew there was a 10.1, and I know I've got 10.0. You're talking about the first "scroll through" menu (where I select "10.0 official") when you're referring to having "cooker" as a choice, right? I can't find "Cooker" mentioned elsewhere. As for the rest of the stuff there.... I ticked off each of the 3 "sources" (contrib/main/updates) and chose an FTP site (can't remember which ones, but right now I just left it like it is, then adding a tick next to it. It's currently using "ftp.heanet.ie"). Then continued by ticking off all 3 "external add-ons", and finally copying the resulting commands and pasting them into my command line window. I then get two choices: 1- kdebase-kdm-3.2.3-134.1.101mdk.i586 2- mdkkdm-10.1-19mdk.i586 Yes, I actually noticed it and posted a question about it in the Mandrake newsgroup. I was told that this didn't matter, so I went ahead. Yeah, I think you may be right about that. It's more likely I've done that than choose "cooker". I'll have a look (I'm writing this in Windows, so I'll have to post this before I reboot into Linux). Is there some sort of "history" file which I can read to see which applications I've installed? That way I can de-install the latest ones and see if it solves everything.
  19. Thanks to both of you for the replies, but as a relatively newcomer til Linux (and more of a user than a "hacker") I have no idea what this "cooker" thing is. I do indeed have the 3 Mandrake 10.0 installation CDs (which I downloaded ISO disc images of and burnt in Windows), but I have no idea why I'm no longer asked to insert the CDs as before. I've just done what I've been told by more experienced Linux users and I guess it has something to do with the setup of the software installation part of Mandrake (there are so many things to keep in mind, and it seems like doing a simple thing like adding a new program in Linux is a time consuming hassle which demands a full-time job, but even so I haven't given up on Linux as it's far more stable than Windows). Anyway... (done with the whining) :P .... I haven't kept track of what I may have installed recently, so I can't answer that question. Is there a way I can find out what "cooker" I've installed, so I can remove it, then see if that fixes the problem? Or have I misunderstood. I'm a bit confused about all of this. :unsure:
  20. I'm using Mandrake 10.0 and KDE. A few days ago something strange happened.... When I boot the computer into Linux I get a GUI "login" window where each user is represented with an icon along with their username and a text-field for entering the password along with "OK" buttons etc. But now I only got a very basic, simple "X" style login window which had two input fields: Username and password. And when I log in I don't get the usual KDE desktop, but a simple "X" style desktop without any icons on it or anything, just a basic bar at the bottom with a few things like "Terminal", "Emacs" and "Mozilla". And on the left hand side it says "Ice WM". I've mentioned all of this in a Linux newsgroup and was told to re-install kdm by issuing the command: urpmi kdm I then get two choices: 1- kdebase-kdm-3.2.3-134.1.101mdk.i586 2- mdkkdm-10.1-19mdk.i586 I was told to choose option 2 (mdkkdm) as this would give the best overall Mandrake look, but either would do. So far so good. So I wait for all the files to download and install themselves (I log in as "root" by the way, so I should have all the sufficient rights), but since I must have been very unlucky with the download server at the other end (I waited almost 45 minutes, on a 800 Kbit ADSL line) I broke it off by pressing CTRL-C. Then I go to "Easy URPMI"" to reconfigure my setup for different servers, hoping the result would be better. I then start downloading the same file again. But when everything is complete I get an error message saying that the installation failed: Installasjon mislykket: file /usr/share/applications/kde/kdepasswd.desktop from install of kdebase-common-3.2.92-1mdk conflicts with file from package kdeutils-kdepasswd-3.2-18.1.100mdk file /usr/bin/kdepasswd from install of kdebase-progs-3.2.92-1mdk conflicts with file from package kdeutils-kdepasswd-3.2-18.1.100mdk I've tried the second option (kdebase), but that gives me the same error message. I reported this back to the newsgroup, and was told to reconfigure my URPMI setup by going to "Easy URPMI" again. So once again I go through all of that, and yet I get those error messages, so I'm really getting nowhere! I'm also confused about another thing.... I get 2 choices, and I can't have them both, but I remember that I had three login manager choices in the past!!! I can't remember their (cryptic) names, but I distinctly remember 3 choices, while now there's only 1. This is found by going to "Configure my computer" - "system" - "Session manager". The only one there now is "XDM (X display manager)". [moved from Installing Mandrake by spinynorman - welcome aboard :)]
×
×
  • Create New...