Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
just installed slackware 14 on an old phillips pentium 4
no network card seems to have been found
is there a generic driver i can load (RPM) or do i have to find out exactly what card it is in the machine. Its an old machine and i even battled to find out what driver was used for windows
ok so i redirected output of the two commands to text files.
Why was there no home directory for my user? does slack not create a home directory for users by default?
i had no permissions to save files etc
i logged in with root, created a home director and then used chown to change the home directory to my user account
(that the right way to do this? im trying to do as much as possible from the command line, obviously i cant post to this forum from the command line so i copied them off to my usb key and posted via a windows machine)
how would i mount a directory from the usb key to my command line? so i could copy via command line, i went into the gui to copy the files. also...why can i not startx via my user account? only root.
Are you using a wired connection? If so, what does running 'dhcpcd eth0' output?
As an aside, using the 'adduser' command takes care of creating a home directory for you when you add your user. As for starting X, make sure that your user has a valid .xinitrc script. You should be able to copy the one in /root/.xinitrc
Why was there no home directory for my user? does slack not create a home directory for users by default?
As mentioned above, you need to create a new user first (command: adduser)
Quote:
Originally Posted by sigint-ninja
i had no permissions to save files etc
i logged in with root, created a home director and then used chown to change the home directory to my user account
(that the right way to do this? im trying to do as much as possible from the command line, obviously i cant post to this forum from the command line so i copied them off to my usb key and posted via a windows machine)
Once you've created a standard user account, only log in as root to perform administrative tasks that require root privileges - for everyday stuff use the standard account
Quote:
Originally Posted by sigint-ninja
how would i mount a directory from the usb key to my command line? so i could copy via command line, i went into the gui to copy the files. also...why can i not startx via my user account? only root.
To mount a usb key from the command line, you need the 'mount' command. First find out the name of the device. Insert the stick and issue fdisk -l. Your usb device will usually be the last one on the list. You can also identify it by the filesystem or size:
Code:
# fdisk -l
....
....
....
Disk /dev/sdj: 16.4 GB, 16434855936 bytes
24 heads, 9 sectors/track, 148608 cylinders, total 32099328 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdj1 112 32099327 16049608 c W95 FAT32 (LBA)
From the above output I can see that my usb stick contains FAT32 system and its size is 16GB.
Now you can mount it, for example:
Code:
mount -t vfat /dev/sdj1 /home/sycamorex/tmp -rw
Try not to startx as root. Once you've created the normal user, log in as the user and issue xwmconfig to choose a desktop environment. After that, startx should work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.