Linux How to get back GUI in OpenSuse 10.2?

Status
Not open for further replies.

montylee

Inactive
Forerunner
Few days back i installed OpenSuse 10.2 on my DG965RY based machine. I downloaded 6 CD ISO images from the Novell website, burnt the first ISO to a CD and installed OpenSuse 10.2 from the harddisk by booting from the first CD and choosing harddisk installation.

Installation was a real pain. Firstly i selected both GNOME and KDE and Compiz, but during the installation it gave an error that it can;t read a specific package. Then i restarted the installation and unchecked that package which was causing the problem. Then again it gave an error on another package. Both package were required by GNOME, so i unchecked GNOME and installation was successful.

Then i got the beautiful Christmas Grub boot screen and the OS booted properly. I wanted to enable the 3D effects on my machine as "Sunbiz" was able to do with his DG965RY based machine.

I searched the internet and tried to enable "Desktop Effects" but it was disabled. I installed the graphics drivers from the Intel website and after installation it showed the correct graphic hardware i.e. G965. But the "Desktop Effects" option was still disabled. So, i did the following steps for running XGL in KDE:

Using Compiz with the KDE desktop

[edit]

default Packages

First, make sure you are logged into KDE just like normal. Go into "Personal Settings", then "Desktop", then "Taskbar". Make sure "Show windows from all desktops" is checked. (Currently this is required for proper functioning of the taskbar under Compiz.)

Now you need to create two files that will let KDE know that you want another window manager (compiz) instead of the default kwin. Open the kate editor as root: KDE Launch (green SUSE logo), Run Command: kdesu kate (you will be prompted for the root password). Copy and paste the following into a new text document:

/usr/bin/compiz gconf & /usr/bin/gnome-window-decorator &

Note: "gnome-window-decorator" has been replaced by "gtk-window-decorator" since openSUSE 10.2.

Save it to /usr/local/bin with the name compiz.sh This file needs to be given execute permissions. That can be done this way: KDE Launch, System, File Manager, File Manager - Super User Mode (you will be promted for the root password). Go to /usr/local/bin, right-click on compiz.sh, choose Properties, Permissions tab, check [x] Is Executable.

One more file is needed: create it following the same procedure as for compiz.sh , but save this one in /opt/kde3/env with the name kdewm.sh and copy and paste this line in it:

export KDEWM=/usr/local/bin/compiz.sh

You also need to make this file executable, in the same way as for compiz.sh. This will instruct KDE to run compiz.sh instead of kwin. Once this is done, log out of KDE and log back in. You should have functioning Xgl on your shiny new K Desktop Environment.

After that i rebooted my machine, only to find out that the disaplay was crushed and i wasn't able to log-in. I booted in Failsafe mode and removed the changes i had done for running XGL but after rebooting it didn't run.

So, what can i do to get back my original desktop?

Also, is it possible to get 3D effects on my machine? (I donno how it worked on Sunbiz's machine: Lucky chap:hap2:)
 
I guess XGL and Compiz was selected during installation and the compiz binary is also in the path. I'll post the exact error soon.
 
Well, just tried to boot into my OpenSuse installation. After booting, X Server is started. The Mouse pointer appears but the display remains black. Even pressing Ctrl+Alt+F1, F2... for opening virtual terminals doesn't work. Ctrl+Alt+Del doesn't work.

I can only login my selecting Failsafe from the Grub boot menu.
 
OK. What seems to have happened is that since installation appears to have partially failed, the XGL X Server is installed, but the rest has not been. This is problematic, as the XGL Xserver is not really a compatible XServer. I read something about this in how if you uninstall XGL, you will have a pain getting X running again.
 
Looks like i''ll have to re-install it.

I am waiting for this month's LinuxForYou magazine. It may have the OpenSuse 10.2 DVD. I am also downloading the latest Ubuntu CD.
 
chezy said:
Could you give the x server output specially whatever is next to "EE" .

There's no XServer output bcoz the moment GUI is initialized the screen goes blank.

and what is EE?
 
OK, do one thing. Boot in the failsafe mode, and change /etc/inittab, modify the initdefault field to 3 (instead of 5). Then boot normally. Finally, invoke startx. See what output it provides.
 
yup i think i tried that. Still i'll post the output.

Yesterday i also downloaded the Ubuntu 6.10 CD... will also try that.
 
EE lines list errors, when the screen blanks out press ctrl+alt+backspace, the screen should flicker and then either blank out again ( in which case press the combination again ) or give a blue screen with an x-server error, try it out.
 
I booted in text mode then ran startx. Here r the errors i get when i boot rthru a normal user login:

XSERVTransSocketUNIXCreateListener:...SocketCreateListener() failed

Fatal Server Error: Cannot establish any listening sockets: Make sure an XServer isn't already running.

giving up.

xinit: connection refused (error 111): unable to connect to X Server

xinit: no such process (errno 3): server error.

When i run startx thru root, i get a grey GUI screen with mouse initialized. But nothing happens. Then keyboard doesn't work and i have to do a cold reboot.

Just found out that This months Linux For You includes the OpenSuse 10.2 DVD. Since, i am subscriber of LFY i'll try re-installing thru the DVD now.

One more problem: I downloaded the Ubuntu's latest bootable CD. While booting it gives the following error:

BusyBox bin.sh can't access tty.

Job control turned off.

Any ideas?
 
Installation was a real pain. Firstly i selected both GNOME and KDE and Compiz, but during the installation it gave an error that it can;t read a specific package. Then i restarted the installation and unchecked that package which was causing the problem. Then again it gave an error on another package. Both package were required by GNOME, so i unchecked GNOME and installation was successful.

Im quite sure....that therez some problem with the image u downloaded.. Did u make an md5 check on it?? Coz whenever I've installed Gnome (atleast 5 diff places), never had a problem!!

or mayb ur DVD Rom is not able to read it correctly!!
 
Ok, wait, the error message you posted was when you ran startx as ordinary user? As root you can go further?

Hmm...

And it hangs at a grey screen with a mouse pointer (cross probably?)....

Xorg.conf file is incorrect. If you have a version of this (or the xfree86 equivalent) lying around that has worked previously on your computer, use that. Otherwise, you can try editing the file manually, but it is not always easy to see what is wrong...

I wonder, is it possible that for some reason gdm is not being run??? That could also be possible.
 
Looks definitely like a problem with your Xorg configuration file. Why don't you try generating a new one and see if it works. You can use SaX2.
 
But can i run Sax2 thru a terminal?

I have mostly worked on Red Hat Linux and i am using Suse for the first time. Can Sax2 be run from the normal terminal? and how can regenerate my XOrg.conf file.

Sunbiz: I had downloaded the 6 CD images instead of a DVD image and it was causing the problem. I'll try the installation from the DVD bundled wtih this month's Linux For You magazine.

Any ideas about the Ubuntu Booting error?
 
yes u can run sax2 from the terminal... and u can have different parameters with the sax2 for the profile u wanna use!!
 
Status
Not open for further replies.