Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: Running X before chroot...

  1. #21
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    When you chrooted, did you also mount proc?

  2. #22
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Quote Originally Posted by nvgringo
    First of all thanks again for taking your time to help.
    But I dont think that you understand the problem that I am having. It does not matter which desktop I try to use KDE is the only one that will come up. If I choose fluxbox as a cheat code at startup KDE starts. If I use Fabians restart X script and choose GNOME. X restarts with KDE. I could understand If the WM started up without the changed settings. but they are not starting at all. Just KDE. The settings in KDE saved just fine by the way.
    Also if I want to use Synaptic in the chroot enviroment with X running do I have to set up a root password? If I do have to set up a root can I remove it before burning the remaster?
    Have I used up all of my questions yet
    That's pretty strange. I have never had that soprt of problem with the desktop cheatcodes. Perhaps it's you lingering .xinitrc file in /etc/skel. You could remove it without causing any problems.

    I hesitate to mess with the root account since I managed to break being able to su without a password just by trying to adjust some things in the KDE control center. So in my remaster, you always have to "sudo su" instead of just "su". Passwords are in /etc/passwd. You could blank out the root password when you're done and it should go back to the way it was. Is using apt-get from the command-line that much of a hassle?

  3. #23
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    Quote Originally Posted by nvgringo
    First of all thanks again for taking your time to help.
    But I dont think that you understand the problem that I am having. It does not matter which desktop I try to use KDE is the only one that will come up. If I choose fluxbox as a cheat code at startup KDE starts. If I use Fabians restart X script and choose GNOME. X restarts with KDE. I could understand If the WM started up without the changed settings. but they are not starting at all. Just KDE. The settings in KDE saved just fine by the way.
    Also if I want to use Synaptic in the chroot enviroment with X running do I have to set up a root password? If I do have to set up a root can I remove it before burning the remaster?
    Have I used up all of my questions yet
    What KDE are you using? If it's 3.2, perhaps this is the cause of the problem. This will affect settings in kdm which is probably the default login mgr.
    http://bugs.kde.org/show_bug.cgi?id=75882
    A couple of other checks you could try to see if the other wm's are working OK:
    1) Try 'startxfce' or starxfce4' from a KDE Konsole. Usually xfce will start within KDE.
    2) try 'xdm' from terminal login. This will start xdm instead of kdm as the login manager. Xdm is the default login manager for xfce and should not be affected by the above 'bug'.

    Quote Originally Posted by pokemontel
    The problem is that its say that I can't run kde . not enough memory...
    FYI, I'm using 2GB of memory. I had check using top on the parents directory and still got lots of available memory.
    I have had this happen also. It seems to occur when 45xsession script is unable to sucessfully open any window manager. Possibly it is using up all available memory trying to start kde which then shows as a low memory situation, it doesn't actually mean you need more memory but instead something is wrong with your start kde setup. The memory check is at the very end of the 45xsession script.
    I was not successful trying to get x to start in chrooted environment, I've given up & am having more success remastering starting from a Knoppix-style HD install.

  4. #24
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    Quote Originally Posted by CrashedAgain
    Quote Originally Posted by pokemontel
    The problem is that its say that I can't run kde . not enough memory...
    FYI, I'm using 2GB of memory. I had check using top on the parents directory and still got lots of available memory.
    I have had this happen also. It seems to occur when 45xsession script is unable to sucessfully open any window manager. Possibly it is using up all available memory trying to start kde which then shows as a low memory situation, it doesn't actually mean you need more memory but instead something is wrong with your start kde setup. The memory check is at the very end of the 45xsession script.
    I was not successful trying to get x to start in chrooted environment, I've given up & am having more success remastering starting from a Knoppix-style HD install.
    I have just had this error occur again, the cause was that /home/knoppix got deleted, then when KDE tried to start it couldn't find the settings to start dcopserver. It thrashed around for a bit & eventually ended up giving the 'not enough memory' error & dumping me into TWM. So, another thing to check is the .hidden files in your /home/user directory.

  5. #25
    thank arkaine23....

    yup after I mount the proc under chroot env using

    #mount -t proc /proc proc

    my problem solved.
    will update soon...

  6. #26
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    140
    I tried to restore skel.bak but sill only KDE worked. I am going to start all over again. I'll let you know how it works out. This thread has a great deal of useful information. thanks and respect to all!

  7. #27
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    140
    I followed the steps but in my remaster all of the .files are in /mnt/hda3/knx/source/KNOPPIX/home/root. I do not recall creating the /root subdirectory. Was this created when I Chown root? Is this correct? I have not tried to burn the iso yet.

  8. #28
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    /home/root always exists. I wouldn't mess with it.

    If you "startx" before doing "su knoppix" you will be adjusting the files in /home/root instead of the ones in /home/knoppix.


    Its all a matter of preference really. I leave the root configs as they are, and create my own knoppix user configs to adjust (and use those to replace the skeleton configs- /etc/skel). I'm also cautious about adjusting anything for fear of having to start completely over and always make a backup copy of the original files.


    It's a lot of stuff to keep track of and easy to make small mistakes. But eventaully you come to understand what each config is for and how it all inter-relates.

Page 3 of 3 FirstFirst 123

Similar Threads

  1. X apps in chroot
    By garyng in forum General Support
    Replies: 7
    Last Post: 12-21-2004, 02:09 AM
  2. chroot help
    By gursharnsingh in forum Customising & Remastering
    Replies: 2
    Last Post: 01-15-2004, 09:38 PM
  3. Kde in chroot and OOo 1.1 installation
    By vi.tan.gr in forum Customising & Remastering
    Replies: 0
    Last Post: 08-29-2003, 07:53 AM
  4. X programs from chroot
    By rdmelin in forum Customising & Remastering
    Replies: 4
    Last Post: 08-20-2003, 02:27 PM
  5. To chroot or not to chroot
    By sminotti in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 08-07-2003, 07:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 16GB RAM No HDD's picture

HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 16GB RAM No HDD's

$299.00



HP Proliant MicroServer Gen 8 2.3GHz CPU 16GB RAM NO DRIVES/CADDIES INCLUDED picture

HP Proliant MicroServer Gen 8 2.3GHz CPU 16GB RAM NO DRIVES/CADDIES INCLUDED

$179.99



HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ* picture

HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*

$94.99



HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's picture

HP ProLiant MicroServer Gen8 Server Xeon E3-1220L 8GB RAM No HDD's

$229.99



HPE ProLiant MicroServer Gen 10 Plus, Xeon E-2224, 16GB DDR4, 1TB M.2 NVMe SSD picture

HPE ProLiant MicroServer Gen 10 Plus, Xeon E-2224, 16GB DDR4, 1TB M.2 NVMe SSD

$750.00



HP ProLiant N36L Micro Server 633724-001 AMD Athlon II Neo N36L - No HDDs picture

HP ProLiant N36L Micro Server 633724-001 AMD Athlon II Neo N36L - No HDDs

$82.07



HP ProLiant MicroServer Gen8 Server Intel Xeon E3-1220L v2 16GB DDR3 (4) 4TB HDs picture

HP ProLiant MicroServer Gen8 Server Intel Xeon E3-1220L v2 16GB DDR3 (4) 4TB HDs

$399.00



ProLiant MicroServer Gen8 Intel Xeon E3-1220L V2 2.3GHz CPU 8GB RAM picture

ProLiant MicroServer Gen8 Intel Xeon E3-1220L V2 2.3GHz CPU 8GB RAM

$170.00



HP ProLiant Microserver Micro Server HSTNS-5151 untested picture

HP ProLiant Microserver Micro Server HSTNS-5151 untested

$75.00



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server P54644001 picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server P54644001

$849.99