Page 1 of 2

No more Xorg

Posted: Fri Nov 28, 2014 4:33 pm
by galasrinnion
After a pkg update, then pkg upgrade, the system will no longer start the graphical login screen. After the initial boot, The screen is just black. What happenened ?
xorg-server; xorg-drivers; and xorg minimal were all locked from the upgrade.
Can I recover ? ...OR does ghostbsd need to be reinstalled ?
I would like to recover my data at the least and tried to enter the slice from a live puppy distro; but alas the slice didn't show up.

Re: No more Xorg

Posted: Sat Nov 29, 2014 9:32 pm
by ericbsd
The thing is that you did not lock your xf86 drivers. can you log in shell?

Re: No more Xorg

Posted: Sun Nov 30, 2014 12:54 am
by galasrinnion
ericbsd wrote:The thing is that you did not lock your xf86 drivers. can you log in shell?
Yes I can login to the fish shell. Thanks for the quick response. What's next ?

Re: No more Xorg

Posted: Sun Nov 30, 2014 4:21 pm
by ericbsd
Ok were there is a shell there is a way. You need to change change your pkg to the new_xorg repository.

In the fish shell input

Code: Select all

sudo ee /etc/pkg/FreeBSD.conf
replace

Code: Select all

url: pkg+http://pkg.FreeBSD.org/${ABI}/latest"
by

Code: Select all

url: "pkg+http://pkg.FreeBSD.org/${ABI}/new_xorg"
You have can update your xorg by doing this

Code: Select all

sudo pkg install -f xorg-server xorg-drivers xorg minimal
You need to install back your xf86 drivers that your card need you can find it in your /etc/X11/xorg.conf.

Code: Select all

pkg install -f xf86youdrivers
IF you need more help I here to assist!

Re: No more Xorg

Posted: Sun Nov 30, 2014 11:10 pm
by galasrinnion
You need to install back your xf86 drivers that your card need you can find it in your /etc/X11/xorg.conf.

CODE: SELECT ALL
pkg install -f xf86youdrivers

OK...got through to install of xorg stuff. Now how do I get to look at the /etc/X11/xorg.conf to see which xf86 drivers I need to reinstall ?

Re: No more Xorg

Posted: Mon Dec 01, 2014 7:05 am
by ericbsd
look for

Code: Select all

Section "Device"
you might have to in your file look under the first one for Driver it might be "vesa", "intel", "ati", "nv" or other.

When you find your drivers you need to reinstall it.

Code: Select all

ericbsd@ericbsd /u/h/e/networkmgr> sudo operator pkg info | grep xf86
libXxf86dga-1.1.4_2            X DGA Extension
libXxf86misc-1.0.3_2           X XF86-Misc Extension
libXxf86vm-1.1.3_2             X Vidmode Extension
xf86-input-keyboard-1.8.0_6    X.Org keyboard input driver
xf86-input-mouse-1.9.0_5       X.Org mouse input driver
xf86-video-ati-7.5.0           X.Org ati display driver
xf86-video-intel-2.21.15_5     Driver for Intel integrated graphics chipsets
xf86-video-mach64-6.9.4_4      X.Org mach64 display driver
xf86-video-nv-2.1.20_5         X.Org nv display driver
xf86-video-openchrome-0.3.3_4  X.Org openChrome display driver
xf86-video-r128-6.9.2_4        X.Org r128 display driver
xf86-video-sis-0.10.7_4        X.Org sis display driver
xf86-video-vesa-2.3.3_4        X.Org vesa display driver
xf86-video-vmware-13.0.1_4     X.Org vmware display driver
xf86bigfontproto-1.2.0         XFree86-Bigfont extension headers
xf86dga-1.0.3_1                Test program for the XFree86-DGA extension
xf86dgaproto-2.1               XFree86-DGA extension headers
xf86driproto-2.1.1             XFree86-DRI extension headers
xf86miscproto-0.9.3            XFree86-Misc extension headers
xf86vidmodeproto-2.3.1         XFree86-VidModeExtension extension headers
I did grep for you of all those drivers below.

you might need to reinstall of all those drivers below.

Code: Select all

libXxf86dga-1.1.4_2            X DGA Extension
libXxf86misc-1.0.3_2           X XF86-Misc Extension
libXxf86vm-1.1.3_2             X Vidmode Extension
xf86-input-keyboard-1.8.0_6    X.Org keyboard input driver
xf86-input-mouse-1.9.0_5       X.Org mouse input driver

Code: Select all

xf86bigfontproto-1.2.0         XFree86-Bigfont extension headers
xf86dga-1.0.3_1                Test program for the XFree86-DGA extension
xf86dgaproto-2.1               XFree86-DGA extension headers
xf86driproto-2.1.1             XFree86-DRI extension headers
xf86miscproto-0.9.3            XFree86-Misc extension headers
xf86vidmodeproto-2.3.1         XFree86-VidModeExtension extension headers
Plus your drivers.

Re: No more Xorg

Posted: Mon Dec 01, 2014 7:11 pm
by galasrinnion
No luck yet.
here's what I am doing : boot ghostbsd to boot splash, choose 2 single user mode. login with username + passwd. su to root. try to install packages.
However I can't tell if the packages actually install. ???

Re: No more Xorg

Posted: Mon Dec 01, 2014 8:08 pm
by ericbsd
Not sure to understand what you trying to do from their. Do you have a second machine?

Re: No more Xorg

Posted: Mon Dec 01, 2014 9:27 pm
by galasrinnion
ericbsd wrote:Not sure to understand what you trying to do from their. Do you have a second machine?
Hi Eric again,
well I followed your directions and when I reboot the system still no GUI login screen...just darkness.
So in the previous post I explained what I was doing and thought maybe somewhere in that process I was screwing up.
On this computer I have 2 other linux OS's installed that are functional. Does that help you understand ?
If I can copy the home directory to a Linux slice I am OK with reinstalling GHOST.
I'm not sure what is messed up at this point, but if you are not too frustrated, let's continue to see if we can recover the system.

Re: No more Xorg

Posted: Mon Dec 01, 2014 10:10 pm
by ericbsd
This is probably your solution http://www.cyberciti.biz/faq/howto-linu ... ilesystem/.

If you need more help I am here to help.