Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
[SOLVED] problems after resizing the /home partition with Partition Magic
I tried to resize my /home partition with Partition Magic by including unallocated space before. Partition Magic ended with displaying a vague error message (illegal handle or so). After restarting Partition Magic it offered me to fix the irregularities and I accepted. After checking the /home partition with a knoppix all things seemed be fine. Then I rebooted with my installed Debian Etch. But after login with the display manager the screen became black and the display manager returned. I went to the first shell and typed as a user:
Code:
$ startx
and received the following message:
Quote:
xauth: creating new authority file /root/.serverauth.6449
X: warning: process set to priority -11 instead of requested priority -10
Fatal server error:
Server ist already active for display 0
If the server is no longer running, remove /tmp/.X0-lock and start again
Xlib: connection to ":0.0" refused by server
Xlib: invalid MIT-MAGIG-COOKIE-1 key
giving up.
Xinit: unable to connect to X server
Xinit: No such process (errno 3): Server error.
I removed /tmp/.X0-lock with
Code:
$ rm -f /tmp/.X0-lock
but there was no change. Then I created a new user and tried to login with this new one - no success. It seemes to me that the problem is the MIT-MAGIC-COOKIE witch expects users with differend rights. But also the superuser failed with the same error message after typing $startx. And I thought the superuser wouldn`t need the /home directory to use X?
But also the superuser failed with the same error message after typing $startx. And I thought the superuser wouldn`t need the /home directory to use X?
SuperUser is not allowed to run X Server in Debian.
Boot up machine and login as Regular User only. Execute startx command. Does it throw same error again?
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein New Users:Read This First
Yes, I read just since Etch the superuser can`t start X without giving explicit permissions. Trying out $startx as a normal user gave the same message as posted above.
But by the way - my problem is solved!
I`ve forgotten to mention that my /tmp partition was damaged by resizing the /home partition with Partition Magic. So I created a new /tmp but did`nt set the right permissions, i. e. drwxrwx--- instead of drwxrwxrwxt!!!!!!!!!!!!!!
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe