Problem in display with Xubuntu 8.04

Asked by Abhinav

Hi,
I have a Pentium II ~ 350 Mhz, 128 MB RAM , S3 Vision968 Video card, seagate 4 GB HDD. Recently installed Xubuntu 8.04 from alternate CD. But now my screen looks wierd. All colours are mixed up like 256 colours in windows and the screen resolution is very low. I did xfix but now the screen goes blank. I can't even open xorg.conf.

Please help me with my problem

Thanks
Abhinav

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xorg Edit question
Assignee:
No assignee Edit question
Solved by:
Abhinav
Solved:
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

hello

looks like you have screwed up your xorg

Do try this command:

sudo dpkg-reconfigure xserver-xorg

and to test:

sudo xinit -- :2

where one can see the result on a new X

Regards

Revision history for this message
Abhinav (abhinavhardikar) said :
#2

Nope, this did not work. When I test the new X the screen goes blank

Abhinav

Revision history for this message
Abhinav (abhinavhardikar) said :
#3

Could you please teel me how to edit xorg.conf from rescue mode?

Thanks

Abhinav

Revision history for this message
Abhinav (abhinavhardikar) said :
#4

It gives me an error:

Error 2: Unable to connect to X server

Abhinav

Revision history for this message
Bhavani Shankar (bhavi) said :
#5

OK here it goes:

To make a backup copy of your actual /etc/X11/xorg.conf type: (in recovery mode i.e 2nd option in grub)

cd /etc/X11
cp xorg.conf xorg.conf.bak

give your user password when requested, you don't see nothing when you type it, then press enter.

Then try to reconfigure your xserver-xorg

dpkg-reconfigure xserver-xorg

answer to the simple questions, then restart the pc.

If something goes wrong you can restore the saved copy of your old configuration, open a terminal or login to a virtual terminal by pressing ctrl+alt+F2 and type:

cd /etc/X11
cp xorg.conf.bak xorg.conf

and restart the pc, type:

reboot

Hope it helps

Bhavani Shankar.

Revision history for this message
Abhinav (abhinavhardikar) said :
#6

Hi

I did what you told me but now the screen looks really weird. All the colours are mixep up and the resolution is too low! I made this xorg.conf file just now but will it work:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "us,in"
 Option "XkbVariant" ","
 Option "XkbOptions" "grp:alt_shift_toggle,lv3:ralt_switch"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
EndSection

Section "Device"
 Identifier "Configured Video Device"
 Driver "s3"
 Option "NoLogo" "True"
EndSection

Section "Monitor"
 Identifier "Configured Monitor"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
 Defaultdepth 24
 Option "AddARGBGLXVisuals" "True"
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
  screen "Default Screen"
EndSection
Section "Module"
 Load "glx"
EndSection

Revision history for this message
Abhinav (abhinavhardikar) said :
#7

I made this from my ubuntu on P4.

Abhinav

Revision history for this message
Bhavani Shankar (bhavi) said :
#8

OK try this

sudo apt-get remove xserver-xorg
sudo apt-get update
sudo apt-get install xserver-xorg

After that try running "startx".

(Without quotes)

Regards

Revision history for this message
Abhinav (abhinavhardikar) said :
#9

Made my own configured xorg.conf and it works (vesa work for my video card.

Thanks for your help

Abhinav