Re: [gentoo-user] gnome not working

2013-05-16 Thread Mark David Dumlao
TLDR: because systemd replaces consolekit with logind,
programs that depend on consolekit to determine which session
they're in may fail to do so unless they are also built with systemd
support and the relevant pam session lines are enabled. This causes
several silent failures and may prevent your desktop from starting.

Possible Cause:
If you're using systemd, you may have built some gnome components with
systemd support. This _disables_ consolekit support on those
components, hence failures when booting outside of systemd. Try
rebuilding polkit-gnome and any other gnome components with systemd
support. This makes them use systemd-logind instead of consolekit.

I don't use my system without systemd, but I suspect that you also
have to start dbus and the (HORROR) systemd-logind service. _Someone
ought to write a systemd-logind init script for enterprising gentoo
users_. As it doesn't accept any arguments, I expect that it's as easy
as the _completely untested_ one I have attached. Have fun!

I can't wait to hear the excitement on this list on that, haha - but
logind, like udev, should be able to work without systemd, which is
why ubuntu is considering it.

- http://www.phoronix.com/scan.php?page=news_itempx=MTMyMDE




=== BEGIN ADVENTURES

I just recently fixed some woes I was having with starting an X
session from lightdm. I am also on systemd. I got similar errors to
the top post, X logs ending with server terminator successfully
immediately after I perform a login attempt. I _also_ noticed that my
X server died every time I switched virtual terminals, and I was
unable to go back.

This started a painstaking process of blind debugging, following this path:

1) start Xorg manually. is successful.
===
Xorg
===
note: dies when I VT switch back.


2) start Xorg manually and run a program in it. is successful.
===
export DISPLAY=:0
Xorg  terminator
===
note: also dies when I VT switch back.

I suspected that this had something to do with multiseat support. The
idea was that my system does something when I VT switch, and I
suspected that whatever it was killed my X.


3) start Xorg manually and run a session in it. is successful.
===
export DISPLAY=:0
Xorg  gnome-session --session=unity
===
notes:
- unity downloaded from unity-gentoo overlay.
- have not been able to completely emerge -uDNtv  emerge -ctav in a
week or so, so I expected problems.
- dies when I VT switch back
- mounting external hard disks fail with Not authorized to perform action
- changing settings on Network manager also failed. I expected there
to be a login prompt, but no prompt appeared.

I'd experienced Not authorized to perform action before. It was a
message that I got from policykit. So I suspected that my programs
were failing to connect to policykit. (Not really experienced with
polkit).

After reading some manual pages [1][2][3][4][5] in policykit, I
prepared another test.

[1] polkit(8)
[2] pkaction(1)
[3] pkcheck(1)
[4] pkexec(1)
[5] pkttyagent(1)


4) Try running the failing commands using pkcheck/pkexec. They still fail.
/usr/share/polkit-1/actions contains a list of actions available to
policykit. You can also get a list of actions by running pkaction

I determined that the relevant policy kit action to mount hard disks
was org.freedesktop.udisks2.filesystem-mount

To test the mount command, I used pkcheck, then pkexec. pkcheck tries
to perform a policykit action directly and reports success or failure
based on exit status. It needs a policykit action name and the PID of
the session.

===
pkcheck --action-id org.freedesktop.udisks2.filesystem-mount --process
$(pgrep gnome-session)
===

pkcheck complains that Authorization requires authentication and -u
wasn't passed. Upon passing -u, pkcheck then complains that no
authentication agent was available.

An authentication agent is the program that generates a popup requiring login.

I found this part suspicious, so I tried to activate an authentication agent.


5) Try running the failing commands with a dummy authentication agent.
They now succeed.

policykit comes with a builtin authentication agent. pkcheck has a
--enable-internal-agent option which automatically produces a password
prompt. Alternatively, you can run pkttyagent --process
PID_OF_SOME_BASH_SESSION in one terminal, and any pkexec'd commands in
that terminal will produce a login prompt on the pkttyagent terminal.

===
pkcheck --action-id org.freedesktop.udisks2.filesystem-mount --process
$(pgrep gnome-session) --enable-internal-agent
--allow-user-interaction
===

A login prompt appears, asking me what username I wish to login as.
This suggests that _policykit is working_, but _gnome's policykit
agent_ isn't.


6) Try to do everything again after emerging polkit-gnome is emerged
with systemd support. They now succeed.

I still can't get lightdm to work (still recompiling stuff)... but gdm
now works just fine, and now I have my desktop working.

Note that your /etc/pam.d/system-auth and system-session are expected
to 

[gentoo-user] gcc4.7.2-r1 to 4.7.3 upgrade - hosed system?

2013-05-16 Thread Adam Carter
My system no longer had a /lib64/libgcc_s.so.1 which made it quite unhappy.
I eventually copied one over from a fedora live iso i had and things are
operational again. Is there some way i can confirm if it was the gcc
upgrade?

This looks damning;

# gcc-config 2
 * Switching native-compiler to x86_64-pc-linux-gnu-4.7.3 ...
/usr/bin/python2.7: error while loading shared libraries: libgcc_s.so.1:
cannot open shared object file: No such file or directory

ewarn: error while loading shared libraries: libgcc_s.so.1: cannot open
shared object file: No such file or directory
ewarn: error while loading shared libraries: libgcc_s.so.1: cannot open
shared object file: No such file or directory


[gentoo-user] uninstalled linux-headers

2013-05-16 Thread Tamer Higazi
Hi people!
I uninstalled the linux-headers and the kernel-sources by accident, how
can I install then again?! Any ideas?!

I tried, but got at the linux-headers problems.

I have a linux-rescuecd on a usb stick, might it work over that way ?!



Tamer



Re: [gentoo-user] uninstalled linux-headers

2013-05-16 Thread Neil Bothwick
On Thu, 16 May 2013 14:38:55 +0200, Tamer Higazi wrote:

 I uninstalled the linux-headers and the kernel-sources by accident, how
 can I install then again?! Any ideas?!

emerge -1 linux-headers gentoo-sources
zcat /proc/config.gz /usr/src/linux/.config

 I tried, but got at the linux-headers problems.

How is anybody supposed to answer that? You tried something but you don't
say what and it gave a problem, which you also keep to yourself. If you
want helpful answers, you have to ask helpful questions.


-- 
Neil Bothwick

Fill what's empty, empty what's full, scratch where it itches.


signature.asc
Description: PGP signature


Re: [gentoo-user] uninstalled linux-headers

2013-05-16 Thread Michael Hampicke
Am 16.05.2013 14:46, schrieb Neil Bothwick:
 On Thu, 16 May 2013 14:38:55 +0200, Tamer Higazi wrote:
 
 I uninstalled the linux-headers and the kernel-sources by accident, how
 can I install then again?! Any ideas?!
 
 emerge -1 linux-headers gentoo-sources


It just tried that, out of curiosity:

I uninstalled linux-headers, and while trying to reinstall them, I get
this error:

 Install linux-headers-3.9 into
/var/tmp/portage/sys-kernel/linux-headers-3.9/image/ category sys-kernel
make -j5 headers_install
INSTALL_HDR_PATH=/var/tmp/portage/sys-kernel/linux-headers-3.9/image///usr/include/..
ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu-
  CHK include/generated/uapi/linux/version.h
  UPD include/generated/uapi/linux/version.h
  WRAParch/x86/include/generated/asm/clkdev.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
  HOSTCC  arch/x86/tools/relocs
In file included from /usr/include/errno.h:35:0,
 from arch/x86/tools/relocs.c:6:
/usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such
file or directory
compilation terminated.
make[1]: *** [arch/x86/tools/relocs] Error 1
make: *** [archscripts] Error 2
make: *** Waiting for unfinished jobs
emake failed
 * ERROR: sys-kernel/linux-headers-3.9 failed (install phase):
 *   (no error message)
 *
 * Call stack:
 * ebuild.sh, line   93:  Called src_install
 *   environment, line 2830:  Called kernel-2_src_install
 *   environment, line 2006:  Called install_headers
 *   environment, line 1895:  Called die
 * The specific snippet of code:
 *   emake headers_install INSTALL_HDR_PATH=${D}/${ddir}/..
${xmakeopts} || die;
 *
 * If you need support, post the output of `emerge --info
'=sys-kernel/linux-headers-3.9'`,
 * the complete build log and the output of `emerge -pqv
'=sys-kernel/linux-headers-3.9'`.
 * The complete build log is located at
'/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/environment'.
 * Working directory:
'/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
 * S:
'/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'


Luckily, I qpkg'ed linux-headers before.

Maybe you can try installing a binary package of linux-headers from
tinderbox? http://tinderbox.dev.gentoo.org/

 zcat /proc/config.gz /usr/src/linux/.config
 
 I tried, but got at the linux-headers problems.
 
 How is anybody supposed to answer that? You tried something but you don't
 say what and it gave a problem, which you also keep to yourself. If you
 want helpful answers, you have to ask helpful questions.
 

true



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] uninstalled linux-headers

2013-05-16 Thread Tamer Higazi
Hi Michael,
Nope, I don't get them there.


1st question) where are the headers installed at all?!
2nd) where are the headers already compiled to get?!


Tamer


 
 Install linux-headers-3.9 into
 /var/tmp/portage/sys-kernel/linux-headers-3.9/image/ category sys-kernel
 make -j5 headers_install
 INSTALL_HDR_PATH=/var/tmp/portage/sys-kernel/linux-headers-3.9/image///usr/include/..
 ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu-
   CHK include/generated/uapi/linux/version.h
   UPD include/generated/uapi/linux/version.h
   WRAParch/x86/include/generated/asm/clkdev.h
   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
   SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
   HOSTCC  arch/x86/tools/relocs
 In file included from /usr/include/errno.h:35:0,
  from arch/x86/tools/relocs.c:6:
 /usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such
 file or directory
 compilation terminated.
 make[1]: *** [arch/x86/tools/relocs] Error 1
 make: *** [archscripts] Error 2
 make: *** Waiting for unfinished jobs
 emake failed
  * ERROR: sys-kernel/linux-headers-3.9 failed (install phase):
  *   (no error message)
  *
  * Call stack:
  * ebuild.sh, line   93:  Called src_install
  *   environment, line 2830:  Called kernel-2_src_install
  *   environment, line 2006:  Called install_headers
  *   environment, line 1895:  Called die
  * The specific snippet of code:
  *   emake headers_install INSTALL_HDR_PATH=${D}/${ddir}/..
 ${xmakeopts} || die;
  *
  * If you need support, post the output of `emerge --info
 '=sys-kernel/linux-headers-3.9'`,
  * the complete build log and the output of `emerge -pqv
 '=sys-kernel/linux-headers-3.9'`.
  * The complete build log is located at
 '/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/environment'.
  * Working directory:
 '/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
  * S:
 '/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
 
 
 Luckily, I qpkg'ed linux-headers before.
 
 Maybe you can try installing a binary package of linux-headers from
 tinderbox? http://tinderbox.dev.gentoo.org/
 
 zcat /proc/config.gz /usr/src/linux/.config

 I tried, but got at the linux-headers problems.

 How is anybody supposed to answer that? You tried something but you don't
 say what and it gave a problem, which you also keep to yourself. If you
 want helpful answers, you have to ask helpful questions.

 
 true
 




Re: [gentoo-user] uninstalled linux-headers

2013-05-16 Thread Tamer Higazi
Michael!
You didn't get my question Where does Gentoo install the
linux-headers, after compilining on the system?!


Tamer


Am 16.05.2013 15:16, schrieb Tamer Higazi:
 Hi Michael,
 Nope, I don't get them there.
 
 
 1st question) where are the headers installed at all?!
 2nd) where are the headers already compiled to get?!
 
 
 Tamer
 
 

 Install linux-headers-3.9 into
 /var/tmp/portage/sys-kernel/linux-headers-3.9/image/ category sys-kernel
 make -j5 headers_install
 INSTALL_HDR_PATH=/var/tmp/portage/sys-kernel/linux-headers-3.9/image///usr/include/..
 ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu-
   CHK include/generated/uapi/linux/version.h
   UPD include/generated/uapi/linux/version.h
   WRAParch/x86/include/generated/asm/clkdev.h
   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
   SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
   HOSTCC  arch/x86/tools/relocs
 In file included from /usr/include/errno.h:35:0,
  from arch/x86/tools/relocs.c:6:
 /usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such
 file or directory
 compilation terminated.
 make[1]: *** [arch/x86/tools/relocs] Error 1
 make: *** [archscripts] Error 2
 make: *** Waiting for unfinished jobs
 emake failed
  * ERROR: sys-kernel/linux-headers-3.9 failed (install phase):
  *   (no error message)
  *
  * Call stack:
  * ebuild.sh, line   93:  Called src_install
  *   environment, line 2830:  Called kernel-2_src_install
  *   environment, line 2006:  Called install_headers
  *   environment, line 1895:  Called die
  * The specific snippet of code:
  *   emake headers_install INSTALL_HDR_PATH=${D}/${ddir}/..
 ${xmakeopts} || die;
  *
  * If you need support, post the output of `emerge --info
 '=sys-kernel/linux-headers-3.9'`,
  * the complete build log and the output of `emerge -pqv
 '=sys-kernel/linux-headers-3.9'`.
  * The complete build log is located at
 '/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/sys-kernel/linux-headers-3.9/temp/environment'.
  * Working directory:
 '/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'
  * S:
 '/var/tmp/portage/sys-kernel/linux-headers-3.9/work/gentoo-headers-base-3.9'


 Luckily, I qpkg'ed linux-headers before.

 Maybe you can try installing a binary package of linux-headers from
 tinderbox? http://tinderbox.dev.gentoo.org/

 zcat /proc/config.gz /usr/src/linux/.config

 I tried, but got at the linux-headers problems.

 How is anybody supposed to answer that? You tried something but you don't
 say what and it gave a problem, which you also keep to yourself. If you
 want helpful answers, you have to ask helpful questions.


 true

 
 




Re: [gentoo-user] uninstalled linux-headers

2013-05-16 Thread Neil Bothwick
On Thu, 16 May 2013 14:53:50 +0200, Michael Hampicke wrote:

  emerge -1 linux-headers gentoo-sources
   
 
 It just tried that, out of curiosity:
 
 I uninstalled linux-headers, and while trying to reinstall them, I get
 this error:
 
  Install linux-headers-3.9 into  
 /var/tmp/portage/sys-kernel/linux-headers-3.9/image/ category sys-kernel
 make -j5 headers_install
 INSTALL_HDR_PATH=/var/tmp/portage/sys-kernel/linux-headers-3.9/image///usr/include/..
 ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu-
   CHK include/generated/uapi/linux/version.h
   UPD include/generated/uapi/linux/version.h
   WRAParch/x86/include/generated/asm/clkdev.h
   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
   SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
   HOSTCC  arch/x86/tools/relocs
 In file included from /usr/include/errno.h:35:0,
  from arch/x86/tools/relocs.c:6:
 /usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such
 file or directory
 compilation terminated.

There's a linux/errno.h in the kernel sources, maybe they need to be
emerged first.


-- 
Neil Bothwick

He's dead, Jim.  You get his phaser, I'll grab his wallet.


signature.asc
Description: PGP signature


Re: [gentoo-user] uninstalled linux-headers

2013-05-16 Thread Neil Bothwick
On Thu, 16 May 2013 15:16:51 +0200, Tamer Higazi wrote:

 Hi Michael,
 Nope, I don't get them there.

So WTF do you get? This is a help list not a game of twenty questions.

And please don't top-post on this list.


-- 
Neil Bothwick

Exercise daily. Eat wisely. Die anyway.


signature.asc
Description: PGP signature


[gentoo-user] Re: uninstalled linux-headers

2013-05-16 Thread Nikos Chantziaras

On 16/05/13 16:20, Tamer Higazi wrote:

Where does Gentoo install the
linux-headers, after compilining on the system?!


They are installed in:

  /usr/include/asm-generic
  /usr/include/mtd
  /usr/include/linux
  /usr/include/asm

there is no compilation going on; these are just headers.




Re: [gentoo-user] Re: uninstalled linux-headers

2013-05-16 Thread Tamer Higazi
Hi Nikos!
That was it thank you very much for your support.


I took the latest amd stage3 from a mirror and copied the folders
content on my linux system.


After then I remerged linux-headers. of course gentoo found a lots of
file collisions, but then merged at last the package.



Tamer


Am 16.05.2013 15:42, schrieb Nikos Chantziaras:
 On 16/05/13 16:20, Tamer Higazi wrote:
 Where does Gentoo install the
 linux-headers, after compilining on the system?!
 
 They are installed in:
 
   /usr/include/asm-generic
   /usr/include/mtd
   /usr/include/linux
   /usr/include/asm
 
 there is no compilation going on; these are just headers.
 
 




[gentoo-user] high resolution console

2013-05-16 Thread Tamer Higazi
Hi people!
I want to have a feature installed on my gentoo machine, that if I boot
I am will see a high resolution console.

When I boot from the system rescue cd, at boot time it is being switch
to a higher resolution, which I want to have on my default system as well.

Can somebody of you tell me, how to accomplish this task?!



[gentoo-user] New firefox-bin-21.0: bug or feature?

2013-05-16 Thread walt
Portage just updated firefox-bin to 21.0, and after that I had no
firefox plugins.

Finally I discovered that the new version apparently ignores the
traditional symlink /opt/firefox/plugins-/usr/lib64/nsbrowser/plugins

I worked around it by creating my own symlink  ~/.mozilla/plugins-
and all the plugins are working again.

Maybe this will save some time for you.  Dunno if this a bug or not.




Re: [gentoo-user] gcc4.7.2-r1 to 4.7.3 upgrade - hosed system?

2013-05-16 Thread Daniel Troeder
Am 16.05.2013 13:49, schrieb Adam Carter:
 My system no longer had a /lib64/libgcc_s.so.1 which made it quite
 unhappy. I eventually copied one over from a fedora live iso i had and
 things are operational again. Is there some way i can confirm if it was
 the gcc upgrade?
 
 This looks damning;
 
 # gcc-config 2
  * Switching native-compiler to x86_64-pc-linux-gnu-4.7.3 ...
 /usr/bin/python2.7: error while loading shared libraries: libgcc_s.so.1:
 cannot open shared object file: No such file or directory
 
 ewarn: error while loading shared libraries: libgcc_s.so.1: cannot open
 shared object file: No such file or directory
 ewarn: error while loading shared libraries: libgcc_s.so.1: cannot open
 shared object file: No such file or directory
 
I had the same yesterday - run:
LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/ ldconfig
to fix your system.

Thanx to chithanh for this life-saving oneliner
(http://forums.gentoo.org/viewtopic-p-7053126.html).

Greetings,
Daniel


-- 
Get my PGP key at:
*
http://keyserver.ubuntu.com:11371/pks/lookup?op=getsearch=0x837FB8B5BB9D4887
* $ gpg --recv-keys --keyserver keyserver.ubuntu.com 0xBB9D4887



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] high resolution console

2013-05-16 Thread Bruce Hill
On Thu, May 16, 2013 at 04:05:32PM +0200, Tamer Higazi wrote:
 Hi people!
 I want to have a feature installed on my gentoo machine, that if I boot
 I am will see a high resolution console.
 
 When I boot from the system rescue cd, at boot time it is being switch
 to a higher resolution, which I want to have on my default system as well.
 
 Can somebody of you tell me, how to accomplish this task?!

Start by following this guide: http://www.gentoo.org/doc/en/xorg-config.xml
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.   

   
Q: Why is top-posting such a bad thing? 

   
A: Top-posting. 

   
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



[gentoo-user] Re: high resolution console

2013-05-16 Thread Nikos Chantziaras

On 16/05/13 17:48, Bruce Hill wrote:

On Thu, May 16, 2013 at 04:05:32PM +0200, Tamer Higazi wrote:

Hi people!
I want to have a feature installed on my gentoo machine, that if I boot
I am will see a high resolution console.

When I boot from the system rescue cd, at boot time it is being switch
to a higher resolution, which I want to have on my default system as well.

Can somebody of you tell me, how to accomplish this task?!


Start by following this guide: http://www.gentoo.org/doc/en/xorg-config.xml


That's for X11, not for the console.




Re: [gentoo-user] gcc4.7.2-r1 to 4.7.3 upgrade - hosed system?

2013-05-16 Thread Adam Carter
I had the same yesterday - run:

 LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/ ldconfig
 to fix your system.

 Thanx to chithanh for this life-saving oneliner
 (http://forums.gentoo.org/viewtopic-p-7053126.html).

 Greetings,
 Daniel


That didnt help the gcc-config error, and also i notice that there's bits
of 4.7.2 still around;

 # ls -l /lib64/libgcc*
-rwxr-xr-x 1 root root 88720 May 16 21:13
/lib64/libgcc_s-4.7.2-20121109.so.1
lrwxrwxrwx 1 root root28 May 17 01:19 /lib64/libgcc_s.so.1 -
libgcc_s-4.7.2-20121109.so.1


Re: [gentoo-user] Re: high resolution console

2013-05-16 Thread Neil Bothwick
On Thu, 16 May 2013 17:55:44 +0300, Nikos Chantziaras wrote:

  I want to have a feature installed on my gentoo machine, that if I
  boot I am will see a high resolution console.
 
  When I boot from the system rescue cd, at boot time it is being
  switch to a higher resolution, which I want to have on my default
  system as well.
 
  Can somebody of you tell me, how to accomplish this task?!  
 
  Start by following this guide:
  http://www.gentoo.org/doc/en/xorg-config.xml  
 
 That's for X11, not for the console.

There's a part in it covering KMS, which is what the OP needs, but you'd
have to know what you want in order t find it.


-- 
Neil Bothwick

I am a Cub Ranger. We dib dib dib for the One. We dob dob dob for the
One.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: high resolution console

2013-05-16 Thread Bruce Hill
On Thu, May 16, 2013 at 05:55:44PM +0300, Nikos Chantziaras wrote:
 
  Start by following this guide: http://www.gentoo.org/doc/en/xorg-config.xml
 
 That's for X11, not for the console.

I believe if you'll *read* that guide, Kernel modesetting will be there.
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.   

   
Q: Why is top-posting such a bad thing? 

   
A: Top-posting. 

   
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



[gentoo-user] Logitech MX620 mouse

2013-05-16 Thread Stefan G. Weichinger

Has anyone of you managed to map the Search button of the Logitech
MX620 to another function?

A client wants to use that button for panning drawings ... we fiddled
with xmodmap etc but with no success so far.

That button gives not button press event ... so it's kind of strange.

Maybe I have to add some xorg-config section?

EmulateWheelButton sounds interesting because panning with pressing the
wheel works, but is inaccurate (you often move the wheel as well ...).

thanks, Stefan



[gentoo-user] Re: gcc4.7.2-r1 to 4.7.3 upgrade - hosed system?

2013-05-16 Thread walt
On 05/16/2013 08:30 AM, Adam Carter wrote:
 I had the same yesterday - run:
 
 LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/ ldconfig
 to fix your system.
 
 Thanx to chithanh for this life-saving oneliner
 (http://forums.gentoo.org/viewtopic-p-7053126.html).
 
 Greetings,
 Daniel
 
 
 That didnt help the gcc-config error, and also i notice that there's bits of 
 4.7.2 still around;
 
  # ls -l /lib64/libgcc*
 -rwxr-xr-x 1 root root 88720 May 16 21:13 /lib64/libgcc_s-4.7.2-20121109.so.1
 lrwxrwxrwx 1 root root28 May 17 01:19 /lib64/libgcc_s.so.1 - 
 libgcc_s-4.7.2-20121109.so.1

That's weird, I have no such libraries in /lib64 and qlist =gcc-4.7.2-r1 shows
no files whatever installed in /lib64.

Do you have these files?:

#ls -l /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so*

lrwxrwxrwx 1 root root13 May 16 07:46 
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so - libgcc_s.so.1
-rw-r--r-- 1 root root 92384 May 16 07:46 
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so.1





[gentoo-user] Re: Font problems on new install

2013-05-16 Thread walt
On 05/15/2013 04:09 PM, waltd...@waltdnes.org wrote:
  A new install 64-bit Dell.  I noted all the font files in my old
 machine's /var/lib/world file and installed them on the new machine.
 Notwithstanding that I had mysterious problems.  One of the icons on my
 ICEWM toolbar launches the command...
  
 xterm -bg black -fg cyan -geometry 80x58 -fn lucidasanstypewriter-12
 
   I got error messages about not being able to find the font,

Did you install the font-alias package?



Re: [gentoo-user] Re: Font problems on new install

2013-05-16 Thread waltdnes
On Thu, May 16, 2013 at 12:27:13PM -0700, walt wrote
 On 05/15/2013 04:09 PM, waltd...@waltdnes.org wrote:
   A new install 64-bit Dell.  I noted all the font files in my old
  machine's /var/lib/world file and installed them on the new machine.
  Notwithstanding that I had mysterious problems.  One of the icons on my
  ICEWM toolbar launches the command...
   
  xterm -bg black -fg cyan -geometry 80x58 -fn lucidasanstypewriter-12
  
I got error messages about not being able to find the font,
 
 Did you install the font-alias package?

  Yes.  That was one of the packages I installed.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] high resolution console

2013-05-16 Thread Paul Hartman
On Thu, May 16, 2013 at 9:05 AM, Tamer Higazi th9...@googlemail.com wrote:
 Hi people!
 I want to have a feature installed on my gentoo machine, that if I boot
 I am will see a high resolution console.

 When I boot from the system rescue cd, at boot time it is being switch
 to a higher resolution, which I want to have on my default system as well.

 Can somebody of you tell me, how to accomplish this task?!

Possible solutions that you can google for more details:

kernel modesetting (if you don't use nvidia-drivers)
uvesafb
vesafb
fbterm (a userland program)
jfbterm (like fbterm focused on multilingual/utf8 support)

You may also want or need to install gpm for console mouse support



Re: [gentoo-user] Re: gcc4.7.2-r1 to 4.7.3 upgrade - hosed system?

2013-05-16 Thread Adam Carter
   # ls -l /lib64/libgcc*
  -rwxr-xr-x 1 root root 88720 May 16 21:13
 /lib64/libgcc_s-4.7.2-20121109.so.1
  lrwxrwxrwx 1 root root28 May 17 01:19 /lib64/libgcc_s.so.1 -
 libgcc_s-4.7.2-20121109.so.1

 That's weird, I have no such libraries in /lib64 and qlist =gcc-4.7.2-r1
 shows
 no files whatever installed in /lib64.

 Do you have these files?:

 #ls -l /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so*

 lrwxrwxrwx 1 root root13 May 16 07:46
 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so - libgcc_s.so.1
 -rw-r--r-- 1 root root 92384 May 16 07:46
 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so.1


Yep:

 # ls -l /usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so*
lrwxrwxrwx 1 root root13 May 15 19:26
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so - libgcc_s.so.1
-rw-r--r-- 1 root root 92352 May 15 19:26
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc_s.so.1

Do you currently have 4.7.3 selected? i'm wondering if the content of
/lib64 is switched when you run gcc-config ?

# gcc-config -l
 [1] x86_64-pc-linux-gnu-4.6.3
 [2] x86_64-pc-linux-gnu-4.7.3 *


Re: [gentoo-user] gcc4.7.2-r1 to 4.7.3 upgrade - hosed system?

2013-05-16 Thread Vaeth

# gcc-config 2
* Switching native-compiler to x86_64-pc-linux-gnu-4.7.3 ...
/usr/bin/python2.7: error while loading shared libraries: libgcc_s.so.1:
cannot open shared object file: No such file or directory


This is a bug in gcc-config: It removes the old link too early
so that the tools needed to establish the new link do not work
anymore. IIRC correctly, there was a bug reported, but apparently
it is still not fixed.

To repair it manually you must temporarily create the old link.
Here are detailed instruction how to do this:

1. Since tools like ln -s will not work, it is best to use busybox.
So first start busybox (e.g. bb or bb sh depending on your setup).

2. Then go to the gcc library parent directory: On amd64 this should be
cd /usr/lib64/gcc/x86_64-pc-linux-gnu
On i686 this is instead
cd /usr/lib/gcc/i686*
On other architectures, I don't know.

3. Create the symlink from your old directory to the new.
Given the subject, I guess this should be:
ln -s 4.7.3 4.7.2

4. Now gcc-config should work

5. Remove the symlink again
rm 4.7.2

6. Run your env-update as usual and resource the profile

7. Test that gcc-config is still working (it should).



Re: [gentoo-user] New firefox-bin-21.0: bug or feature?

2013-05-16 Thread Nilesh Govindrajan

On Thursday 16 May 2013 08:02:48 PM IST, walt wrote:

Portage just updated firefox-bin to 21.0, and after that I had no
firefox plugins.

Finally I discovered that the new version apparently ignores the
traditional symlink /opt/firefox/plugins-/usr/lib64/nsbrowser/plugins

I worked around it by creating my own symlink  ~/.mozilla/plugins-
and all the plugins are working again.

Maybe this will save some time for you.  Dunno if this a bug or not.




I guess it's a bug / change by upstream which has gone unnoticed by 
maintainer of the ebuild. File @ bgo.