Results 1 to 8 of 8

Thread: x wont start, need to edit xf86config.....knoppix root pwd?

  1. #1
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    21

    x wont start, need to edit xf86config.....knoppix root pwd?

    Hello all-

    I installed the nvidia drivers last night, and things went ok, but i changed my default color depth to 32 (supported in winXP) but x wouldnt start telling me that the color depth was not supported. So i shutdown, popped in the knoppix CD and went to edit my xf86config file. I couldnt save any changes as i didnt have 'permission'. The partition was mounted correctly, enabled write and everything. I assume it was because i was not logged in as root, since under permissions of the file only root was listed. I opened a shell and tried to login as root, but it kept asking for a password.

    Do i have to change the root password first? Open a root shell, type passwd, change it then login as root?

    Its a 2 second change i have to make to my xf86congif file but 20 minutes to figure out how to save it correctly

    any help would be great, thanks again!
    -jamie

  2. #2
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    You will have to log in as root to edit your XF86Config-4 file.

    There is no root passwd, if you want to set one as knoppix user use:

    sudo passwd root


    rock

  3. #3
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    21
    rock-

    When i tried to login as root (in knoppix via CD) it asked me for a password. How do i get around this part? Change the password by using sudo passwd root (in the root shell)?

    -jamie

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    If you're booting from the cd as far as I know there is no root password, you simply have to execute commands as root like so:

    sudo mcedit /etc/X11/XF86Config-4

    for example.

    Using sudo is "superuser do" or "root do" essentially.

  5. #5
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    jamesgf,

    It appears you have done a hd install, am I correct?
    If so during the install you should have been asked to provide a password for the root user and also user knoppix. You will have problems with your hd install if you don't know these.

    I'm a bit confused regarding your system, and what you have done...

    rock

  6. #6
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    21
    rock-

    I have done an hd install on a second drive. Last night i decided to load the nvidia drivers, all went fine. I changed the default color depth to 32 from 16 (when editing my xf86config-4 for the new drivers) and rebooted. x would not start, gave me a message about the color depth not supported. I shut down and restarted with the knoppix cd thinking i could get in and edit my xf86config-4 file and change it to 24 from 32. Using kate i couldnt save the changes to the file (on hdb3 partition, file indicates root permission only). Tried to figure out how to login as root when running from the cd so i could make the change. The drive (hdb3) was mounted and given permission to write.

    thanks for your help thus far!

    -jamie

  7. #7
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    jamie,

    start from the cd with:

    knoppix 2

    then from the root prompt (#) use the following command:

    startx

    then mount your hd partition read/write, and with kate edit your /etc/X11/XF86Config-4 file, save it and you should be good to go.

    As you use linux more, you really need to be able to use terminal /console applications so you can fix your system without X. Although a knoppix cd does this quite nice if you startup in runlevel 2 or even if running as user knoppix use <CTRL><ALT><F2> to get to a console then use:

    startx -- :1

    which will also start up a root kde session.

    keep us posted

    HTH

    rock

  8. #8
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    21
    rock-

    Thanks alot, im up and running now! I gotta learn the console editors pretty soon Now to see if i can get my CDRW drive set up....

    -jamie

Similar Threads

  1. X wont start
    By fester in forum Customising & Remastering
    Replies: 0
    Last Post: 09-01-2004, 04:02 PM
  2. How do i edit XF86Config-4???
    By donutman in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 08-25-2004, 07:24 PM
  3. How to edit sudoers to ask for root password?
    By Markus in forum General Support
    Replies: 0
    Last Post: 12-29-2003, 09:10 AM
  4. knoppix wont start
    By XRAIDED in forum General Support
    Replies: 2
    Last Post: 10-20-2003, 01:25 PM
  5. how do I log in as root? (to enable me to edit system files)
    By purplehaze in forum General Support
    Replies: 4
    Last Post: 06-25-2003, 06:54 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
  •  


HPE BL460c G9 ProLiant Blade | 2x Xeon E5-2620V3 | NO RAM | P244BR | 2xHDD Tray picture

HPE BL460c G9 ProLiant Blade | 2x Xeon E5-2620V3 | NO RAM | P244BR | 2xHDD Tray

$179.00



HPE BL460c G10 ProLiant Blade | 2x Silver 4110 | 16GB | P204I | 2x300GB 10KRPM picture

HPE BL460c G10 ProLiant Blade | 2x Silver 4110 | 16GB | P204I | 2x300GB 10KRPM

$1419.00



HPE BL460c G9 ProLiant Blade | 2x Xeon E5-2630V3 | 32GB | P244BR | 2x300GB 15K picture

HPE BL460c G9 ProLiant Blade | 2x Xeon E5-2630V3 | 32GB | P244BR | 2x300GB 15K

$299.00



HPE BL460c G10 ProLiant Blade | 2x Silver 4110 | 32GB | P204I | 2x900GB 10KRPM picture

HPE BL460c G10 ProLiant Blade | 2x Silver 4110 | 32GB | P204I | 2x900GB 10KRPM

$1499.00



DELL PEM640 POWEREDGE M640 BLADE SERVER picture

DELL PEM640 POWEREDGE M640 BLADE SERVER

$539.95



HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives picture

HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives

$59.98



Cisco UCS B200 M4 Blade Server 2X E5-2697A V4 18C 36T 2.60GHZ 768GB RAM No HDD picture

Cisco UCS B200 M4 Blade Server 2X E5-2697A V4 18C 36T 2.60GHZ 768GB RAM No HDD

$1000.00



Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS picture

Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS

$103.99



Dell PowerEdge M620 Blade Server picture

Dell PowerEdge M620 Blade Server

$39.99



DELL PowerEdge M630 Blade 2x E5-2687Wv3 3.1GHz =20 Cores 32GB H330 2x10Gb X520 picture

DELL PowerEdge M630 Blade 2x E5-2687Wv3 3.1GHz =20 Cores 32GB H330 2x10Gb X520

$200.00