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
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
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
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
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.
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
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
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
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
Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch
$37.30
Juniper EX 4300 EX4300-48P Gigabit Network Switch JunOS 21.4R3-S7 48 Port PoE
$249.00
Juniper EX4200-48PX 48-PORT 10/100/1000BASET PoE Ethernet Switch
$50.00
Juniper EX3300-48P 48-Port 10/100/1000BASE-T (48 PoE+ ports) with 4 SFP+
$74.00
Juniper EX2200-C-12P-2G 12-Port PoE+ Compact Managed Switch
$69.99
Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch
$89.00
Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch
$59.95
JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER
$210.00
Juniper Networks EX3300 EX3300-48P PoE+ 48-Port 4x SFP Gigabyte Ethernet Switch
$59.99
Juniper EX4300-48P 48 Port PoE Gigabit Network Switch - COMES WITH DUAL POWER
$179.95