LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-21-2018, 02:14 PM   #1
Myphre
LQ Newbie
 
Registered: Oct 2018
Posts: 21

Rep: Reputation: Disabled
Post Problems! A lot of (easy?) problems? Main : " No Screen Found"


Hi,
I'm new on linux and i installed Slackware. My laptop is an Acer Aspire 5 - A515-51G-58VH and i have an intel-nvidia GPU ("Nvidia Optimus").
I try to install my drive of Nvidia, so i could open the graphic mode ( startx), but i still receive the error " no screen found " when i type start x.

In that process, i knew how to conecto to internet but, after update my system, (slackpgk update && slackpkg upgrade -all) all my configuration was changed: my wifi doenst work anymore, my USB keyboard isnt on (only the keyboard of my laptop) and i do not know what more have changed.

What can I do to solve that problems?
Will I need to updat my kernel, to fix my GPU? (https://www.linuxquestions.org/quest...-a-4175594097/)
How to reconfigure my internet? I have tryed again but isnt work: ( https://www.linuxquestions.org/quest...27-4175640422/) netconfig and then log in


How can I reconfigure or come back to old files before the update? All the times when I update the system, I need to recheck that configuration files? I remeber after update the system he asked about overwrite the old files with the new ones... but i was thinking that the configuration would persist.

How can I know where is my win10 files in the HD? Is in some " sdb " way? I do not remeber how i maked that in Debian. Will be more easy to send the output of comands files here.
And, why when i save my work in terminal with scrip comand (script output.txt) and i open with nano, the file is strange: a lot of unknow caracteres? Nano is the problem? the way to save as scrip( script output.txt)?

In slack i will do not have comands like the 'aptitude' and 'app-get'? There is a way for me to know better the comands, the place of files and the functions of Slack/linux? A linux guide book? haha some indication?
Like the diference of nmcli and nmtui

Thx for the help!

links that i used:
// GPU questions:
https://docs.slackware.com/howtos:ha...[]=optimus // Update my GPU
https://docs.slackware.com/howtos:ha...aphics_drivers // Update GPU
https://www.linuxquestions.org/quest...-a-4175596380/ //Same problem of mine

//Comands help:
https://unix.stackexchange.com/quest...tput-to-a-file // save output of //terminal

//reconfigure my internet
https://www.linuxquestions.org/quest...27-4175640422/

Last edited by Myphre; 10-21-2018 at 02:16 PM.
 
Old 10-21-2018, 06:16 PM   #2
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,780

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
Hello Myphre and welcome to Linux and especially Slackware. I hope you discover how special Slackware is and find that's "just what the doctor ordered" to fix what ails ya

In that vein I don't dare delve too deeply into some of your problems because despite almost 20 years on Slackware as my Main, I guess I am something of a Luddite among Luddites since I am very resistant to changes such as relying on any manner of package automation. Slackware to me means far more than just the distro that didn't cave in to systemd (never!) and pulseaudio (fixed recently). It means nothing happens that I didn't initiate so I know exactly what my problems are. Usually it is me and whatever I just did.

Anyway your issue with nvidia drivers is common and easily fixed because it is a special case called The Optimus System that uses Intel graphics and hands-off to nvidia when the going gets serious. It's well documented and there are complete threads on thisd subject here at LQN but I'd start with understanding what you have and how Slackware sees it...Start here ===>>

https://docs.slackware.com/howtos:ha...nvidia_optimus

Once again hope you find a happy home here. The members are pretty damned awesome and the Forum is in my top 5.
 
Old 10-21-2018, 10:32 PM   #3
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Quote:
Originally Posted by Myphre View Post
A linux guide book? haha some indication?
Please read these and post back if you have further questions:

http://www.slackbook.org/
https://docs.slackware.com/slackware:beginners_guide

Those two documents should answer many of the questions you have about Slackware, and are recommended for any Linux or Slackware newbie.
 
1 members found this post helpful.
Old 10-21-2018, 10:53 PM   #4
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 401

Rep: Reputation: 32
Quote:
Originally Posted by Myphre View Post
In that process, i knew how to conecto to internet but, after update my system, (slackpgk update && slackpkg upgrade -all) all my configuration was changed: my wifi doenst work anymore, my USB keyboard isnt on (only the keyboard of my laptop) and i do not know what more have changed.
My gut feeling and experience tells me not to use any sort of automagical update utilities. I tend to install the latest, (in this case version 14.2) and leave it at that, unless there is a program that I'm installing that I absolutely MUST use and the only way is to update some libraries or something. Which is quite rare.

Quote:
How can I reconfigure or come back to old files before the update?
You could read the slackpkg documentation and tutorials on how to undue whatever process you did. I don't use slackpkg, so I can't suggest anything. You could always do the nuke method, and just re-install from scratch.

Quote:
How can I know where is my win10 files in the HD?
Try: sudo /sbin/fdisk -l | grep -i ntfs

Quote:
In slack i will do not have comands like the 'aptitude' and 'app-get'?
The closest thing that I use that resembles that is www.slackbuilds.org.

Last edited by hedron; 10-21-2018 at 10:54 PM.
 
Old 11-04-2018, 12:06 PM   #5
Myphre
LQ Newbie
 
Registered: Oct 2018
Posts: 21

Original Poster
Rep: Reputation: Disabled
Thanks for the post and sorry for the delay, but im still with the problem.

I have posted the list of questions to organize myself. A lot of 'tabs' are open in my internet browser, not only in my laptop with win 10, but in my cellphone too and im going crazy with that. I also have tried the begginers guide, just forgot to put him in the list

In the case, I wanna use the Intel GPU, because games and other thing that requires the Nvidia GPU I think its best in my Win10. As I understood, my Slackware kernel by himself should recognize my intel GPU and play the graphic mode, correct? But that do not ocoor.

I try, as i sayed, install the driver of my Nvidia GPU but the error "No screen found" persisted. So, as i updated the system and all the things changed, I formatted and reinstalled Slackware.

So..Its my Kernel the problem? I also tried to verify the update of my intel GPU. I found that site: https://www.intel.com/content/www/en...s-drivers.html
and that: https://01.org/linuxgraphics/downloa...s-stack-recipe
but I do not understood very well what I need to keep my GPU intel. The description in the slackware files about Optimus isnt working and i
never actualized my kernel before.

AS i can see, the system does not recognize my GPU, be it from Intel or Nvidia.

I do not understood,about updates, isnt an updated system more secure than a system out of date? Doesnt i need to uptade my system?
 
Old 11-11-2018, 01:59 AM   #6
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 401

Rep: Reputation: 32
> I wanna use the Intel GPU, because games and other thing that requires the Nvidia GPU
I don't understand this sentence. You want to use the Intel graphics because games require nvidia? Last time I checked dual-gpu wasn't supported very well (if at all) and it's best to use one or the other. If you want to only use the intel gpu, then don't bother even installing the nvidia drivers.

It's better to have an updated system, but if it isn't working, then updating is pointless.
 
Old 11-11-2018, 03:24 AM   #7
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
When using slackpkg it will give you a prompt regarding configuration files. You can select to be prompted to examine each new configuration file separately. You can use diff to look at what has changed. You can overwrite them, save the new file(s) to look at later, or remove the new configuration files. I usually prompt and go through them to see what is different.
 
Old 11-13-2018, 02:43 PM   #8
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Just ask one question. Post output of dmesg command (run as root '# dmesg' ) and contents of Xorg.0.log file. Look at /etc/X11/ directory. There is xorg.conf file configured so X server will run on framebuffer. If your frambuffer device is running (you can login in text console), you should be able to start X on that frame buffer as graphic device. In terminology of X server 'screen' is not just 'screen'. 'Screen' may contain multiple devices: mouses (pointing devices), keyboards - they all together create 'screen'. So 'no screen' can mean: no keyboard, no mouse, no monitor, no graphic device. If one of these devices fail to work - X server can't manage to complete default layout.
 
Old 11-13-2018, 04:00 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
nVIDIA Driver Installation and Configuration

https://docs.slackware.com/howtos:ha...aphics_drivers

Quote:
I do not understood,about updates, isnt an updated system more secure than a system out of date? Doesnt i need to uptade my system?
Yes and updated system is more secure.
Yes you do need to update the system.

If you choose a mirror you can update your Slackware system as root with:
Code:
slackpkg update
What is the output of:
Code:
lspci | grep -i VGA
 
1 members found this post helpful.
Old 11-15-2018, 07:14 PM   #10
Myphre
LQ Newbie
 
Registered: Oct 2018
Posts: 21

Original Poster
Rep: Reputation: Disabled
Arrow

Ok,i actualized my kernel to the last one, the 4.19.14 (https://www.kernel.org/), and i could enter in the startx. But, my USB keyboard, my mouse, my USB ports in general - even with a pen drive -, and my touchpad didnt work. Only my laptop keyboard worked. Why?
I checked the HID option in the kernel menu. Would i left something (see questions 3, 4 and 5)?

I have take the outputs of the comands, but, i could not find my win10 directory. The comand " /sbin/fdisk -l | grep -i ntfs " give an error - i will post later, forgot to keep him on paper. How can i find my win10 directory? In instalation, he kept the directory "/win10",as asked in the process - the program find some files of windowns and asked if i wanna a directory to them and who could writen and see. I know my win10 files are in the " sda3", and i can see then in some color like yellow in /dev/ . But, i could not see the files or mount like a USB stick(pen drive).



Ok, doubts: (i'm root)

1)What are those yellow/orange files? What is the green ones with * in the end (is like a pointer, like in C)?

2) I had follow the process descript in the "slackbook-2.0.pdf", that is inside my DvD of instalation. Ok, in the process he says to put " make dep" The output is an error. But, " make -dep" run. Is that to be done? haha ( never saw so much strings and letters passing so fast in my front) Or the comand doesnt work because of the diference in kernel versions ( 2.2.16 is the version used in the manual).

3) He also says to use " cat arch/i386/boot/bzImage > /vmlinuz" after puting the old file "/boot/vmlinuz" to "/boot/vmlinuz.old". Ok, mvlinuz must be in the "/boot/", correct? So, was to me to use " cat /arch/x86_64/boot/bzImage > /boot/vmlinuz" (i368 is for desktop, correct? My bzImage was in x86..) ?
I do not know. I compiled the kernel twice. In the first, i think my "vmlinuz" file was in the " / ". So, i could start startx but without my USB devices and touchpad. In the second time, i put the vmlinuz in the /boot/ , but, the system freezed in the first step: open vmlinuz U.U (I formatted again after that)

4) vmlinuz is the file that guides Elilo to open the kernel and read them? Is correct think in that way? Ok, if im not wrong, the original vmlinuz file is green and had an *, like : vmlinuz*. I cannot open him with nano, its a lot of wrong caracters. How can i put Elilo to read right my kernel files? With eliloconf, i only can hit enter :/

5) i put my kernel files in the " /usr/src/linux/linux-4.19.14/ " .Do i need to delete the old files in " /usr/src/linux/" ? Or can i make in that way?
___

I will try find another guide. Wait for the answerd.
And... the output's is like the description in the link :https://www.linuxquestions.org/quest...-a-4175594097/

ps - I also tried that guide: https://www.youtube.com/watch?v=DxFp_Ry78UY . But, i do not know how to put elilo to see my new kernel. So, i did what the guide says and "" worked ""

Last edited by Myphre; 11-15-2018 at 07:15 PM.
 
Old 11-17-2018, 01:24 PM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

Sorry I don't know what yellow/orange or green files you are referring to. Maybe take a screenshot and show us what you mean.

Quote:
3) He also says to use " cat arch/i386/boot/bzImage > /vmlinuz" after puting the old file "/boot/vmlinuz" to "/boot/vmlinuz.old". Ok, mvlinuz must be in the "/boot/", correct? So, was to me to use " cat /arch/x86_64/boot/bzImage > /boot/vmlinuz" (i368 is for desktop, correct? My bzImage was in x86..) ?
Yes, correct, the vmlinux should be in the /boot directory.

IF in fact your bzImage is -x86-64 than yes, use that. Provided your laptop is a 64-bit machine:-
****Make sure you make a copy of your bzImage.****

