No more Xorg

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
User avatar
galasrinnion
Posts: 40
Joined: Tue Oct 28, 2014 12:45 pm

No more Xorg

Post 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.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: No more Xorg

Post by ericbsd »

The thing is that you did not lock your xf86 drivers. can you log in shell?
User avatar
galasrinnion
Posts: 40
Joined: Tue Oct 28, 2014 12:45 pm

Re: No more Xorg

Post 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 ?
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: No more Xorg

Post 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!
User avatar
galasrinnion
Posts: 40
Joined: Tue Oct 28, 2014 12:45 pm

Re: No more Xorg

Post 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 ?
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: No more Xorg

Post 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.
User avatar
galasrinnion
Posts: 40
Joined: Tue Oct 28, 2014 12:45 pm

Re: No more Xorg

Post 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. ???
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: No more Xorg

Post by ericbsd »

Not sure to understand what you trying to do from their. Do you have a second machine?
User avatar
galasrinnion
Posts: 40
Joined: Tue Oct 28, 2014 12:45 pm

Re: No more Xorg

Post 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.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: No more Xorg

Post 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.
Post Reply