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
  •  


Oracle 7085209 LSI MegaRAID SAS 9361-8i 1GB Cache 12Gbps SAS/SATA PCIe RAID Card picture

Oracle 7085209 LSI MegaRAID SAS 9361-8i 1GB Cache 12Gbps SAS/SATA PCIe RAID Card

$28.20



Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller picture

Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller

$28.00



LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA picture

LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA

$229.99



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$58.99



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$82.49



RAID Enclosure - 2 Disks - 3.5

RAID Enclosure - 2 Disks - 3.5" or 2.5" RAOD 0, 1, JBOD - RAID Switch on Device

$46.65



NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0 picture

NEW LSI MEGARAID SAS 9361-8i 12GB/s SAS + SATA RAID CONTROLLER CARD PCIe x8 3.0

$99.00