Quote:
vmlinuz is the file that guides Elilo to open the kernel and read them? Is correct think in that way? Ok, if im not wrong, the original vmlinuz file is green and had an *, like : vmlinuz*. I cannot open him with nano, its a lot of wrong caracters. How can i put Elilo to read right my kernel files? With eliloconf,
If I'm not mistaken you have to G=go to root, edit your /etc/elilo.conf file to point to the new kernel, then run /sbin/elilo.
https://www.linuxquestions.org/quest...lo-4175609014/

IF your on a server and your machine is efi read here:
https://docstore.mik.ua/manuals/hp-u...B/ch05s21.html

Quote:
i put my kernel files in the " /usr/src/linux/linux-4.19.14/ " .Do i need to delete the old files in " /usr/src/linux/" ? Or can i make in that way?
I wouldn't delete the old files. Instead mark them as old so you know the difference between the old and the new.

Generally when you compile the kernel and you can't boot it's because something in the configuration wasn't right.
This is a good Guide for compiling the kernel.

http://www.berkes.ca/guides/linux_kernel.html

You seem to have a lot going on at one time.
I'd do one thing at a time with certainty than move one to the next thing.

Sorry I can't help you with Windows 10. I haven't used Windows in 7 years:-

HTH
 
Old 11-17-2018, 02:35 PM   #12
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,404
Blog Entries: 3

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
Problems! A lot of (easy?) problems? Main : " No Screen Found"

So colored files might be from their nature or status : green with * might be executable scripts for instance.

What are you trying to do with your kernel?
I would start to boot a huge Slackware stock one and have a look to the lsmod list of modules.
Think about the mkinitrd script to help making a working one. And at least use the stock kernel as start point for your kernel config.

I do not know elilo. I use the grub package in Slackware for that. Quite simple to make it initially work and as simple as 'mkinitrd -F' and 'grub-mkconfig -o /boot/grub/grub.cfg' after kernel upgrades or installations...
 
Old 11-17-2018, 02:45 PM   #13
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,404
Blog Entries: 3

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
Problems! A lot of (easy?) problems? Main : " No Screen Found"

For your win 10 files, did you mount /dev/sda3 somewhere? (done as root or automated with /etc/fstab)
Try as user or root :
lsblk
Try as root :
cat /etc/fstab

You can paste the output here.

Since it's not very easy to figure out what you know, it seems difficult to help on multiple problems in one thread. Would you mind splitting your questions in separated threads, starting with the most critical?
Something like : dual booting Slackware (14.2 or current) --> make it boot --> share files --> startx and run level 4
 
Old 11-30-2018, 05:29 PM   #14
Myphre
LQ Newbie
 
Registered: Oct 2018
Posts: 21

Original Poster
Rep: Reputation: Disabled
sorry for the delay.

I dont understand the problem: if is my kernel settings or my ELILO. I have more questions and doubts, but i will try to focus only in the main problem. I had follow that guide: http://www.berkes.ca/guides/linux_kernel.html
If i boot my slack by the installation pen drive, he boots and says that cant log the kernel modules files. Why? I can start startx and begin the graphic mode, with errors ( the problem are my old kernel that doesnt recognize my VGA's?).
In both (slack guide and this), have the follows comands:

make mrproper
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install

If i change the elilo.config, slackware do not boot, just reboot after elilo read the file of the kernel ( i see the display of elilo... load kernel... reboot). What is the problem?

In the first time, as I sayed, I coud boot in my new kernel but without USB devices. Now, i just dont boot, and if I boot i have no modules, but i have my USB devices.
I tried again to do like the Slack Guide, as i made in my first time, but the system only reboot.

The output of lspcia VGA :
00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02)

Last edited by Myphre; 11-30-2018 at 05:30 PM.
 
Old 11-30-2018, 06:11 PM   #15
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,404
Blog Entries: 3

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
Problems! A lot of (easy?) problems? Main : " No Screen Found"

Ok, seems that you didn't read the 2 lines after your blind upgrade : update your lilo configuration to boot the newly installed kernel.

You might have to check you installed new packages (slackpkg install-new) as well. And removed the packages you have to (slackpkg clean-system).

First of all you need to point lilo to the installed kernel (that came with proper kernel modules).

You might want to boot huge kernel before getting to make an initrd image in order to boot generic kernel.

What gives the 2 following commands?
ls /boot
cat /etc/lilo.conf
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Conky generates "sh: 1: skb: not found" on terminal (a lot!) PClOStinspace Linux - Software 7 03-26-2015 01:00 PM
Screen problems "No screens found" Lego3 Linux - Newbie 4 03-22-2006 08:59 AM
X problems "no screen found" thelonewolf Debian 11 08-17-2005 11:18 AM
2.6.3 kernel upgrade reiserfs boot problems "no init found" riskable Mandriva 3 05-28-2004 04:11 PM
Anybody having problems with "make" in RedHat 7.3? "cc" not found ? Rampage2884 Linux - General 4 05-14-2002 02:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration