Welcome Linux, Bye Windows...

Status
Not open for further replies.
OP
nitish_mythology

nitish_mythology

OSS Enthusiast!
Formatted my P.C
Gt a dual boot with Xp and Ubuntu..

Ubuntu never asked me for a root pass during instalation
How to set up the password?
Is there any default pass?
 

borg

In the zone
Actually ubuntu's root account is disabled. Unlike in fedora you don't log in as the root to do administrative tasks.

Instead you use the sudo command.
It works like this. Suppose you want to install a .deb package (.deb is equivalent to fedora's .rpm). You type 'sudo dpkg -i <filename>' & then press enter. The Ubuntu will ask you to enter you password, you have to enter YOUR password here. By your I mean the password of the account that you are logged into now. So in general, you type

'sudo <your command>' & press enter. Then you are asked for the password of your account. There is no need of root password in ubuntu. This might seem confusing, but this is how it is.

However, if you want to do things the fedora way, you can use the command

sudo passwd root

This will enable the root account.

Hope this helps
 

mehulved

18 Till I Die............
No need for
Code:
sudo passwd root
To log into root shell do
Code:
 sudo -s -H
But I advise you to use sudo for all the work. They didn't disable root account just for fun. They had a pretty strong reason. When you can work with sudo as normal account why use root account unless very much needed, which I personally have never really needed sso far.
 
OP
nitish_mythology

nitish_mythology

OSS Enthusiast!
I solved the prb on my own...
Booted in the Ubuntu-recovery mode...
Issued the command---
pswd root
Typing the password

Used the su command!

Installing xmms and xine, facing problems---
xmms error-
config:error:no acceptable cc compiler found in $path

xine error-
configure:error: no acceptable c compiler found in $path.
 

Satissh S

Youngling
nitish_mythology said:
Installing xmms and xine, facing problems---
xmms error-
config:error:no acceptable cc compiler found in $path

xine error-
configure:error: no acceptable c compiler found in $path.
check if cc is linked to gcc,
Code:
# ls -l /usr/bin/cc
it shud say something like this.
Code:
lrwxrwxrwx  1 root root 3 2005-12-17 09:58 /usr/bin/cc -> gcc
If it doesn't say like that, create the symlink,
Code:
ln -s /usr/bin/gcc /usr/bin/cc
try recompiling, its highly unlikely that gcc is not installed.
 

mehulved

18 Till I Die............
Ubuntu doesn't install gcc in default isntallation. You will have to install it manually. It is available in the Ubuntu cd. And AFAIK, XMMS is available as a debain package in ubuntu cd.
And I feel that was complete useless move on your part to change root password. Now don't sit using the root account. Why do you ever need it?
Just use the normal user account. You can always use sudo to work with root account.
I rather believe you created a problem instead of solving by changing the root password. If you go online and your root password isn't secure enough, there are chances of getting into more trouble than with normal user account.
 
OP
nitish_mythology

nitish_mythology

OSS Enthusiast!
Satissh S said:
check if cc is linked to gcc,
Code:
# ls -l /usr/bin/cc
it shud say something like this.
Code:
lrwxrwxrwx  1 root root 3 2005-12-17 09:58 /usr/bin/cc -> gcc
If it doesn't say like that, create the symlink,
Code:
ln -s /usr/bin/gcc /usr/bin/cc
try recompiling, its highly unlikely that gcc is not installed.
n \
I gt this when I issued the 1st comand--
lrwrxwxrwk 1 root root 12 2006-06-25 21:17 /usr/bin/cc-> /usr/bin/gcc
Even Issued the 2nd command
Nothing happened...

@tech_your_future
I dont log in using root account..
Just use the new root password, when after issueing su command the computer asks for it!
Is it Ok!

Whe I try to install xmms from the Ubuntu cd itself..
It says tht Xmms is not availaible for ur hardware platform.
 

Satissh S

Youngling
nitish said:
Even Issued the 2nd command
Nothing happened...
It creates the symlink, nothing wud actually happen unless. u give the verbose using -v, it will shout what it did.
Code:
create symbolic link `/usr/bin/cc' to `/usr/bin/gcc'
and if u had executed the second command even after getting the desire o/p ie like,
lrwxrwxrwx 1 root root 3 2005-12-17 09:58 /usr/bin/cc -> gcc
the shell wud have told this,
ln: `/usr/bin/cc': File exists
by the way is your problem solved??
r u able to compile?
 

Satissh S

Youngling
@nitish: regarding your problem, that cc is not found in path, give me the output of
Code:
# echo $PATH
this will list all the folders under the path, ie where bash scans for programs.
 
OP
nitish_mythology

nitish_mythology

OSS Enthusiast!
Downloading xmms debian package...
The Gcc prblem will be solved afterwards!(As I need to install my modem drivers too)

Wll post if I encounter any dependencies prb.
 
OP
nitish_mythology

nitish_mythology

OSS Enthusiast!
Faced dependencies prb--
glib and gtk
When I try to install glib the following error comes--
dpkg -deb (subprocess): short read in bufffer_copy (failed to write to pipe in copy)
dpkg-deb : subprocess paste retuned error exit status 2
dpkg: error processing libd.deb (--install):
short read in buffer_copy (backend dpkg-deb during ./usr/share/doc/libdbus-glib-1.2/chagelog.gz
Errors were encountered while processing:
libd.deb
 

mehulved

18 Till I Die............
Seems like your download could be corrupted. See this thread *www.linuxquestions.org/questions/showthread.php?t=334285
 
OP
nitish_mythology

nitish_mythology

OSS Enthusiast!
Thanks Everyone..
The prb of Xmms is solved!
Worked as dir by tech_your_future!

Downloaded glib,gtkcommon and gtk

Then XMMS
How can I download skins for the player?
 

mehulved

18 Till I Die............
Here on the XMMS site *www.xmms.org/skins.php.
I guess we will have to look into GCC now.
Just open up Synaptic from System => Administration menu. And search for GCC. See if it is shown as installed?
 

mehulved

18 Till I Die............
Download this file *132.68.73.235/linmodems/packages/scanModem.gz.
Thanks to eddie and Satissh for the link from here *forum.techspot.in/showthread.php?p=27238#post27238.
Then follow the
Code:
gunzip -d scanModem.gz
sudo chmod a+x scanModem
./scanModem >> scanModem.txt
Now there will be a file created named scanModem.txt. Attach it here. We maybe able to go forward from it.
This part is for your modem. Now, we will also need to sort out gcc to install modem drivers.
 
OP
nitish_mythology

nitish_mythology

OSS Enthusiast!
Thanks everone!
Installed some other gcc lib and gccbase I thnk and now the error message has changed!
Checking for C compiler default output file name...configure: error: C compiler cannot create executables...
 
OP
nitish_mythology

nitish_mythology

OSS Enthusiast!
Executed the modem shell script.
A file was created by modem and a folder with several other files..

Now I want a cd-writing tool to post them here
Installed cdrecord from the Ubuntu disk and installed it successfully!
But the soft does not show up in any menu and neither it is executed by alt+f2(Run)

Wht to do? Any other soft availaible?


Installed Xine too..
The video is playing with no sound!
Between the videos there are pink lines and the qualitty is not up to the mark(Compare them with Media Player or JetAudio)
 
Last edited:
Status
Not open for further replies.
Top Bottom