black screen after startx?
Hi,
Without wasting much time will Come straight to the point,i installed backtrack4(ubuntu based) few hours ago and i am facing a problem in getting into the graphical mode(live cd)!,hence i tryed to check and run it in a "safe graphical mode" and unexpectedly it works fine! but when i switch to 1024x768 resoultion in the same live cd ,and then when i type startx it just produces a black screen! after doing some research on finding a soultion to this problem i found out that this goto do some thing with editing the xorg.conf file! but when i type xorgconfig,it shows an error saying command not found! sudo dpkg-reconfigure xserver-xorg command just talks about the keyboard bla bla bla! nuthin intresting on graphics or screen section! resource: intel corporation 828456/gl 128 mb a kind request towards you,if u have "any" info on this prob or how to modify the xorgconfig file,kindly please reply Regards, Manish87 |
Quote:
vi /etc/X11/xorg.conf its prolly in the same spot |
Safe graphical mode uses the vesa driver. There is no xorgconfig command. /etc/X11/xorg.conf may not be present by default. - You can create an X configuration file with the following command (as root, from a terminal window):
Code:
Xorg -configure :1 Code:
Xorg -config xorg.conf.new :1 |
One of the best ways: boot the pc with the live cd - copy the xorg.conf from the live cd to the hdd and then reboot and move the saved file to /etc/xorg.config.
Hope this helps. |
Hi,
thanks for the reply zerosignal,rockdoctor and silver black,sry if the questions are lame,but i am still a new bie in linux world! neways my graphics card model and size VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE C hipset Integrated Graphics Device (rev 03) (128mb) horizontal and vertical sync of monitor 30-55 khz 50-120hz @zero signal: this is the ouput of your command,but i still can't figure it out on how we can edit this file xorg file , output: 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 "Device" Identifier "Configured Video Device" Driver "vesa" EndSection Section "Monitor" Identifier "Configured Monitor" EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" EndSection rock doctor: i did try the command which u gave me on my terminal! both ended up giving me a "black screen" again! any other alternatives on how to edit xorg.conf? silver black: can you be more precise on how to "edit xorgconf" to my respc graphic card n monitor resolutn! Kind regards, Manish87 |
Quote:
I think you should follow what rock is saying; cp /dev/cdrom/etc/X11/xorg.conf /dev/sda1???/etc/X11/xorg.conf SDA is what ever partition you installed Backtrack on. and /Dev/CDROM is the location of the Live CD So copy the file from the LIVE CD ----> to your Hard Drive you installed Backtrack on "/dev/SDA1-15" 1-15 represents your partions |
Another thought (for what it's worth - remember, this advice is free). Boot from the live cd and take a look at the configuration file (isolinux.cfg ?) on the live cd. Note the parameters on the kernel line that are used when booting into safe mode. Then just modify your /boot/grub/grub.cfg file appropriately, and boot from the hard drive. Once booted, do a proper modification (by modifying /etc/default/grub - I believe there's a tool for doing this).
|
hi,
thankx for the reply rock,silver and zero. fdisk -l Disk /dev/hdc: 40.0 GB, 40060403712 bytes 255 heads, 63 sectors/track, 4870 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x129c129b Device Boot Start End Blocks Id System /dev/hdc1 * 1 4665 37471581 83 Linux /dev/hdc2 4666 4870 1646662+ 5 Extended /dev/hdc5 4666 4870 1646631 82 Linux swap / Solaris Disk /dev/hdd: 40.0 GB, 40020664320 bytes 16 heads, 63 sectors/track, 77545 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Disk identifier: 0x00600060 root@bt:~# cp /dev/cdrom/etc/X11/xorg.conf /dev/hdc1/etc/X11/xorg.conf cp: accessing `/dev/hdc1/etc/X11/xorg.conf': Not a directory Kind Regards, Manish87 |
When you did that are you logged on as your fresh install? or are you logged on with the Live disc...?
I would boot up the live disc, and once you are in X on the live disc I would mkdir /mnt/whatever mount /dev/hdc1 /mnt/whatever then copy cp /etc/X11/xorg.conf /mnt/whatever/etc/X11/xorg.conf.new once the file is placed in your /dev/hdc1/etc/X11/ DIR i would reboot your live disc X session, and then remove the disc, and boot up your local HD - then i would rename the original xorg mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old then i would rename the .new file we copied over, to the original file - xorg.conf mv /etc/X11/xorg.conf.new /etc/X11/xorg.conf then startx and see if that works |
Hi,
Followed all the above commands as zero instructed, and it works like a charm now! :) :) but there is problem with my screen,that is on my left,bottom and on my top side of the screen i can see about 3-5cms of black screen which is very disturbing, i tryed to change the resoultion to 800x..,but then like my desktop icons looks way too huge,i even try to play around with the monitor hieght n width size thing but even that doesnt prove any good ! any idea on setting CUSTOM RESOULTION? Kind Regards, Manish87 |
Hi,
Followed all the above commands as zero instructed, and it works like a charm now! :) :) but there is problem with my screen,that is on my left,bottom and on my top side of the screen i can see about 3-5cms of black screen which is very disturbing, i tryed to change the resoultion to 800x..,but then like my desktop icons looks way too huge,i even try to play around with the monitor hieght n width size thing but even that doesnt prove any good ! any idea on setting CUSTOM RESOULTION? Kind Regards, Manish87 |
What size monitor?
|
hi,
1024 X 768 Kind Regards, Manish87 |
Quote:
|
Oops! apologies for the wrong info!
its 15 inch crt monitor |
Are you able to adjust screen size at all from Display Manager inside of X?
|
i can adjust the screen size to 800x600 and 640x480 but then i get way too huge icons!
the refresh rate is set to 0 and when i click the configure icon just below it i get a blank window! |
Quote:
lsmod and post the results in here |
Module Size Used by
ipv6 239348 10 sbs 10940 0 sbshc 4500 1 sbs video 18024 0 output 2388 1 video speedstep_lib 3736 0 cpufreq_powersave 1268 0 cpufreq_ondemand 7080 0 cpufreq_stats 4728 0 freq_table 3476 2 cpufreq_ondemand,cpufreq_stats cpufreq_performance 1300 0 cpufreq_conservative 7048 0 iptable_filter 2324 0 ip_tables 10916 1 iptable_filter x_tables 13592 1 ip_tables lp 9412 0 snd_intel8x0 29616 3 snd_ac97_codec 100824 1 snd_intel8x0 ac97_bus 1364 1 snd_ac97_codec snd_mpu401 6952 0 snd_wavefront 37652 0 snd_cs4236 29620 0 snd_wss_lib 24116 2 snd_wavefront,snd_cs4236 snd_opl3_lib 9140 2 snd_wavefront,snd_cs4236 snd_hwdep 6776 2 snd_wavefront,snd_opl3_lib snd_mpu401_uart 6388 3 snd_mpu401,snd_wavefront,snd_cs4236 snd_pcm_oss 37728 0 snd_mixer_oss 14324 1 snd_pcm_oss ns558 4148 0 gameport 9984 2 ns558 snd_pcm 67704 6 snd_intel8x0,snd_ac97_codec,snd_cs4236,snd_wss_lib,snd_pcm_oss snd_seq_dummy 2424 0 rtc_cmos 10156 0 rtc_core 15792 1 rtc_cmos rtc_lib 2388 1 rtc_core parport_pc 24292 1 parport 30572 2 lp,parport_pc snd_seq_oss 27328 0 serio_raw 5016 0 snd_seq_midi 5952 0 snd_rawmidi 19488 3 snd_wavefront,snd_mpu401_uart,snd_seq_midi snd_seq_midi_event 5972 2 snd_seq_oss,snd_seq_midi snd_seq 47568 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 19068 5 snd_wss_lib,snd_opl3_lib,snd_pcm,snd_seq snd_seq_device 6048 6 snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd 50468 21 snd_intel8x0,snd_ac97_codec,snd_mpu401,snd_wavefront,snd_cs4236,snd_wss_lib,snd_opl3_lib,snd_hwdep,s nd_mpu401_uart,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_d evice iTCO_wdt 10584 0 iTCO_vendor_support 2840 1 iTCO_wdt soundcore 5856 1 snd snd_page_alloc 7836 3 snd_intel8x0,snd_wss_lib,snd_pcm shpchp 31560 0 intel_agp 26108 1 agpgart 29356 1 intel_agp evdev 9120 7 pata_acpi 3892 0 ata_generic 4536 0 fuse 53104 1 |
What size monitor?
|
Quote:
|
hi,
i tryed running backtrack in oracle virtual manager it works fine,without having any problem as such when compared to the problem that occurs during loading backtrack from harddisk! Kind Regards, Manish87 |
All times are GMT -5. The time now is 11:28 AM. |