-
HD Install: "su" errors
Hi guys,
I've just installed on the hard disk of my PC the 5.1 release and I'm facing some "su" errors:
I read the previous posts about "sudo" errors and ran the following commands as root:
1. "chown root:root /etc/sudoers"
2. "chmod 0440 /etc/sudoers"
I still got the following errors each time I login in KDE:
1. If I try to modify date and time I got: "Su returned with an error"
2. If I try to mount the floppy disk I got: "mount can't find /media/fda in etc/fstab...."
3. If I try to mount the CD ROM I got: "Feature only available with HAL"
What's wrong?
Thanks for any help,
Enrico
-
Senior Member
registered user
1. If I try to modify date and time I got: "Su returned with an error"
Did you do anything more than chown and chmod sudoers ?
I can only suggest that you look at all the work-arounds in http://www.knoppix.net/forum/viewtopic.php?t=26361
2. If I try to mount the floppy disk I got: "mount can't find /media/fda in etc/fstab...."
Try mounting your Floppy using KDiskFree (Right-click on the device) instead of the desk-top Icon.
Was folder /media/fda created for you by the Knoppix Installer ?
Does configuration file /etc/fstab contain a line starting with /dev/fd0 ?
You may need to create some folder(s) or symbolic links.
3. If I try to mount the CD ROM I got: "Feature only available with HAL"
Try mounting your CD ROM using KDiskFree (Right-click on the device) instead of the desk-top Icon.
Was a folder e.g. /media/cdrom created for you by the Knoppix Installer ?
You may need to create some folder(s) or symbolic links.
Does configuration file /etc/fstab contain a line starting with e.g. /dev/cdrom ?
Does e.g. /dev/cdrom exist ? you may need to create a symbolic link to a block device e.g /dev/hd<your-cdrom-drive-ide-letter>
-
Hi,
I read that post carefully and did the following things:
1. chown root:root /etc/sudoers (as root)
2. chmod 0440 /etc/sudoers (as root from the command line)
3. %sudo ALL=(ALL) ALL (vi editor launched as root)
The problem still shows up: if I login in KDE as a regular user I can't:
- modify the NIC settings (IP,DNS...) (therefore no Internet access)
- modify date and time
- ....
The pop-up error is the usual "Su returned with an error"
How is that possibile? I really don't understand what's wrong here.
thanks,
Enrico
-
Senior Member
registered user
http://www.knoppix.net/forum/viewtopic.php?t=26361 now gives the definitive answer; see Page 3.
Good luck
-
>http://www.knoppix.net/forum/viewtopic.php?t=26361 now gives the definitive answer; see Page 3.
>Good luck ![Smile](images/smilies/icon_smile.gif)
Hi JohnnyH,
I read carefully that post but I wasn't able to fix the problem (I'm a Linux newbie).
Since I really wanted to install Knoppix on my hard disk, I downloaded and installed the 5.0 version, which doesn't have that problem.
Knoppix 5.0 is running just fine ![Smile](images/smilies/icon_smile.gif)
Enrico
-
Senior Member
registered user
Enrico,
I will summarise a procedure for you anyway, as you will need it if or when you want to upgrade to Knoppix >= 5.1.1
1. Open your home directory in Konqueror.
2. In menu "View" open "Show Hidden Files"
3. Drill down to /home/<knoenrico-name>/.kde/share/config
4. Click-on /home/<knoenrico-name>/.kde/share/config/kdesurc
to open kdesurc with KWrite
5. Edit statement from
Code:
super-user-command=sudo
to
Code:
super-user-command=su
6. Save kdesurc and close KWrite
7. kdesu should now work correctly
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
JohnnyH
Enrico,
I will summarise a procedure for you anyway, as you will need it if or when you want to upgrade to Knoppix >= 5.1.1
1. Open your home directory in Konqueror.
2. In menu "View" open "Show Hidden Files"
3. Drill down to /home/<knoenrico-name>/.kde/share/config
4. Click-on /home/<knoenrico-name>/.kde/share/config/kdesurc
to open kdesurc with KWrite
5. Edit statement from
Code:
super-user-command=sudo
to
Code:
super-user-command=su
6. Save kdesurc and close KWrite
7. kdesu should now work correctly
![Smile](images/smilies/icon_smile.gif)
Hi JohnnyH,
thanks for your clear explaination. That's the answer that a newbie needs ![Smile](images/smilies/icon_smile.gif)
As soon as I get myself oriented in Linux I will upgrade to the latest version.
Enrico
-
SU error
Thank you Johnny H. Your summary of the instructions helped me solve the su error as well, and taught me more about the many uses of Konqueror as an internal system browser.
Cheers from Guelph, Ontario!javascript:emoticon('
')
-
Su error FIXed
![Quote](images/misc/quote_icon.png)
Originally Posted by
knoenrico
![Quote](images/misc/quote_icon.png)
Originally Posted by
JohnnyH
Enrico,
I will summarise a procedure for you anyway, as you will need it if or when you want to upgrade to Knoppix >= 5.1.1
1. Open your home directory in Konqueror.
2. In menu "View" open "Show Hidden Files"
3. Drill down to /home/<knoenrico-name>/.kde/share/config
4. Click-on /home/<knoenrico-name>/.kde/share/config/kdesurc
to open kdesurc with KWrite
5. Edit statement from
Code:
super-user-command=sudo
to
Code:
super-user-command=su
6. Save kdesurc and close KWrite
7. kdesu should now work correctly
![Smile](images/smilies/icon_smile.gif)
Hi JohnnyH,
thanks for your clear explaination. That's the answer that a newbie needs
As soon as I get myself oriented in Linux I will upgrade to the latest version.
Enrico
I usually don't take the time to register on a forum to post a reply on one fix, but just wanted to say this worked for me
knoppix 5.1
-
Hi all,
I've just landed here trying to fix a bug with a hdd install of knoppix 5.3.1.
I was getting an error reading "Feature only available with HAL" after trying to launch the dvd drive. It was a drag of a problem as I did this build for a media box . I'd done the kdesu update and was on the sudoers list But still the same result.
To cut a long story short.
There seemed to be a typo in my /dev folder. All the devices associated with my optical drive had a two at the end of them. Renaming them fixed the problem and the drive is now recognized as it should be.
eg:
/dev/dvd2 to /dev/dvd
/dev/dvdrw2 to /dev/dvdrw
/dev/cdrom2 to /dev/cdrom
and so on for all devices associated with the drive.
Hope this saves someone some grief!
All the best,
quantum.
Similar Threads
-
By ihcnut in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 12-26-2004, 09:26 PM
-
By aaru_ali in forum General Support
Replies: 0
Last Post: 10-27-2004, 07:10 AM
-
By Cuddles in forum General Support
Replies: 1
Last Post: 04-21-2004, 08:28 PM
-
By geebee2000 in forum Hardware & Booting
Replies: 9
Last Post: 05-21-2003, 07:29 PM
-
By Juny in forum General Support
Replies: 4
Last Post: 03-14-2003, 09:02 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
-
Forum Rules
![Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch picture](/store/img/g/UdkAAOSwDmpmMtqf/s-l225/Cisco-Catalyst-C9300-24UX-A-24-Port-10G-mGig-Coppe.jpg)
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch
$475.00
![Cisco WS-C3560CX-12PC-S 12 Port GbE PoE IP Base Catalyst Managed Switch, TESTED picture](/store/img/g/3uYAAOSwB5xlNrlG/s-l225/Cisco-WS-C3560CX-12PC-S-12-Port-GbE-PoE-IP-Base-Ca.jpg)
Cisco WS-C3560CX-12PC-S 12 Port GbE PoE IP Base Catalyst Managed Switch, TESTED
$174.00
![Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack picture](/store/img/g/cqoAAOSwtYVmS7LQ/s-l225/Cisco-WS-C2960X-48FPD-L-48-V07-POE-GE-2-10G-SFP-LA.jpg)
Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack
$110.00
![Cisco 3560CG Series 8 Port POE Network Switch WS-C3560CG-8PC-S picture](/store/img/g/fjkAAOSweShmcw9Z/s-l225/Cisco-3560CG-Series-8-Port-POE-Network-Switch-WS-C.jpg)
Cisco 3560CG Series 8 Port POE Network Switch WS-C3560CG-8PC-S
$80.00
![🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥 picture](/store/img/g/KTkAAOSwcmBisISE/s-l225/-CISCO-SFP-10G-SR-V03-10-2415-03-850nm-10GBASE-SR-.jpg)
🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥
$6.80
![Cisco C9300NM8X Network Switch Module 8 X 10GE picture](/store/img/g/RfsAAOSw8blmdfHL/s-l225/Cisco-C9300NM8X-Network-Switch-Module-8-X-10GE.jpg)
Cisco C9300NM8X Network Switch Module 8 X 10GE
$297.00
![Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture](/store/img/g/yEAAAOSwxVReIhma/s-l225/Cisco-C3850-NM-2-10G-2-Port-Network-Exp-Module-for.jpg)
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$30.99
![GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture](/store/img/g/tAkAAOSwdENkHItI/s-l225/GENUINE-Cisco-SFP-10G-SR-V03-SFP-GBIC-Transceiver-.jpg)
GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03
$6.80
![Cisco 2900 Series CISCO2901/K9 v06 Integrated Services Router picture](/store/img/g/b9wAAOSw8kFmccbz/s-l225/Cisco-2900-Series-CISCO2901-K9-v06-Integrated-Serv.jpg)
Cisco 2900 Series CISCO2901/K9 v06 Integrated Services Router
$39.99
![Cisco WS-C3650-12X48UQ-S (36x 1GB 12x MultiGB) UPoE RJ-45 4x 10GB SFP+ Switch picture](/store/img/g/xAQAAOSwR6pmO9PN/s-l225/Cisco-WS-C3650-12X48UQ-S-36x-1GB-12x-MultiGB-UPoE-.jpg)
Cisco WS-C3650-12X48UQ-S (36x 1GB 12x MultiGB) UPoE RJ-45 4x 10GB SFP+ Switch
$399.00