Results 1 to 5 of 5

Thread: I want to boot into text mode and then startx manually

  1. #1
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611

    I want to boot into text mode and then startx manually

    I'm having horrible problems getting my kmenu to update. Long story short, it worked before and now nothing I try works. Also any mozilla or mozilla-firebord icons I stick in the kicker don't work. I've checked the files in the ~/.kde/share/applnk folder and they're fine. When I try to use kmenuedit, it shows the kmenu I want it to use, yet the system still uses an order one, and making chnages in kmenuedit does nothing to the actual kmenu.

    However, the kmenu and mozilla icons work fine when I'm chrooted and copy the contents of /etc/skel into /home/knoppix, then chown all those files, create a .xinitrc, su knoppix, and startx.

    So I was thinking of altering the default entry of sysconfig.linux to boot to text mode with knoppix 2, and then writing an init script that does all the copying and chowning of files for me and having it run in /etc/rc2.d. I guess another way to go about it would be to edit the knoppix-autoconfig init script to alter what is done when the knoppix 2 cheatcode is used.


    Has anyone done this? Made a remaster that can boot with knoppix 2 and be ready to go straight to an X desktop as soon as the user types startx?



    That way a user can boot the CD, and just type startx. Or if they want to use one of the other WM's, they can just do a quick edit on the .xinitrc file and then startx.

    I'm just wondering if there's boot-time magic I need to take into consideration for my init script. I guess I should boot into text mode and try to figure out what is not done compared to booting into graphical mode and try to compensate for it.

    I was hoping I could get away with just:

    #!/bin/sh
    echo "Forcing kmenu to update and preparing profile for user knoppix...."
    mkdir /ramdisk/home/knoppix
    ln -s /ramdisk/home/knoppix /home/knoppix
    cp /etc/skel/* /home/knoppix
    cp /etc/skel/.* /home/knoppix
    chown -R knoppix:knoppix /ramdisk/home/knoppix
    echo "Type startx to launch KDE, or edit /home/knoppix/.xinitrc if you prefer a different window manager..."


    What I'm worried about are missing some symlinking, specifically with /tmp files and ~/.kde/knoppix-tmp and socket-knoppix.... that's where the user knoppix's tmp files go right, since its on the ramdisk and the regular /tmp is not writeable? I'm also worried about dcopserver, since I seem to get errors about it now and then when chrooted in fluxbox or icewm and trying to run kde apps.

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Ok, my init script works, but the kmenu is still the old one. I gues I'll do some more work chrooted and see if I can get it fixed....

  3. #3
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    18
    I have a custom remaster here that boots into init3, however startx does not do it, I have to specify either kdm, gdm or xdm. It has been so long since I made it, but if I remember right I had to edit kdm to make it do this, since kdm is dominent.

  4. #4
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Essentially what I did is summarized in the lines above. Copy out the things knoppix needs to have in /home/knoppix and put them in there, su knoppix. Since I'd already created a .xinitrc, in /etc/skel startx will work to start any of the WM's on my remaster.

    It just didn't fix my kmenu!!!

  5. #5
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    18
    Ok, what I have done is edit my initab to runlevel 3 instead of 5. By doing this it logs in automatically to root via a text prompt. If I want at that time I do a su knoppix. Then I can startx and get right into the KDE enviroment. Or I can just stay logged in as root and startx, the benifit of the latter is I can remaster alot from a root GUI which speeds things up alot (drag and drop files etc)

Similar Threads

  1. Handling KDE menus in text mode
    By knopx4me in forum Customising & Remastering
    Replies: 0
    Last Post: 04-16-2005, 01:30 PM
  2. USB and text mode
    By Jesse555 in forum General Support
    Replies: 2
    Last Post: 12-10-2004, 07:52 AM
  3. TEXT MODE..............
    By rquiggle in forum The Lounge
    Replies: 12
    Last Post: 11-20-2004, 11:24 AM
  4. Is there any way to start Knoppix on text mode?
    By xuejm1225 in forum General Support
    Replies: 1
    Last Post: 09-21-2004, 05:05 AM
  5. how do i boot into text mode?
    By jerome187 in forum General Support
    Replies: 1
    Last Post: 07-12-2003, 05:17 AM

Posting Permissions

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


HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch picture

Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch

$109.99



WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F picture

WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F

$25.00



WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.85



Western Digital WD5000LPLX 500GB 2.5

Western Digital WD5000LPLX 500GB 2.5" SATA 32MB 6Gb/s 7200RPM Laptop Hard Drive

$7.99



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN picture

WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN

$69.99