Fedora Linux Support Community & Resources Center
  #1  
Old 27th December 2011, 12:31 AM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,483
linuxfirefox
minimal to gui boot, problems with target?

Heyas

I've recently came accross Aduniacs post about Fedora minimal install.

Due to some accidental chowning of my system on the netbook, i was forced to reinstall it, as i'm not willung to power off the netbook just to get out of the screensaver.

Well anyway, so i did a fresh minimal install, wanted to learn something along the way....

Right after the minimal isntallation, i do a reboot, then run my scripts,
Basicly, after running the script, i (should) have a minimal install with an awesome desktop, and booting straight into gui.
What i get is, a system freeze after grub choice.

And as a matter of fact, it only happens AFTER successfull startDE (which symlinks /lib/systemd/system/(graphical.target to /etc/syxstemd/system/default.target).

Every help is welcome.

EDIT:
Basicly i'd like to ask if ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target would be the proper syntax with systemd for f16 to boot into GUI.
User gets added in the process, and the extra step to install a login manager was done as well.

---------- Post added 27th December 2011 at 01:31 AM ---------- Previous post was 26th December 2011 at 10:51 PM ----------

Ok it is the proper syntax... i've seen a note in /etc/inittab....
The differnce -f just forces the existing symlink to be overwritten.

However... the F16 doc (online) says one should edit the /etc/inittab just the same way one WAS able to do previous to systemd.

Even overwriting the default.target in etc with the default.target from lib doesnt let me properly boot into cli mode . And there are no lib64-targets available.
What else could i be missing?
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 29th January 2012 at 11:11 AM.
Reply With Quote
  #2  
Old 27th December 2011, 01:04 AM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,190
linuxfirefox
Re: minimal to gui boot, problems with target?

Try using, ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
This should invoke the item in /lib/systemd/system/runlevel5.target.wants, which is skipped if you link directly to /lib/systemd/system/graphical.target.

There of course, may be other things you have not installed that are needed to support a GUI.
Reply With Quote
  #3  
Old 27th December 2011, 10:33 AM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,483
linuxfirefox
Re: minimal to gui boot, problems with target?

Thank you PabloTwo, i've tried it now with ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target, but the success is still to achieve
Could you please explain what you ment by:
Quote:
Originally Posted by PabloTwo View Post
in /lib/systemd/system/runlevel5.target.wants, which is skipped if you link directly to /lib/systemd/system/graphical.target..
Should this be done automaticly, by the runlevel5.target?
Either way, the netbook still doesnt want to restart into gui.

I've actualy installed not the 'true' minimal install, i've enabled the 'basic' and 'hardware support' as well, so there not the 202 true minimal packages, but somewhat around 600 packages.
Afterwards, these things were installed:
Code:
instX() { su -c "yum install -y -q xorg-x11-server-common xorg-x11-xinit-drv-evdev xorg*vesa" ; }
source awesome.rh ## (this downloads the awesome.repo, and installs it with yum)
startDE(awesome) { echo -e "#!/bin/bash\n exec $1" > /home/$USER/.xinitrc ; ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target ; }
With F15, the last time i did a minimal install, this was enough to boot into a gui, though if i remember correctly, i just had to edit inittab, which now is nomore an option.

---------- Post added at 11:25 AM ---------- Previous post was at 08:54 AM ----------

Weird, now entred the commands one by one, without script, and it seems that:
xorg-x11-xinit-drv-evdev is not available in the repos, giving it a try now with yum install xorg-x11-xinit* instead.
And ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target as suggested by Pablo... rebooting now ...

Yay! Well its a VERY broken first screen after installation, but its something one may call a GUI (the only thing i can read is Fedora, but thats an image :P

---------- Post added at 11:33 AM ---------- Previous post was at 11:25 AM ----------

Errors were:
gui init: xorg-x11-xinit-drv-evdev --> xorg-x11-xinit*
systemd-target-source: /lib/systemd/system/graphical.target --> /lib/systemd/system/runlevel5.target

So from minimal to gui:
Code:
yum install -y -q slim xorg-x11-server-common xorg-x11-xinit* xorg*vesa
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
However, one still might be missing graphical fonts.
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 27th December 2011 at 10:29 AM.
Reply With Quote
  #4  
Old 27th December 2011, 07:31 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,190
linuxfirefox
Re: minimal to gui boot, problems with target?

Quote:
Errors were:
gui init: xorg-x11-xinit-drv-evdev --> xorg-x11-xinit*
systemd-target-source: /lib/systemd/system/graphical.target --> /lib/systemd/system/runlevel5.target
So, is that saying /lib/systemd/system/graphical.target is a symlink to /lib/systemd/system/runlevel5.target ??

If so, that's wrong. /lib/systemd/system/graphical.target is an ASCII text file, not a symlink. At least, it's supposed to be.
Code:
BASH:~/-> cat /lib/systemd/system/graphical.target
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.

# See systemd.special(7) for details

[Unit]
Description=Graphical Interface
Requires=multi-user.target
After=multi-user.target
Conflicts=rescue.target
AllowIsolate=yes

[Install]
Alias=default.target
Reply With Quote
  #5  
Old 27th December 2011, 07:49 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,483
linuxfirefox
Re: minimal to gui boot, problems with target?

Nope, the errors were left side, fixed with the one beeing on the right sdie.
Wrong Value --> Working Value
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot
Reply With Quote
  #6  
Old 29th January 2012, 05:46 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,483
linuxfedorafirefox
Re: minimal to gui boot, problems with target?

Re-open, as i'm facing the same issue again.

Probably it'll work, now that i've just reinstalled minimal the 2nd time today.

Way to reproduce:
1) DD if=Netinstall.iso of=usbkey
2) boot usbkey
3) install minimal, 196 packages
4) run script
Code:
#!/bin/bash
clear ; echo Achieve a minimal GUI
yum install -y xorg-x11-server-common -xorg-x11-xinit* xorg*vesa
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
5) reboot, after plymouth -> blackscreen, keypress produce "^[["
6) dmesg|grep EE
[11.xxxxx ] iwlwifi 000:05:00.0: devies eeprom ver=0x716, calib=0x6

