Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Directory /etc/X11 got lost due to a rm -rf ... i have removed and apt-get install back x-window-system xserver-xfree86 and got back /etc/X11 directory with this content
I have installed first xfce4 and tryied also with blacbox but startx gives me a grey background and a white backgroung shell.
I'm sure important files are still missing in /etc/X11 .
I don't want format, how can i save my desktop ?
Thanks!
That is what plain X looks like when running without a Display Manager. You want to look into installing xdm (X Display Manager) so you will get a graphical login screen or creating a .xinitrc in your home directory with a command in it to start your preferred desktop environment like in this thread so it starts xfce4, blackbox ...
root@www:~# apt-get install xdm
Reading package lists... Done
Building dependency tree... Done
xdm is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Ok then I would try apt-get install --reinstall xdm to see if will recreate the proper links for it to start or if starting from command line use /etc/init.d/xdm start.
root@www:~# /etc/init.d/xdm start
Starting X display manager: xdmWed Jul 12 12:05:55 2006 xdm info (pid 918): starting
.
root@www:~# Wed Jul 12 12:05:55 2006 xdm info (pid 918): starting X server on :0
X: unable to open wrapper config file /etc/X11/Xwrapper.config
XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-14sarge1 20050901212727 fjp@localhost.localdomain)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.8-16.0508-2 i686 [ELF]
Build Date: 02 September 2005
This version of XFree86 has been extensively modified by the Debian
Project, and is not supported by the XFree86 Project, Inc., in any
way. Bugs should be reported to the Debian Bug Tracking System; see
<URL: http://www.debian.org/Bugs/Reporting >.
We strongly encourage the use of the "reportbug" package and command
to ensure that bug reports contain as much useful information as
possible.
Before filing a bug report, you may want to consult the Debian X FAQ:
XHTML version: file:///usr/share/doc/xfree86-common/FAQ.xhtml
plain text version: file:///usr/share/doc/xfree86-common/FAQ.gz
Module Loader present
OS Kernel: Linux version 2.6.8-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 Tue Aug 16 12:46:35 UTC 2005
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Jul 12 12:05:55 2006
(==) Using config file: "/etc/X11/XF86Config-4"
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o": No symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o": No symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o": No symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_vertex.o": No symbols found
Skipping "/usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o": No symbols found
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Couldn't load XKB keymap, falling back to pre-XKB keymap
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
Could not init font path element unix/:7100, removing from list!
and this after a restart:
Quote:
root@www:~# /etc/init.d/xdm restart
Stopping X display manager: xdm not running (/var/run/xdm.pid not found)
.
Starting X display manager: xdmWed Jul 12 12:07:55 2006 xdm info (pid 962): starting
.
root@www:~# Wed Jul 12 12:07:55 2006 xdm error (pid 962): error binding socket address 177: Address already in use
Wed Jul 12 12:07:55 2006 xdm info (pid 962): starting X server on :0
X: unable to open wrapper config file /etc/X11/Xwrapper.config
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to submit@bugs.debian.org.
Wed Jul 12 12:07:56 2006 xdm error (pid 962): server unexpectedly died
Wed Jul 12 12:08:11 2006 xdm error (pid 962): server for display :0 can't be started, session disabled
# Xwrapper.config (Debian X Window System server wrapper configuration file)
#
# This file was generated by the post-installation script of the x11-common
# package using values from the debconf database.
#
# See the Xwrapper.config(5) manual page for more information.
#
# This file is automatically updated on upgrades of the x11-common package
# *only* if it has not been modified since the last upgrade of that package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command as root:
# dpkg-reconfigure x11-common
allowed_users=console
nice_value=0
Thanks for the copy of the Xwrapper.config but i still get that ugly minimal x window system .This caos is also because a xorg repository by accident substituted the present xserver-xfree86 that is what i want ... what other files are present in /etc/X11 ?
Quote:
root@www:~# ls /etc/X11/
app-defaults twm XF86Config-4 Xwrapper.config
blackbox X XF86Config-4-20060708-0519
default-display-manager xdm xfce4
... this is mine ... xinit dir is missing , fonts are missing , Xsession.d ....
Thanks for the copy of the Xwrapper.config but i still get that ugly minimal x window system .This caos is also because a xorg repository by accident substituted the present xserver-xfree86 that is what i want ... what other files are present in /etc/X11 ?
... this is mine ... xinit dir is missing , fonts are missing , Xsession.d ....
You may be better off removing all X packages with the --purge option then making sure that you only have the sources for sarge in your sources.list file then reinstall X again if this does not work then I would save my /home files and do a fresh install.
You may be better off removing all X packages with the --purge option then making sure that you only have the sources for sarge in your sources.list file then reinstall X again if this does not work then I would save my /home files and do a fresh install.
I have already installed reinstalled X.Doing a fresh install it's going to happen , not now i have to finish a site for job ....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.