Re: [gentoo-user] Display indirect login X app here?

2011-05-23 Thread Joost Roeleveld
On Monday 23 May 2011 02:42:21 Mark Knecht wrote:
 On Sun, May 22, 2011 at 5:15 PM, Bill Longman bill.long...@gmail.com 
wrote:
  Obvious fix: don't use konsole.
  
  Use xterm.
  
  --
  Bill Longman
 
 Bill,
That's not a fix as it isn't konsole I care about but things like
 oocalc, systemsettings and other things which all fail with the same
 error message.
 
As of yet I haven't figured out what the update process messed up
 by something has gone sideways on that machine.
 
 - Mark

Mark,

Can you start anything that isn't KDE-related?
Like xclock, xterm,...?

That way we can check if the problem is SSH/X  related or KDE-related.

You could also try starting a VNC-session to see if that would allow you to 
start programs.

Is dbus actually running? And is it included in the USE-flags?
Also, later KDE versions require policykit/consolekit, 

Consolekit has a service as well that needs to be running.

--
Joost



Re: [gentoo-user] configure flags for net-proxy/squid

2011-05-23 Thread Neil Bothwick
On Mon, 23 May 2011 11:36:15 +0700, Pandu Poluan wrote:

 Um, I was referring to the flags passed to the ./configure utility,
 e.g. --enable-htcp or --enable-icmp, *not* the USE flags.

Run ebuild /path/to/ebuild configure then look at configure.log in
$PORTAGE_TMPDIR. You've already discovered that you can tweak the options
with $EXTRA_ECONF, the place to set this is 
/etc/portage/env/category/package.


-- 
Neil Bothwick

Tagline stealing is the sincerest form of flattery.


signature.asc
Description: PGP signature


Re: [gentoo-user] Display indirect login X app here?

2011-05-23 Thread Neil Bothwick
On Sun, 22 May 2011 12:01:59 -0700, Mark Knecht wrote:

 mark@gandalf ~ $ ssh -X -Y -C laptop
 Password:
 Last login: Sun May 22 03:50:07 PDT 2011 from 192.168.1.2 on pts/0
 mark@laptop1 ~ $ konsole
 unknown program name(4454)/: KUniqueApplication: Cannot find the
 D-Bus session server:  /usr/bin/dbus-launch terminated abnormally
 with the following error: Autolaunch error: X11 initialization failed.

Is $DBUS_SESSION_BUS_ADDRESS set? Without it you will get errors like
this.

I have this in my .zshrc to set it on SSH logins.

[[ -n ${SSH_TTY} ]]  export DBUS_SESSION_BUS_ADDRESS=$(cat /proc/$(pidof 
kded4)/environ | tr '\0' '\n' | grep DBUS | cut -d '=' -f2-) || return 0


-- 
Neil Bothwick

Walking on water and writing software to specification is easy if they're 
frozen.


signature.asc
Description: PGP signature


Re: [gentoo-user] configure flags for net-proxy/squid

2011-05-23 Thread Pandu Poluan
On Mon, May 23, 2011 at 14:42, Neil Bothwick n...@digimed.co.uk wrote:
 On Mon, 23 May 2011 11:36:15 +0700, Pandu Poluan wrote:

 Um, I was referring to the flags passed to the ./configure utility,
 e.g. --enable-htcp or --enable-icmp, *not* the USE flags.

 Run ebuild /path/to/ebuild configure then look at configure.log in
 $PORTAGE_TMPDIR. You've already discovered that you can tweak the options
 with $EXTRA_ECONF, the place to set this is
 /etc/portage/env/category/package.


Thanks!!

Exactly what the doctor ordered :-D

-- 
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



Re: [gentoo-user] How do I dump use flags?

2011-05-23 Thread Peter Humphrey
On Friday 20 May 2011 09:17:48 JDM wrote:

 Try eselect profile list which should list available profiles including
 a gnome.
 
 You will need symlinks in USE flags in make.conf to get eselect to work
 and reemerged world.

What do you mean? Symlinks in USE flags? I'm flummoxed.

 Not sure how good profile is but sure some gnome users should be able to

The KDE one works fine for me.

-- 
Rgds
Peter



Re: [gentoo-user] How do I dump use flags?

2011-05-23 Thread JDM
Ignore the bit about symlinks. Sorry talking garbage. Not sure what I was 
thinking but trying to suggest there is a use flag called symlink. Its not 
related to this. Apologies.

--Original Message--
From: Peter Humphrey
To: Gentoo
ReplyTo: Gentoo
Subject: Re: [gentoo-user] How do I dump use flags?
Sent: 23 May 2011 10:10

On Friday 20 May 2011 09:17:48 JDM wrote:

 Try eselect profile list which should list available profiles including
 a gnome.
 
 You will need symlinks in USE flags in make.conf to get eselect to work
 and reemerged world.

What do you mean? Symlinks in USE flags? I'm flummoxed.

 Not sure how good profile is but sure some gnome users should be able to

The KDE one works fine for me.

-- 
Rgds
Peter



JDM



Re: [gentoo-user] Re: system rescue usb stick

2011-05-23 Thread Coert Waagmeester
On 05/22/2011 01:36 PM, Mick wrote:
 On Saturday 21 May 2011 23:17:30 walt wrote:
 On 05/20/2011 04:22 AM, Coert Waagmeester wrote:
 On 05/19/2011 04:12 AM, Valmor de Almeida wrote:
 Is SystemRescueCd still a good system rescue tool? The web site has not
 been updated for over 1 year. Thanks for other suggestions.

 I use it for all my gentoo installations as well.
 Have even removed windows viruses from windows boxen with it.

 How did you repair a windows box with it?  I can't even begin to guess!
 
 Mount it with ntfs-3g, scan it with clam after updating the virus signatures 
 (freshclam) and then remove or copy away infected files.

This is exactly what I did.

I cant live without systemrescueCD

The USB installer is also awesome.

 
 Alternatively, it may be possible to dd the partition and pipe it to clam 
 (not 
 sure if this will work with a whole partition instead of a file) using 
 something like:
 
 dd if=/dev/sda1 | clamscan -
 
 
 Alternatively, you can use Knoppix and Fprot, bitdefender and clam.
 
 Or, you can use the many LiveCDs and Live-USBs that Kaspersky, BitDefender, 
 et 
 al are producing these days.




[gentoo-user] ebuild ChangeLog and emerge -l

2011-05-23 Thread Nikos Chantziaras

When doing an update using the -l option of emerge, eg:

  emerge -uDNl world

The ChangeLog entries that are displayed seem buggy to me.  For example, 
sometimes a whole page worth of changes from a single ChangeLog is 
displayed, containing entries for ebuilds older than what is currently 
installed.  Some other times it's less dramatic, but still contains 
stuff that should not show up.


The above seems to be the norm rather than the exception.  For example, 
right now I'm doing an update from llvm-2.9-r1 to llvm-2.9-r2, and 
emerge prints:


*llvm-2.9-r2

  23 May 2011; Bernard Cafarelli voyag...@gentoo.org +llvm-2.9-r2.ebuild,
  +files/llvm-2.9-Operator.h-c++0x.patch:
  Fix header for gcc 4.6, bug #365925

  21 Apr 2011; Fabian Groffen grob...@gentoo.org llvm-2.9-r1.ebuild,
  llvm-.ebuild:
  Fix broken reference that I missed yesterday

  20 Apr 2011; Fabian Groffen grob...@gentoo.org llvm-2.9-r1.ebuild,
  llvm-.ebuild:
  Fix install_name_tooling

Is this normal?  Bug?




Re: [gentoo-user] ebuild ChangeLog and emerge -l

2011-05-23 Thread James Wall
On Mon, May 23, 2011 at 10:29 AM, Nikos Chantziaras rea...@arcor.de wrote:
 When doing an update using the -l option of emerge, eg:

  emerge -uDNl world

 The ChangeLog entries that are displayed seem buggy to me.  For example,
 sometimes a whole page worth of changes from a single ChangeLog is
 displayed, containing entries for ebuilds older than what is currently
 installed.  Some other times it's less dramatic, but still contains stuff
 that should not show up.

 The above seems to be the norm rather than the exception.  For example,
 right now I'm doing an update from llvm-2.9-r1 to llvm-2.9-r2, and emerge
 prints:

 *llvm-2.9-r2

  23 May 2011; Bernard Cafarelli voyag...@gentoo.org +llvm-2.9-r2.ebuild,
  +files/llvm-2.9-Operator.h-c++0x.patch:
  Fix header for gcc 4.6, bug #365925

  21 Apr 2011; Fabian Groffen grob...@gentoo.org llvm-2.9-r1.ebuild,
  llvm-.ebuild:
  Fix broken reference that I missed yesterday
This is pulled in because of the change to the live ebuild which
evaluates as a newer ebuild.
  20 Apr 2011; Fabian Groffen grob...@gentoo.org llvm-2.9-r1.ebuild,
  llvm-.ebuild:
  Fix install_name_tooling

same as above.
 Is this normal?  Bug?



HTH,
James Wall



Re: [gentoo-user] ebuild ChangeLog and emerge -l

2011-05-23 Thread Paul Hartman
On Mon, May 23, 2011 at 10:29 AM, Nikos Chantziaras rea...@arcor.de wrote:
 When doing an update using the -l option of emerge, eg:

  emerge -uDNl world

 The ChangeLog entries that are displayed seem buggy to me.  For example,
 sometimes a whole page worth of changes from a single ChangeLog is
 displayed, containing entries for ebuilds older than what is currently
 installed.  Some other times it's less dramatic, but still contains stuff
 that should not show up.

You can also take a look at:

/usr/lib64/portage/pym/_emerge/resolver/output_helpers.py

It contains the regexp that is used to parse the changelogs and the
logic of what is shown and ignored.



[gentoo-user] Re: pf-sources Kernel

2011-05-23 Thread James
Nikos Chantziaras realnc at arcor.de writes:


 I don't run pf-sources, but I run a BFS-patched gentoo-sources.  One of 
 the reasons I use it is because of its support for the SCHED_ISO process 
 priority, which is important for audio applications.  Otherwise, I would 
 need to use a realtime-linux kernel, which is total overkill and I don't 
 want to reboot into a different kernel just for an audio session.  Also, 
 SCHED_ISO works for normal users so I don't have to launch stuff like 
 jack-audio as root.

Very cool to know

 Another reason I use it is because my system becomes a bit more 
 responsive with BFS (meaning the GUI - I use KDE).  

I've read this in quite a few place for 16 processors or less.
Interesting.
 So BFS it is for me 

I'm going to experiment with the pf-sources
He seems to be up on the latest kernels and pathches,
much faster than any other kernel sources for Gentoo.


Thanks,
James