Going to install lxde packages now, and reboot to test..
There must be something i'm missing.

---------- Post added at 01:33 PM ---------- Previous post was at 12:40 PM ----------

Ok, after
yum groupinstall lxde, another 136 packages, it stops after message:
Quote:
Started OpenSSH server daemon
.

When i switch the VT2, it 'jumps' back to VT1 after a few seconds.
The only error is the same iwlwifi....
While the Toshiba doesnt have an ~/.xinitrc, i dont think the Samsung requires one (the one i'm setting up now.

Rewritten: /etc/sysconfig/desktop
Quote:
DISPLAYMANAGER=lxdm
PREFERRED=/usr/sbin/lxdm
Still, it hangs (again) on a blackscreen, while dmesg doesnt show any error messages (dmesg|grep EE)

---------- Post added at 06:46 PM ---------- Previous post was at 01:33 PM ----------

Anyone please?
I'll provide info, but dont know what you might need.
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 29th January 2012 at 05:45 PM.
Reply With Quote
  #7  
Old 29th January 2012, 06:09 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,190
linuxfirefox
Re: minimal to gui boot, problems with target?

Maybe you should get more sleep. Why aren't you trying "grep EE /var/log/Xorg.0.log" instead of "dmesg|grep EE" to resolve X start up issues?
Reply With Quote
  #8  
Old 29th January 2012, 06:41 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,483
linuxarchfirefox
Re: minimal to gui boot, problems with target?

Didnt thought of that, as havent used them yet.

Code:
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   123.218] (II) Loading extension MIT-SCREEN-SAVER
[   123.225] (EE) Failed to load module "intel" (module does not exist, 0)
[   123.227] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   123.228] (EE) Screen(s) found, but none have a usable configuration.
Before this output, i thought i might be missing some service or deamon...
Am i missing drivers?
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot
Reply With Quote
  #9  
Old 29th January 2012, 06:52 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,190
linuxfirefox
Re: minimal to gui boot, problems with target?

Quote:
Originally Posted by sea
Am I missing drivers?
I don't know, are you?
Code:
BASH:~/-> rpm -qa | egrep "intel|fbdev"
xorg-x11-drv-intel-2.17.0-8.fc16.x86_64
xorg-x11-drv-fbdev-0.4.2-2.fc16.x86_64
Reply With Quote
  #10  
Old 29th January 2012, 09:18 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,483
linuxfedorafirefox
Re: minimal to gui boot, problems with target?

Thank you very much PabloTwo.
Its been those 2 drivers.
You happen to know if they are the same for an ATI gpu and/or and nVidida gpu?

Anyways, after successfull having a GUI, the first logon was displaying tons of squares, rather than any alphabetic chars.
Installed xorg-x11-fonts*, i'm having a nice GUI with readable text
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot
Reply With Quote
  #11  
Old 30th January 2012, 12:31 AM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,190
linuxfirefox
Re: minimal to gui boot, problems with target?

From your script:
Code:
yum install -y xorg-x11-server-common -xorg-x11-xinit* xorg*vesa
What you should be doing to get a fully supported X server is:
Code:
yum group install "X Window System"
Then you have the whole enchilada.

I suppose ATI cards generally use the "ati" driver, I think formerly named "radeon" and nviidia cards use the "nouveau" driver. You'll also notice driver for older ati cards.."mach64" and "r128"
Code:
BASH:~/-> yum list xorg-x11-drv-* | grep x86_64 | sort | awk '{print $1}'
xorg-x11-drv-acecad.x86_64
xorg-x11-drv-aiptek.x86_64
xorg-x11-drv-apm.x86_64
xorg-x11-drv-ark.x86_64
xorg-x11-drv-ast.x86_64
xorg-x11-drv-ati.x86_64
xorg-x11-drv-catalyst-devel.x86_64
xorg-x11-drv-catalyst-libs.x86_64
xorg-x11-drv-catalyst.x86_64
xorg-x11-drv-chips.x86_64
xorg-x11-drv-cirrus.x86_64
xorg-x11-drv-displaylink.x86_64
xorg-x11-drv-dummy.x86_64
xorg-x11-drv-elographics.x86_64
xorg-x11-drv-evdev-devel.x86_64
xorg-x11-drv-evdev.x86_64
xorg-x11-drv-fbdev.x86_64
xorg-x11-drv-fpit.x86_64
xorg-x11-drv-glint.x86_64
xorg-x11-drv-hyperpen.x86_64
xorg-x11-drv-i128.x86_64
xorg-x11-drv-i740.x86_64
xorg-x11-drv-intel-devel.x86_64
xorg-x11-drv-intel.x86_64
xorg-x11-drv-ivtv.x86_64
xorg-x11-drv-keyboard.x86_64
xorg-x11-drv-mach64.x86_64
xorg-x11-drv-mga.x86_64
xorg-x11-drv-mouse.x86_64
xorg-x11-drv-mutouch.x86_64
xorg-x11-drv-nouveau.x86_64
xorg-x11-drv-nvidia-devel.x86_64
xorg-x11-drv-nvidia-libs.x86_64
xorg-x11-drv-nvidia.x86_64
xorg-x11-drv-nv.x86_64
xorg-x11-drv-openchrome-devel.x86_64
xorg-x11-drv-openchrome.x86_64
xorg-x11-drv-penmount.x86_64
xorg-x11-drv-qxl.x86_64
xorg-x11-drv-r128.x86_64
xorg-x11-drv-rendition.x86_64
xorg-x11-drv-s3virge.x86_64
xorg-x11-drv-s3.x86_64
xorg-x11-drv-savage.x86_64
xorg-x11-drv-siliconmotion.x86_64
xorg-x11-drv-sisusb.x86_64
xorg-x11-drv-sis.x86_64
xorg-x11-drv-synaptics-devel.x86_64
xorg-x11-drv-synaptics.x86_64
xorg-x11-drv-tdfx.x86_64
xorg-x11-drv-trident.x86_64
xorg-x11-drv-tseng.x86_64
xorg-x11-drv-v4l.x86_64
xorg-x11-drv-vesa.x86_64
xorg-x11-drv-vmmouse.x86_64
xorg-x11-drv-vmware.x86_64
xorg-x11-drv-void.x86_64
xorg-x11-drv-voodoo.x86_64
xorg-x11-drv-wacom-devel.x86_64
xorg-x11-drv-wacom.x86_64
The "nvidia" and "catalyst" drivers in the list above are from rpmfusion. Everything else is from the standard Fedora repos.

Last edited by PabloTwo; 30th January 2012 at 12:34 AM.
Reply With Quote
  #12  
Old 7th February 2012, 01:35 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,483
linuxfirefox
Re: minimal to gui boot, problems with target?

Once more i have problems with this topic.
Even harder, dmesg|grep EE shows nothing and /var/log/Xorg.0.log doesnt even exist.

And again, i try a minimal install, thus, using a listfile named appps.x11
Quote:
xorg-x11-server-common
xorg-x11-xinit*
xorg-x11-drv-intel
xorg-x11-drv-evdev*
xorg-x11-drv-fbdev
xorg*vesa
xorg-x11-fonts*
xorg*keyboard*
xorg*mouse*
xorg*mutouch
xorg*synaptic*
xorg*vm*
I dont know where to look for errors now.
Every help, question, hint is welcome..

---------- Post added at 12:37 PM ---------- Previous post was at 09:19 AM ----------

Ahh right, there was an error with the login manager script, its an idea of the fault without verification.
Going to dig into that now, to be sure about it.

---------- Post added at 02:35 PM ---------- Previous post was at 12:37 PM ----------

Yay, solved.
Each script was working, but beeing in wrong order, didnt work too well.
Should have installed a DE, rather than running loginmgr without a DE installed.
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot
Reply With Quote
Reply

Tags
boot, gui, minimal, problems, systemd, target

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F14: Minimal install, minimal packages for X, KDE, NVIDIA darlingm Guides & Solutions (No Questions) 5 2nd May 2012 06:37 PM
Minimal Boot Media ghlinux Using Fedora 14 17th April 2008 06:41 PM
Minimal boot CD error DerrikeG Alpha - Beta (Fedora 9 Only) 0 17th April 2008 04:10 PM
minimal boot, no gui? pabrown Using Fedora 3 10th October 2007 03:47 AM
USB Boot / Minimal Console jaytea75 Using Fedora 5 1st November 2004 03:21 AM


Current GMT-time: 02:23 (Thursday, 23-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Along - Tanuku - Guaira Instagram Photos