LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-28-2007, 12:13 PM   #16
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130

The buntus don't use su or su - but sudo. In other words, there isn't any "root" on a Buntu system. That doesn't mean that it isn't possible to set up a root password, though. You first log in with username and user password and then you type sudo passwd; you will be prompted for a root password. But there isn't any need to, just use sudo wherever you'd use su.

You can start xfce with startxfce4; if the system doesn't pick up from there, you put that in a hidden file in your home directory or you can log in through gdm (see /etc/X11/ for the display manager file).

Last edited by jay73; 10-28-2007 at 12:38 PM.
 
Old 10-28-2007, 12:38 PM   #17
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jay73 View Post
The buntus don't use su or su - but sudo. In other words, there isn't any "root" on a Buntu system. That doesn't mean that it isn't possible to set up a root password, though. You first log in with username and user password and then you type sudo passwd; you will be prompted for a root password. But there isn't any need to, just use sudo wherever you'd use su.
ok i tried command "sudo startx" still asks for a password so i put in either blank or my pass won't let me in
 
Old 10-28-2007, 12:47 PM   #18
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
That is puzzling. Are you sure that you are using the same password that you set for your user during install?

Did you install GRUB? Not that it has anything to with your issue, but it will provide a way out if this password issue can't be solved.
 
Old 10-28-2007, 12:50 PM   #19
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128
Blog Entries: 1

Original Poster
Rep: Reputation: 15
well if i can log in doesn't that mean i use the same pass? and i installed grub. can i just start directly to X ?
 
Old 10-28-2007, 12:58 PM   #20
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
You can't start x from grub (not to my knowledge as least) but you can set a password by telling grub to boot into single mode. Just append
single
to the line that goes kernel /vmlinuz etc.
When you get a terminal, type passwd and it will prompt you for a root password.

Oh, by the way, have you tried a simple startxfce4 instead of sudo startx?
 
Old 10-28-2007, 01:32 PM   #21
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128
Blog Entries: 1

Original Poster
Rep: Reputation: 15
i actually got to the sudo working (yaya) but... I start the x server and all i see is a gray screen and the command line takes 1/4 of the screen and that's it ...
 
Old 10-28-2007, 01:45 PM   #22
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
That means you aren't running xfce yet. That can mean two things: either you xfce wasn't installed - but I have no reason to think that it wasn't - or you need to start x with startxfce4.
 
Old 10-28-2007, 02:06 PM   #23
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128
Blog Entries: 1

Original Poster
Rep: Reputation: 15
so:

Boot up
Log in
and "sudo startxfce4"
put in password and it should work?

ok in case there is no xfce installed what do i do?
 
Old 10-28-2007, 02:15 PM   #24
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128
Blog Entries: 1

Original Poster
Rep: Reputation: 15
ok when i try startxfce4 says command not found :/
 
Old 10-28-2007, 02:38 PM   #25
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
OK, let's try and start a log-in screen:

/etc/init.d/gdm start

If gmd is not installed:
sudo apt-get install gdm
then
/etc/init.d/gdm start

You could also select xdm instead; it's a lightweight in comparison but it has more limitations too.

If only a minimal system was installed by mistake:
sudo apt-get install xubuntu-desktop
or if you need just the window manager
sudo apt-get install xfce4.

I'd say, give each a try. You appear to have xorg so it's probably just a matter of getting the log-in manager to launch. Going by the error you got, xfce4 may not be installed yet either. With a luck ,the first one or two commands should do the trick.
 
Old 10-28-2007, 05:09 PM   #26
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128
Blog Entries: 1

Original Poster
Rep: Reputation: 15
now i think it is going crazy...
i tried the first one said it is not there
tried installing asks for cd and never detects it
tried installing xubuntu failes
tried installing xfce4 failed

is there anything else i can do?

or is there a way to install from the normal CD without using the live CD cuz it freezes every time when i reach 54%
 
Old 10-28-2007, 06:55 PM   #27
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
I'm getting a bit confused now. You mention the livecd but in your previous post you said you used the alternate cd. So which one did you really use to install? I believe that the livecd requires at least 192MB of RAM so that might account for any freezes.

Anyway, the reason that you are asked for the cd is because Xubuntu is set to install its basic stuff from the cd but although that option can be uncommented so that it installs everything from the repositories instead. Now it is quite possible that the cd doesn't have gdm - it is the gnome display manager after all and Xubuntu may have only xdm. In that case you should do:

sudo /etc/init.d/xdm start

Before doing this, it may be a good idea to do a little investigation. Check the output of whereis xdm
and
ps ax | grep xdm
If the latter returns anything at all, xdm is already running; if the first one returns a set of paths, you know that it is at least installed, whether it is running or not.
 
Old 10-28-2007, 08:12 PM   #28
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Let me explain i used the alternate CD because during the live cd it always froze exactly at 54%. but it worked ok as a live cd just the install failed so i'm asking is there a way to install using the livecd cd without actually running the session (use a command to directly without a live cd session). Or is it possible to install it via another computer (network install somehow?
 
Old 10-28-2007, 08:49 PM   #29
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Well, I'm not so sure about the latest versions but it definitely was possible to install without a GUI running. It seems to me that this option was removed, however, and that it has been replaced with the standalone alternate installer.

I'm not aware of any option to do a network install. But even if it were, you'd be doing essentially the same as using the alternate cd. It seems very likely that you'd still end up with a command line instead of a GUI.

But this should help:
Log in from the command line as your user (and without using sudo!), list the contents of your home directory:

ls -al

Check whether you have a .xinitrc file.
If yes, do:
echo "exec xfce4-session" >> ./.xinitrc

If not, do:
echo "#! /usr/bin/env bash" >> ./.xinitrc
echo "exec xfce4-session" >> ./.xinitrc
chmod +x ./.xinitrc

Log out and back in. If it doesn't work, you have either a video problem (unlikely since the livecd appears to work) or you already have a display manager running.

Last edited by jay73; 10-28-2007 at 08:51 PM.
 
Old 10-30-2007, 03:24 PM   #30
iro_number1
Member
 
Registered: Jan 2007
Location: Shirley, NY
Distribution: Gentoo
Posts: 128
Blog Entries: 1

Original Poster
Rep: Reputation: 15
ok i lost my faith... Anybody knows a good linux distro that uses some kind of graphical environment and will work on an older machine? (one that is still supported not like ubuntu 5.10)
 
  


Reply

Tags
controller, domain, linux, machine, older, server, swap, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Installing Fedora Core 3 on virtual machine nisha081 Linux - Laptop and Netbook 1 09-15-2006 02:12 PM
problem installing fedora 4 on p2 machine vital4ik Linux - Hardware 6 02-13-2006 06:07 PM
Installing Linux on older machine - Failing Trefalgar Linux - Newbie 9 09-18-2004 02:36 PM
Fedora CDs not bootable on older machine with SCSI drives the theorist Fedora - Installation 2 01-26-2004 06:50 PM
Problem Installing/Booting Slack on Older Machine deesto Slackware 3 12-27-2002 07:47 AM


All times are GMT -5. The time now is 12:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration