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.
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.