Link to home
Start Free TrialLog in
Avatar of nepk
nepk

asked on

StartX not running

Dear Professional,
Yesterday i have issued a command
su -c "rm -rf /tmp*"
and then i turned off the server and went home. when i came this morning i got the black window (command window) then i have tried to run GNOME by using STARTX then i got the error like

Fatal server error
Could not create lock file in /tmp/ .tx0-lock.

the i have created the folder and file as above. then when I tried again to run startx then new error again occur like

Fatal server error:
could not open default fond "fixed"

please help me. how do i back the server to run with GNOME as before,

regards
Hussain

 
Avatar of avizit
avizit

hmm

rm -rf /tmp*

would have removed your
"/tmp"
 directory

try doing

mkdir /tmp  
chmod -R a+rwxt /tmp




Avatar of nepk

ASKER

It doesn't work either.  
can I install the RPM again for GNOME. I am running redhat linux 8.0. and i have got all 5 CD'S of linux. can i find RPM for GNOME in them? whats the name of that RPM? i went through all CD's and i found lots of RPM just got confused and couldn't find the correct RPM for GNOME

Regards
Hussain
ASKER CERTIFIED SOLUTION
Avatar of avizit
avizit

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nepk

ASKER

thanks its work. thank you very much.

Please give me the solution for the given below. actually i don't have much points left the ask the question again, definitly i will give you 100 points as i mentioned.

How to remove RPM for GNOME and reisntall again. please guide me in this process. I am newbie in Linux.

thanks in advance.
hmm i am not sure bout rpms  ( i install everything from source )

but why dont you reinstall GNOME over itself

rpm -Uvf GNOME-rpm-name


depending upon which linux you are using you may be able to use some graphical utility to install GNOME





Avatar of nepk

ASKER

1. how can i find the install packages, i should know the file name to uninstall?
2. irrelvent question please
explain drwxr-xr-x
drwxr -xr-x  2 root root
please explain it. what does 2 stands for and why two times root written, i ahve issued ls -l

3. how can i see all the users account.

mate sorry to bother you. please help

regards
1.  do a  "man rpm"   that should tell you .I don't know cos I dont have rpm installed on my system
or you can read this  http://www.netadmintools.com/html/8rpm.man.html

2.

drwxr-xr-x  

means its a directory and

first triplet after 'd'   rwx is for the owner of the file  ( r = read , w = write , x= execute )
file owner has r -read, w- write and x- execute permissions
similarly for

next triplet is for group which the owner belongs to
r-x  i.e has read and execute premissions

next triplet is for rest of the users
r-x  .....

the '2' stands for the number of hard links that the file has.

the first 'root' is the name of the file owner
the second 'root' is the name of the group

3 : in most cases you can see user accounts by doing a "ls /home" cos normally all users will have a home directory at /home ( except root )


Avatar of nepk

ASKER

thanks mate

but i have only one hardisk isntalled and you said 2 means for two har disl. please explain it