LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   X server ??? (https://www.linuxquestions.org/questions/linux-newbie-8/x-server-474378/)

win2suse 08-16-2006 08:09 AM

X server ???
 
Hallo all,
i installed debian on my old laptop with minimal image cd. Then I managed to install gnome, but failed. For that purpose what I have done includes:
1. in aptitude, install Xserver-common;
2. in aptitude, install gnome-core and gdm;

then when I issued startx,
some messages turn up:
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority

X: warning: process set to priority -11 instead of requested priority -10 giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.

Have I corrected install the packages? Should I install more in hope of puting it in work?
regards, win2s

jstephens84 08-16-2006 09:15 AM

At your command line try
Code:

apt-get instal gnome*
That should get gnome for you. But it almost looks like you did not install X windows. try installing gnome that way and tell us what you get.

marozsas 08-16-2006 09:26 AM

Hi jstephens84 !

Sorry win2suse for this off-topic post but I was concerned about a bug in the jstephens84 signature, that could lead his farts blocked forever !

jstephens84, please, apply the patch bellow to your signature and you will be fine.

Code:

--- x1  2006-08-16 11:19:49.000000000 -0300
+++ x2  2006-08-16 11:20:06.000000000 -0300
@@ -6,7 +6,7 @@
 if(fart)
 {
 let it out
-{
+}
 else
 {
 will travel to brain.


:) lol !

win2suse 08-16-2006 10:00 AM

Before I ran your code, I have uninstalled the gnome, but there are still some left due to dependency.

After I issued apt-get install gnome*, many infos flash up, on the last screen says:
Warning, choose ssh-askpass-gnome for reg. Expression >>gnome<<
Warning, choose libgnomeprint-bin for reg. Expression >>gnome<<
Warning, choose libgnomecups1.0-1 for reg. Expression >>gnome<<
Warning, choose gnome-stones for reg. Expression >>gnome<<
Warning, choose libgnomevfs2-common for reg. Expression >>gnome<<
Warning, choose gnomemeeting for reg. Expression >>gnome<<
Some packages could not be installed. This maybe means that you have inquired an impossible situation, or that if you use the instable distro, some required packages have been not created.

Since you have inquired only one operation, it is very likely that the package is not simply installable and should lead an error message about these packages.
The following info pherhaps help you get around the situation:

The following packages have incompetent independency:
libgnome-java: depends on: libgtk-java (>=2.6) however should not be installed
collides: libgnome2-java but 2.8.3-3.1 should be installed
libgnome-juni: depends on: libgtk-jni however should not be installed
collides: libgnome2-jni 2.8.3-3.1 but should be installed
***********************************
The original messages are in German, my translation seems a bit weird :D

jstephens84 08-16-2006 10:09 AM

Quote:

Originally Posted by marozsas
Hi jstephens84 !

Sorry win2suse for this off-topic post but I was concerned about a bug in the jstephens84 signature, that could lead his farts blocked forever !

jstephens84, please, apply the patch bellow to your signature and you will be fine.

Code:

--- x1  2006-08-16 11:19:49.000000000 -0300
+++ x2  2006-08-16 11:20:06.000000000 -0300
@@ -6,7 +6,7 @@
 if(fart)
 {
 let it out
-{
+}
 else
 {
 will travel to brain.


:) lol !

Thanks just saw that bug also. No wonder my brain couldn't seem to function correctly the past couple of days.

jstephens84 08-16-2006 10:11 AM

If you can go to a graphical login then I would suggest doing the install from there. I have never seen this error. Under the graphical window manager I mean to install it using Synaptic.

win2suse 08-16-2006 10:26 AM

before i try my hand on Synaptic, I'd like to know whether it is necessary to make any configuration in xinit.

jstephens84 08-16-2006 10:27 AM

Not that I know of, but I am not 100% sure of that.

pmoroney 08-16-2006 10:35 AM

Generally what I do is first install X Server with:

apt-get install x-window-system

and then install a window manager next:

apt-get install kde

or

apt-get install wmaker

Then create a file called .xinitrc in /home/username with the following:

/usr/bin/wmaker
#/usr/bin/startkde

so that I can easily switch between window managers by commenting / uncommenting the manager I want (I personally like Window Maker the best).

win2suse 08-16-2006 11:19 AM

when I issued synaptic, the message says:
can not open display
I'm right now following pmoroney's scenario. Since kde is the only graphic desktop i want, should I merely type /usr/bin/startkde in a file and save it as .xinitrc? should i make that file executable?

pmoroney 08-16-2006 11:28 AM

Typing

$ startx &

should do the trick. If not /usr/bin/startkde.

pmoroney 08-16-2006 11:32 AM

BTW - .xinitrc does not have to be executable - it is merely a reference file. I use it because I have Gnome, KDE, & Window Maker all installed.

Also note, I start my window manager from a dollar sign prompt. As a general rule, I remove the S99kdm or S99gdm from /etc/rc2.d - I always want Linux to start in character mode. Just a personal preference.

win2suse 08-16-2006 11:50 AM

$ startx &
fails either.

According to the messages:
skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_vertex.o": No symbols found
skipping"/usr/X11R6/lib/modules/fonds/libspeedo.a:spencode.o": No symbols found
(EE) xf860penSerial:Cannot open device /dev/input/mice
No such devie.
(EE) Configured Mouse: cannot open input device
(EE) PreINit failed for input device "Configured Mouse"
The XKEYBOARD keymap compiler (xkbcomp) reports:
>Warning: Typoe "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
No core pointer

Fatal server error:
failed to initailize core devices

XIO: fatal IO error 104 (Connection restet by peer) on X server ":0.0" after 0 reqiests (0 known processed) with 0 events remaining.
++++++++++++++++++++++++++++++++++++
Does it mean that I need some mouse driver?

pmoroney 08-16-2006 12:40 PM

Probably need to configure or re-configure X. Run:

dpkg-reconfigure xserver-xfree86

This will setup your mouse, keyboard, video card, & monitor. Then you should be good to go. Run as root, then drop to mortal user mode to fire up KDE

win2suse 08-16-2006 01:08 PM

You are right. There are sth. wrong with the configuration. I just reconfigured it, this time it works. However the window is not in the center of my lcd monitor. the mouse works nuts. I have to configure it again. What's the counterpart in KDE to control panel in Windows?


All times are GMT -5. The time now is 05:42 PM.