LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-30-2003, 01:14 AM   #1
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
X server??


I accidently deleted some file and now my system will not boot in Gnome oR Kde...how can i reinstall them?? I can log into my system from commandline
thanks
 
Old 05-30-2003, 02:18 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
you'll need to post a specific error message and your
version of linux for specific instructions., but you can uninstall
gnome or kde, and reinstall them without messing up much.
i assume this isn't an important system, or you wouldn't be
messing around like this.
 
Old 05-30-2003, 10:56 AM   #3
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
I am using Mandrake 9.1 , this is the error message I get

[root @localhost root] kde

execve failed for /etc/X11/X (errno 2)
giving up

xinit : No such file or directory (errno 2) : Unable to connect to X server
xinit : No such process (errno 3) : server error
 
Old 05-30-2003, 11:03 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
do you think you may have deleted some of your
Xfree files? in /usr/X11R6/ ? you can reinstall X.
i don't know if there is a mandrake add remove package
tool, but you can mount the cdrom, and
rpm -Uvh filename --force if you want to reinstall
something.
you should be able to
rpm -qa
to list all the rpm's that are supposed to be currently
installed
you could also rpm -qa|grep xfree
to look for installed rpm's with xfree in the name.
 
Old 05-30-2003, 11:16 AM   #5
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
Actually I was trying to remove kde from my system (I was using gnome) and the system froze. When I rebooted it ...it booted into commandline and apparently deleted files in /etc/X11
Mandrake uses RPM add and remove package tool . Another question is that if i reinstall kde or gnome will it also fix /etc/X11 files?

much thanks
 
Old 05-30-2003, 11:34 AM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
you did try typing startx, right?
were you using kdm to login? that might be where it
is stopping.
 
Old 05-30-2003, 11:47 AM   #7
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
yes i did and i got same error messages upon typing startx
 
Old 05-30-2003, 11:59 AM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
the file .xinitrc in your home directory determines
which window manager X starts with. if it is set to kde
and you uninstalled most of kde, it will not work.
you can edit that file and change what's there to
gnome-session or blackbox or something else.

also answer something before, uninstalling software
will rarely delete config files or data files you have
created. So, if you reinstall what you dumped, the system
will most likely act just as before.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 10:18 PM
Relay Server<-> GatewayServer<->filtering server: PostFix, amavis,spamassassin, cyrus admore Linux - General 0 11-02-2004 09:46 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 06:17 PM
Linux app-server to server StarOffice to Windows Clients: Need advice biosx Linux - Networking 3 08-14-2002 11:14 AM


All times are GMT -5. The time now is 06:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration