1 |
On Fri, Sep 09, 2016 at 12:50:09AM -0400, waltdnes@××××××××.org wrote |
2 |
|
3 |
> 2) "uname -a" gives the following output... |
4 |
> |
5 |
> [i3][root][~] uname -a |
6 |
> 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 |
7 |
> |
8 |
> |
9 |
> ...but I've already run... |
10 |
> |
11 |
> [i3][root][~] emerge --config sys-libs/timezone-data |
12 |
> |
13 |
> Configuring pkg... |
14 |
> |
15 |
> * Updating /etc/localtime with /usr/share/zoneinfo/Canada/Eastern |
16 |
|
17 |
Solved; I had to do the above *AND THEN REBUILD MY KERNEL* which |
18 |
results in... |
19 |
|
20 |
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 |
21 |
|
22 |
> 3) The new machine is not co-operating with my hardware KVM switch. If |
23 |
> I select the machine while it's booting up, it works fine. But if I |
24 |
> switch away and come back, the VGA video does not work. I've confirmed |
25 |
> that the keyboard part of KVM still works... |
26 |
> * boot up with new machine selected |
27 |
> * log in as root in text console mode |
28 |
> * switch away |
29 |
> * switch back, and there's no video |
30 |
> * but if I blindly type "poweroff", it shuts down, so keyboard works |
31 |
|
32 |
This is going to sound like "One weird little tip", but it works... |
33 |
* boot up with new machine selected |
34 |
* start up X |
35 |
* run "xrandr" *WITHOUT ANY PARAMETERS*. I put it in my ~/.xinitrc so |
36 |
that it runs automatically with each invocation of X. Here it is... |
37 |
|
38 |
#!/bin/bash |
39 |
xset fp+ /usr/share/fonts/misc && xset fp rehash |
40 |
/usr/bin/xterm -e xrandr -s 1920x1080 && xrandr --dpi 96 && sleep 10 && xrandr & |
41 |
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources |
42 |
/usr/bin/xterm -bg black -fg cyan -geometry 50x9+0+0 -fn lucidasanstypewriter-12 & |
43 |
/usr/bin/xterm -bg black -fg cyan -geometry +0+0 -fn lucidasanstypewriter-12 & |
44 |
exec /usr/bin/icewm > ~/.icewm.log 2>&1 |
45 |
xset dpms 240 256 260 |
46 |
xsetleds +num -caps -scroll |
47 |
|
48 |
|
49 |
After this I can switch back, and I get back to the X session on the |
50 |
new machine. Notes... |
51 |
* "xrandr" only has to be run once. After this, I can switch back and |
52 |
forth multiple times at will |
53 |
* the ability to switch properly via my hardware KVM survives through |
54 |
dpms kicking in screensaver mode |
55 |
* it does *NOT* survive reboots or stopping and re-starting X |
56 |
|
57 |
I assume that plain "xrandr" without any parameters does some |
58 |
port-probing that sets up the video card. It's the only explanation I |
59 |
can think of. |
60 |
|
61 |
-- |
62 |
Walter Dnes <waltdnes@××××××××.org> |
63 |
I don't run "desktop environments"; I run useful applications |