From: waltdnes@waltdnes.org
To: Gentoo Users List <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] [SOLVED] New install, a few problems (or not?)
Date: Sun, 11 Sep 2016 22:49:05 -0400 [thread overview]
Message-ID: <20160912024905.GA14553@waltdnes.org> (raw)
In-Reply-To: <20160909045009.GA2472@waltdnes.org>
On Fri, Sep 09, 2016 at 12:50:09AM -0400, waltdnes@waltdnes.org wrote
> 2) "uname -a" gives the following output...
>
> [i3][root][~] uname -a
> Linux i3 4.4.6-gentoo #4 SMP Wed Sep 7 17:12:27 Local time zone must be set--see zic m x86_64 Intel(R) Pentium(R) CPU N3700 @ 1.60GHz GenuineIntel GNU/Linux
>
>
> ...but I've already run...
>
> [i3][root][~] emerge --config sys-libs/timezone-data
>
> Configuring pkg...
>
> * Updating /etc/localtime with /usr/share/zoneinfo/Canada/Eastern
Solved; I had to do the above *AND THEN REBUILD MY KERNEL* which
results in...
Linux i3 4.4.6-gentoo #5 SMP Sat Sep 10 00:48:23 UTC 2016 x86_64 Intel(R) Pentium(R) CPU N3700 @ 1.60GHz GenuineIntel GNU/Linux
> 3) The new machine is not co-operating with my hardware KVM switch. If
> I select the machine while it's booting up, it works fine. But if I
> switch away and come back, the VGA video does not work. I've confirmed
> that the keyboard part of KVM still works...
> * boot up with new machine selected
> * log in as root in text console mode
> * switch away
> * switch back, and there's no video
> * but if I blindly type "poweroff", it shuts down, so keyboard works
This is going to sound like "One weird little tip", but it works...
* boot up with new machine selected
* start up X
* run "xrandr" *WITHOUT ANY PARAMETERS*. I put it in my ~/.xinitrc so
that it runs automatically with each invocation of X. Here it is...
#!/bin/bash
xset fp+ /usr/share/fonts/misc && xset fp rehash
/usr/bin/xterm -e xrandr -s 1920x1080 && xrandr --dpi 96 && sleep 10 && xrandr &
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
/usr/bin/xterm -bg black -fg cyan -geometry 50x9+0+0 -fn lucidasanstypewriter-12 &
/usr/bin/xterm -bg black -fg cyan -geometry +0+0 -fn lucidasanstypewriter-12 &
exec /usr/bin/icewm > ~/.icewm.log 2>&1
xset dpms 240 256 260
xsetleds +num -caps -scroll
After this I can switch back, and I get back to the X session on the
new machine. Notes...
* "xrandr" only has to be run once. After this, I can switch back and
forth multiple times at will
* the ability to switch properly via my hardware KVM survives through
dpms kicking in screensaver mode
* it does *NOT* survive reboots or stopping and re-starting X
I assume that plain "xrandr" without any parameters does some
port-probing that sets up the video card. It's the only explanation I
can think of.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
prev parent reply other threads:[~2016-09-12 2:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-09 4:50 [gentoo-user] New install, a few problems (or not?) waltdnes
2016-09-09 15:17 ` Daniel Frey
2016-09-09 15:25 ` Daniel Frey
2016-09-10 5:45 ` J. Roeleveld
2016-09-10 1:20 ` waltdnes
2016-09-10 2:18 ` Adam Carter
2016-09-10 7:11 ` waltdnes
2016-09-10 8:03 ` Adam Carter
2016-09-10 8:06 ` J. Roeleveld
2016-09-12 2:49 ` waltdnes [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160912024905.GA14553@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox