LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Grafpup
User Name
Password
Grafpup This forum is for the discussion of Grafpup Linux.

Notices


Reply
  Search this Thread
Old 06-05-2007, 10:24 PM   #1
isetyawan
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
Question Grafpup 2.00 - Problem adding user after Hard disk installation under Virtual Box


Hi,

I am running GrafPup 2.00 from within Windows using Virtual Box. I installed (full installation) GrafPup to a Virtual Hard Disk created by Virtual Box. The installation went well. I could setup GRUB and login to the system (using user "root"). The system seems to be running well, too.

The problem starts when I tried to add a user. I used the User management GUI to add a new user (say, "isetyawan") and proceed to set the password. Then tried to login using this user (using the graphical login screen) but the screen simply flickers for a couple of seconds and then "resets", i.e., asks for a user name and password again. When I entered "root", the system allows me to login as expected.

I checked the "/" partition and could not find the "/home" directory. Thinking that this is the problem, I manually created the "/home/isetyawan" directory, chowned it to "isetyawan", delete the user and recreate this user. When I look into the "/home/isetyawan" directory, I see some files and directories have been created in it by the system.

I proceed to logout and login again as "isetyawan", but again I cannot enter the system. I have to use "root" to login.

Currently I am at a loss. I don't know how to proceed. Is this a bug in the user management GUI? Incompatibility with Virtual Box? FYI, I could successfully change the "root" password using this GUI. And, BTW, I could not login to the system using user "grafpup" (password "grafpup") after installing the system either. When running GrafPup as a LiveCD (also under Virtual Box) I could login as either "root" or "grafpup". However, I did not try to create a new user.

Any suggestion?

- Iwan
 
Old 06-06-2007, 12:43 PM   #2
Nathan F
Grafpup Developer
 
Registered: Jun 2006
Location: Houston, TX
Distribution: Grafpup, Dyne::Bolic
Posts: 63

Rep: Reputation: 15
Sounds like for one thing, a bug in the installer because /home was not present. As to the rest, if certain files are not present in the home directory a user will not be able to run X. Try manually copying all the files from /etc/skel (including all the hidden files) into the new home directory, then chown them to your new user and the group "users".
Code:
chown -R newuser:users /home/newuser
If /home did not exist then this same problem would also apply to the user "grafpup".

I think there is also a bit of a bug in the usermanager script, which will cause the process to fail if the home directory already exists. I'll have to check on the code a bit. Actually, that whole utility will probably see a total rewrite to give it a nicer gui pretty soon.

Nathan
 
Old 06-07-2007, 01:07 AM   #3
isetyawan
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Nathan,

Thanks for the instructions. It works! I think the problems were:
- the installation script (?) somehow forgot to create /home
- after manually creating /home/newuser, the script that creates user "newuser" copied the /etc/skel to /home/newuser/skel, instead of copying /etc/skel/* to /home/newuser.

Again, thanks for the hints!

- Iwan
 
Old 06-08-2007, 12:04 AM   #4
Nathan F
Grafpup Developer
 
Registered: Jun 2006
Location: Houston, TX
Distribution: Grafpup, Dyne::Bolic
Posts: 63

Rep: Reputation: 15
I'm compiling a "service pack" with some minor and some not so minor bugfixes. The missing /home directory and some issues with the user manager have now been fixed. I want to get a few other things into the patch but I will try to release it within a few days.

Nathan
 
Old 06-11-2007, 12:52 AM   #5
eagles-lair
Member
 
Registered: Nov 2004
Location: Adelaide, Australia
Distribution: Lindows/Linspire, SuSE, PC-BSD, ubuntu, puppy
Posts: 239

Rep: Reputation: 30
also applies to installed grafpups

I installed grafpup to half a 6Gb plug-in HDD with the aim to install puppy 2.15ce/EZpup to the other half.

The installation was straightforward although the grub installer insisted on pointing towards hda2 whereas the installation was in hda1!

No probs, I fixed that (in another thread) but like isetyawan I had to create /home, and then /home/newuser manually.

After copying /etc/skel directory structure to /home/newuser/skel, I was able to create two home directories.

So maybe your Service Pack might like to address that vagiary too

Richard
 
Old 06-11-2007, 06:29 AM   #6
saradisn
LQ Newbie
 
Registered: Jun 2007
Location: Patra,Greece
Distribution: grafpup
Posts: 2

Rep: Reputation: 0
Hi, great work,everything works fine ,even the Speedtouch 585i v6!(It didn't work ANYWHERE else!)
But a had the same problem with isetyawan and because
I haven't experience in Linux , could you explain the steps one-by-one?
 
Old 06-11-2007, 07:26 PM   #7
eagles-lair
Member
 
Registered: Nov 2004
Location: Adelaide, Australia
Distribution: Lindows/Linspire, SuSE, PC-BSD, ubuntu, puppy
Posts: 239

Rep: Reputation: 30
Quote:
Originally Posted by saradisn
But a had the same problem with isetyawan and because
I haven't experience in Linux , could you explain the steps one-by-one?
Okay, what you need to do is this...

Start here
Open the file manager by clicking on the button that looks like a house. You are in the root login by the way. Root's "home" directory is always in the /root section of the file system.

This can be confusing. the "root" of the filesystem is not the same place

Lesson starts
The filesystem root is where it all starts, the highest part of the file tree, and a single slash shows it like this /

The root user, also known as super user and in Windows language administrator, is in one of the directories off that document root. Because all administration needs to be done by someone who has root privileges, the directory is called /root.


Step 1
Starting from the root home directory, go up one level, where you will see all of the first level subdirectories, with unusual names like /boot /etc /mnt /usr and so on.

There should be one called /home - but there is not. You need to create it. Right click, scroll down to new, select directory and type the name home over the default directory name NewDir.

Important. Use lower case for directory names - and preferably filenames too. And no spaces between words

Change into that directory, then create another new directory within it, called newuser


Step 2
Open another instance of root's Home directory by clicking on the house either on the desktop or next to the start menu button.

Go up one level, select the etc directory. click on the "skel" directory and drag it to the /home/newuser directories you have just created. Pick copy, not move, and the structure is transferred.


Step 3
You are now free to create new users (even the grafpup user got lost). You can also change the root password if you want to. And also organise automatic logins, etc, etc, but that is another topic altogether


Best of luck my friend. Linux and Unix are not frightening. They only look that way After all a response by Windows like "Illegal Command" is just as nerve-racking imho.

Welcome to the land of sanity with grafpup. It's a goodie to use too Ask as much as you like. That's what forums are for - at least some are We all acquired what we know now through asking others, none of us figured it all out by ourselves...

Richard in Adelaide

Last edited by eagles-lair; 06-11-2007 at 07:29 PM.
 
Old 06-12-2007, 05:39 AM   #8
Nathan F
Grafpup Developer
 
Registered: Jun 2006
Location: Houston, TX
Distribution: Grafpup, Dyne::Bolic
Posts: 63

Rep: Reputation: 15
Actually, the contents of /etc/skel are what need copied to the new user's home, not the directory itself. And the only bug in the usermanager (besides being ugly, which I mentioned before) is that new users will not be added correctly if /home does not exist. So once /home has been created just run the usermanager program and add a new user that way.

Nathan
 
Old 06-12-2007, 05:58 AM   #9
saradisn
LQ Newbie
 
Registered: Jun 2007
Location: Patra,Greece
Distribution: grafpup
Posts: 2

Rep: Reputation: 0
Problem solved.
I installed KDE too.I'll ask in another post , why my Microsoft wireless optical mouse doesn't work with any distribution.
 
  


Reply


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
Grafpup 2.0 Hard Disk install problem PBH Grafpup 3 06-01-2007 04:42 PM
Can I use a virtual machine hard disk as a real hard disk, or vice versa? onlineapps Linux - Software 1 02-24-2007 08:40 PM
Virtual Hard disk detection for Single User Mode adeelenter Linux - Hardware 3 01-31-2007 01:32 AM
Mepis - writing to hard disk as user problem faithman2k Linux - Newbie 10 06-19-2005 09:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Grafpup

All times are GMT -5. The time now is 02:51 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration