DebianThis forum is for the discussion of Debian Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
After I installed x-window-manager on my computer, I decided to move some directories to others partitions, directories like /home, /tmp and /var. With /home and /tmp there are no problems. After I rebooted the computer, that was fine. When I tried to move the /var directory, I created the new file system, mounted /mnt/var to it and copied all the files from /var to it (cp -a /var/* /mnt/var/).
As I didn't set the runlevel to 1, and didn't stop the x-window, it was loaded when I rename the /var directory to /var.old. After that, I created the new /var directory and mounted it to the new partition. I updated my fstab with that mount point. While I was rebooting the computer, I've noted an error in the x-window screen. After I reboot the computer, I can't log on the X with my default user, unless I execute the su - command on the console before call startx.
Anyone could help-me? I have to reinstall the linux-debian?
Or I have to reinstall only the x-window-manager? In this case, what is the best way to do this (apt-get remove and apt-get install?)?
When I was logged as my default user, i tried to call the 'man' command, but an error occurred, saying that was not possible to create the temporary file. Then I looked to the rights to the /tmp dir (one of the dirs that I moved to another partition) and I saw that I did'n have rights of write on that dir. When I changed that (chmod o+w /tmp), I started X without problems.