SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use a laptop with slackware (the version now I use is 14) for a long time but there is an issue I never figure out.
When I connect the laptop with a VGA monitor, I use xrandr to set up the displays.
First, I close the monitor on the laptop:
Code:
xrandr --output LVDS1 --off
Then, I set up the VGA monitor:
Code:
xrandr --output VGA1 --mode 1280x1024
Finally, I keep this setting till I shutdown the computer, which means I shutdown the computer using the VGA monitor.
Then, if you reboot the laptop using the laptop monitor only, everything is OK until the screen resolution is changing (I don't know whether this description is enough or not). The screen will turn into total black. However, the boot process is still running.
My temporary solution is that: instead of booting slackware, I boot into windows first. Once I get the login interface of windows, I reboot the laptop and choose slackware in lilo. Then the problem can be fixed.
Is there a direct solution or setting for this problem?
I didn't have this problem in the same laptop on debian. So I think it may be related with slackware. Any ideas?
I did some testing with my HP netbook and an external monitor, Slack 14 32 bit system.
I can turn on the external monitor with
Quote:
xrandr --output VGA1 --mode 1024x768
without problems.
I can then turn off the netbook display with
Quote:
xrandr --output LVDS1 --off
. So far so good.
I shutdown the netbook through the gui, I run XFCE. I booted, with the external monitor connected. I see what you describe, the messages from the lilo boot screen to the first mode change appear only on the internal monitor. Once the modes set happens, ( font size changes ), I see the rest of the boot messages on both screens. The KDM screen shows up, I can log in. ( Still visible on both monitors), I log in, both monitors show the desktop. I can turn off the netbook monitor, either by the command line, or through the 'Display' app in the Settings menu.
What is a little strange, ( at least to me ) is the internal monitor is not in the correct mode. It normally runs in 1024x600 ( a 16x9 format ) and the external ( a 4x3 format ) is 1024x768. The bottom 1/3'rd of the screen is cut off on the internal monitor.
Now, if I try to turn the internal monitor back on, either with xrandr, or the Display app, I can not turn in on.
If I run shutdown, both work on reboot. I did get into a situation, once where I had both external and internal blank. I have not figured out how I did that though. I ssh'ed into the netbook, and ran shutdown.
So, in summary, it appears if both monitors are attached, on boot, the mode is picked for the external monitor. Don't know if you have another system to ssh to your system, if you do, that may be another way to gain control.
Not sure if the fact I can not turn the internal back on is a bug or not.
Thanks for your reply. However, I notice that you reboot your laptop with the external monitor connected:
Quote:
Originally Posted by camorri
I shutdown the netbook through the gui, I run XFCE. I booted, with the external monitor connected.
Could you do another experiment that you reboot you laptop without the external monitor? (all the previous steps are same as you did in the last experiment)
If after rebooting your laptop monitor turns off when the font size is changing, I think you may face the same situation as I have.
Also, what's your display card? Mine is Intel 945 mobile (I think).
I booted the system, connected the external monitor, ran the 2 xrandar commands as before; and shutdown with the external monitor running. Once shut down, disconnected he external monitor; and booted.
All was normal. The netbook monitor came up it 1024 x 600, as it should.
Sorry, no. You do have different video hardware, so there is a possibility it is hardware, or BIOS related. You could look to see if there are any BIOS updates for your system.
Once you power down, nothing should be left in memory or hardware registers that is not reset. So, it is a mystery why your system boots with some in-useable video mode, that you can reset with a windoze boot.
Can you switch back to the system monitor after having the external monitor on? This is the one thing that does not work for me.
I include a 'video=1024x600' option in the append line in my /etc/lilo.conf. I have not seen any problems with video on reboot after using an external monitor.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.