Re: [1/2OT] htop for 128 processors

2013-01-19 Thread tv.deb...@googlemail.com

On 18/01/2013 09:13, lina wrote:

On Friday 18,January,2013 03:51 PM, Stan Hoeppner wrote:

On 1/18/2013 1:29 AM, lina wrote:

Anyone has some idea about how to set 4 columns like this?

http://htop.sourceforge.net/htop-64.png


$ man htop

F2, S
 Setup screen. There you can configure meters displayed on
the top side of the screen, as well as set various display
 options, choose among color schemes and select the layout of
the displayed columns.

Always ask man first, then debian-users.


I tried, it only provided the "add to left (F5) column" and "add to
right colunm (F6)", I can't drag four columns out.

Anyhow I can use the average. just curious.

Thanks,



Hi, don't know if you are still looking into this, but wyou could try:


Go to setup (F2), remove current CPU meter from left column (F9), add 
"CPUs 1&2/4" to left column (F5), then add "CPUs 3&4/4" to right column 
(F6). When done move the newly added meters up (F7).


It works with 8 and 16 cores for sure, don't see why it wouldn't work 
for your configuration.


HIH.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50fa645e.2030...@googlemail.com



Re: a tool to have specific images on X root window

2013-01-19 Thread Erwan David

Le 18/01/2013 22:11, berenger.mo...@neutralite.org a écrit :



Le 18.01.2013 21:42, Erwan David a écrit :

Le 18/01/2013 21:38, Javier Vasquez a écrit :

On Fri, Jan 18, 2013 at 2:13 PM, Erwan David  wrote:

Le 18/01/2013 21:10, Erwan David a écrit :


Le 18/01/2013 21:02, berenger.mo...@neutralite.org a écrit :

Hello.

I would like to know if someone knows a tool like xphoon or 
xplanet, but
allowing to use a simple image (I do not mind the format: I can 
convert

images by script) instead of planets with calculations.

It have no real use, except making my workspaces a background 
image which

will probably become useless in the second :D

Oh, last thing. I do not, and do not intend to, use big DE like kde,
gnome, xfce, lightweight dependencies is a requirement. Stuff 
with the same
mind of lxde is an option, but I did not find a package giving 
only that
feature (I already have a window manager and a menu application, 
even if the

last one does not provide me what I would like).

Thanks in advance for suggestions.



xroot ?



Or xloadimage, I had forgotten.


xloadimage is perfect, thanks a lot!
I did not found any xroot software, but there is a "$xrootconsole 
$image -onroot", but this one simply writes a file on root window, but 
in a raw form. Nice for text, I guess it could be useful to draw 
informations from sensors, by example.

Thanks for both those tools.

Sorry, after checking I was thinking xsetroot, which can draw a bitmap 
on the root window.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50fa6775.7060...@rail.eu.org



Re: Why the 64 bit ISA is better

2013-01-19 Thread berenger . morel



Le 19.01.2013 00:21, Stan Hoeppner a écrit :

Given the recent threads regarding 32 vs 64 bit I thought I'd take a
moment to present information often omitted in responses to these 
posts.


First, the i386 kernel/user space have access to only the original 8
general purpose registers of the 80386 ISA that are 32 bits wide, and
cannot generally access the more recent multimedia/floating point
registers used for things like SSE3/4 and AVX.

The AMD64 ISA has twice as many GPRs and twice as wide, 16 general
purpose registers each 64 bits wide, and also can access the 128 bit 
and

256 bit wide multimedia/FP registers of the newest CPUs, allowing for
SSE3/4, AVX, etc.  These give greatly enhanced performance for some
kernel operations (md RAID5/6 for example) and many applicaitons.

So beyond the advantage of linear memory addressing far beyond the 
4GB
limit of the i386 kernel/apps, the AMD64 kernel/apps have some 
serious

performance advantages.

--
Stan


Thanks for detailed informations, I was suggesting some of them 
(instruction sets and range of registers, but did not known about the 
new GPRs), but did not had the knowledge to explain things as nicely as 
you.
I do not know why people most often reduce x86_64 archs to simply more 
than 4GB of ram, I guess it is harder to notice difference we had when 
changing from 16 to 32 bits...


I would like to archive your mail, with your permission, as a good 
presentation of the enhancements of x86_64's archs for people interested 
in computers stuff.


PS: do you know if, as for 16 bits to 32 bits, there is a the need to 
switch processor's "mode"? With 32 bits arch, IIRC, kernels had to 
enable protected mode (versus real mode). Is there is something 
identical for 64bits archs?
I do not think so, since the protected mode only exists to protect OS 
against bad memory accesses (I think), but just thinking is not enough 
to share those suppositions to other people, it would be 
counter-productive.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e8862049ca25aeb894e414bf2fe9...@neutralite.org



Re: [1/2OT] htop for 128 processors

2013-01-19 Thread lina
On Saturday 19,January,2013 05:16 PM, tv.deb...@googlemail.com wrote:
> On 18/01/2013 09:13, lina wrote:
>> On Friday 18,January,2013 03:51 PM, Stan Hoeppner wrote:
>>> On 1/18/2013 1:29 AM, lina wrote:
 Anyone has some idea about how to set 4 columns like this?

 http://htop.sourceforge.net/htop-64.png
>>>
>>> $ man htop
>>>
>>> F2, S
>>>  Setup screen. There you can configure meters displayed on
>>> the top side of the screen, as well as set various display
>>>  options, choose among color schemes and select the
>>> layout of
>>> the displayed columns.
>>>
>>> Always ask man first, then debian-users.
>>
>> I tried, it only provided the "add to left (F5) column" and "add to
>> right colunm (F6)", I can't drag four columns out.
>>
>> Anyhow I can use the average. just curious.
>>
>> Thanks,
>>
> 
> Hi, don't know if you are still looking into this, but wyou could try:
> 
> 
> Go to setup (F2), remove current CPU meter from left column (F9), add
> "CPUs 1&2/4" to left column (F5), then add "CPUs 3&4/4" to right column
> (F6). When done move the newly added meters up (F7).
> 
> It works with 8 and 16 cores for sure, don't see why it wouldn't work
> for your configuration.

But it seems still only two columns, not 4 columns.

> 
> HIH.
> 
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50fa71cb.1050...@gmail.com



Re: debian 64 or 32 bit

2013-01-19 Thread Andrei POPESCU
On Vi, 18 ian 13, 20:33:01, berenger.mo...@neutralite.org wrote:
> 
> So, for processors able to support x84_64 archs, use it. Why would
> you use only a fragment of your computer's power?

This is a bit of an overstatement. I've been running amd64, i386 and 
amd64 kernel with i386 userland on this machine[0] and never felt any 
difference.

If you are heavily space constrained[1] than i386 does make sense, 
especially if you need 32-bit applications.

[0] Intel Dual Core T2330 @ 1.6 GHz, 2 GiB RAM
[1] at the moment I'm trying to use a 16 GB SD card for my backup 
install[2] and /home ;)
[2] usually stable, but I feel like starting from scratch, so I'm using 
wheezy

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: debian 64 or 32 bit

2013-01-19 Thread berenger . morel



Le 19.01.2013 11:49, Andrei POPESCU a écrit :

On Vi, 18 ian 13, 20:33:01, berenger.mo...@neutralite.org wrote:


So, for processors able to support x84_64 archs, use it. Why would
you use only a fragment of your computer's power?


This is a bit of an overstatement. I've been running amd64, i386 and
amd64 kernel with i386 userland on this machine[0] and never felt any
difference.

If you are heavily space constrained[1] than i386 does make sense,
especially if you need 32-bit applications.

[0] Intel Dual Core T2330 @ 1.6 GHz, 2 GiB RAM
[1] at the moment I'm trying to use a 16 GB SD card for my backup
install[2] and /home ;)
[2] usually stable, but I feel like starting from scratch, so I'm 
using

wheezy

Kind regards,
Andrei


I guess that doubling the number of register and their capacity is not 
so easy to notice for most usages. But I think it is not a bad idea to 
be able to use them when you regularly use stuff that heavily uses the 
processor, like C++ compilers :)
Maybe I should try to compile the same software with same options with 
both archs installed, but I can see no reason to see the 64bit arch 
being as slow or slower than the 32bits one...


Of course, I think it totally useless for habitual uses, like using 
word processors. But for that, modern computer are simply a waste: most 
usages of those applications were made on computers 15 years ago... (set 
this text in middle of the page, with bold font of size 32, color green, 
please... the usage of most people I said, not usage of professionals.)
I bet that I could give my "designed for windows millenium" computer to 
many people, and they could be happy with it, except for disk space and 
a bit of slowness on the web. Just, do not expect to play or compile 
with it.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5b5b6ad89a528eefad08cca7d724e...@neutralite.org



Re: [1/2OT] htop for 128 processors

2013-01-19 Thread tv.deb...@googlemail.com

On 19/01/2013 11:13, lina wrote:

On Saturday 19,January,2013 05:16 PM, tv.deb...@googlemail.com wrote:

On 18/01/2013 09:13, lina wrote:

On Friday 18,January,2013 03:51 PM, Stan Hoeppner wrote:

On 1/18/2013 1:29 AM, lina wrote:

Anyone has some idea about how to set 4 columns like this?

http://htop.sourceforge.net/htop-64.png


$ man htop

 F2, S
  Setup screen. There you can configure meters displayed on
the top side of the screen, as well as set various display
  options, choose among color schemes and select the
layout of
the displayed columns.

Always ask man first, then debian-users.


I tried, it only provided the "add to left (F5) column" and "add to
right colunm (F6)", I can't drag four columns out.

Anyhow I can use the average. just curious.

Thanks,



Hi, don't know if you are still looking into this, but wyou could try:


Go to setup (F2), remove current CPU meter from left column (F9), add
"CPUs 1&2/4" to left column (F5), then add "CPUs 3&4/4" to right column
(F6). When done move the newly added meters up (F7).

It works with 8 and 16 cores for sure, don't see why it wouldn't work
for your configuration.


But it seems still only two columns, not 4 columns.



HIH.






Strange, it sure is working here both in vt and in X, through ssh too. 
Maybe it has to do with screen resolution or the size of the term window ?





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50fa87ce.3040...@googlemail.com



Re: [1/2OT] how to delete ??? file

2013-01-19 Thread Martin Steigerwald
Hi Lina,

Am Freitag, 18. Januar 2013 schrieb lina:
>  > Where is that directory located? In your home directory?
> 
> Yes, in my home directory. The path is /home/lina/try
> 
> >> -? ? ? ? ?? XX.tar
> > 
> > I imagine it could also be a subtile lack of access rights (SELinux
> > possibly?), but usually I would suspect a message about it then.
> 
> Yes, it has SELinux.

Might be related, but I am not deeply enough into it.

> >> I wonder how can I delete it?
> > 
> > Are you sure that it is a good idea to try to delete something were you
> > at least partly have no access rights to and then as it appears don´t
> > know how it happened to be there in the first place?
> > 
> > If thats the monster box I´d contact your system administrator about it
> > :).
> 
> It's well maintained, at least far better than other boxes I met before.
> Just it might be my fault, long long time ago, I might chmod blindly at
> that time.

Monster box was related to the hardware equipment, not the administration :)

> > Also be careful on what possibly private information you disclose here
> > to the public. As interested as I would be to have some access to such
> > a box :)
> 
> How? btw, please feel free to help me delete this directory if you
> access to it.

what happens on

chmod u+rwx /home/lina/try

What does

find /home/lina/try -ls

say then?

If -ls in find does not work try:

find /home/lina/try -exec ls -ld {} \;

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201301191431.02704.mar...@lichtvoll.de



Re: Why the 64 bit ISA is better

2013-01-19 Thread Stan Hoeppner
On 1/19/2013 3:41 AM, berenger.mo...@neutralite.org wrote:

> Thanks for detailed informations, I was suggesting some of them
> (instruction sets and range of registers, but did not known about the
> new GPRs), but did not had the knowledge to explain things as nicely as
> you.
>
> I would like to archive your mail, with your permission, as a good
> presentation of the enhancements of x86_64's archs for people interested
> in computers stuff.

I don't mind.  But the Wikipedia page has much more detail, so you
should reverence that:
http://en.wikipedia.org/wiki/X86-64

> PS: do you know if, as for 16 bits to 32 bits, there is a the need to
> switch processor's "mode"?

Yes.  x86-64 adds 'long' mode which comprises two sub-modes. See the
Wikipedia page or the x86-64 Architectural Programmer's Reference Manual
for details.

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50faa2a9.3000...@hardwarefreak.com



Re: OpenVPN and IP Forwarding

2013-01-19 Thread Pascal Hambourg
Hello,

Joe a écrit :
> 
> Entirely unrelated to anything else in the thread, but this one caught
> me yesterday, moving a firewall script from an old Ubuntu to a Sid
> machine.
> 
> In Sid, 'state' no longer works. Instead of:

Are you sure it is not just a warning ? I can see from
packages.debian.org that the xt_state module and shared library are
still present in Sid/unstable linux-image and iptables packages.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50faa00e.40...@plouf.fr.eu.org



Re: 32-bit Kernel on 64-bit CPU?

2013-01-19 Thread Pascal Hambourg
Hello,

Andrei POPESCU a écrit :
>  
> The 686-pae kernel is 32-bit, nothing strange here.
> 
> However, in your OP you mentioned not being able to allocate more than 2 
> GB with qemu. Unless this is some limitation of qemu it should have 
> worked with the -686-pae kernel

Don't forget that even though the PAE kernel can manage up to 64 GiB of
physical memory, 32 userland processes are still limited to 32-bit
virtual memory addressing.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50faa34f.2010...@plouf.fr.eu.org



Re: OpenVPN and IP Forwarding

2013-01-19 Thread Pascal Hambourg
cletusjenkins a écrit :
> I can ping the machine from the private network, but not the other way around.

What does this mean exactly ? Please provide the exact commands and output.

Also please provide the output of iptables-save.

> Kernel IP routing table
> Destination Gateway Genmask Flags   MSS Window  irtt Iface
> 10.10.0.110.10.0.249 255.255.255.255 UGH   0 0  0 tun0
> 99.88.77.66 11.22.33.44255.255.255.255 UGH   0 0  0 eth1
> 192.168.2.0 0.0.0.0 255.255.255.255 UH0 0  0 eth0
> 10.10.0.249 0.0.0.0 255.255.255.255 UH0 0  0 tun0
> 11.22.33.40 0.0.0.0 255.255.255.252 U 0 0  0 eth1
> 192.168.2.0 0.0.0.0 255.255.255.0   U 0 0  0 eth0
> 0.0.0.0   10.10.0.249 0.0.0.0 UG0 0  0 
> tun0

Looks fine, except for the useless route to 192.168.2.0/32.

> I searched and found some instructions with iptables commands that
> would allow ip forwarding over the VPN, but it didn't seem to make
> any difference:

The effect of each single iptables rule may vary depending on the global
ruleset. Hence my request above.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50faa71f.4070...@plouf.fr.eu.org



Re: Why the 64 bit ISA is better

2013-01-19 Thread Martin Steigerwald
Am Samstag, 19. Januar 2013 schrieb Stan Hoeppner:
> > PS: do you know if, as for 16 bits to 32 bits, there is a the need to
> > switch processor's "mode"?
> 
> Yes.  x86-64 adds 'long' mode which comprises two sub-modes. See the
> Wikipedia page or the x86-64 Architectural Programmer's Reference Manual
> for details.

You can see whether the CPU has this longmode in Linux:

martin@merkaba:~> egrep --colour=always "(model|lm)" /proc/cpuinfo | head -3
model   : 42
model name  : Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx 
rdtscp >>> lm <<< constant_tsc arch_perfmon pebs bts nopl xtopology 
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx 
est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt 
tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts 
dtherm tpr_shadow vnmi flexpriority ept vpid

This is a good way to see whether a CPU is capable of 64-bit stuff.


lspcu also shows the supported modes:

martin@merkaba:~> lscpu
Architecture:  x86_64
CPU op-mode(s):32-bit, 64-bit
Byte Order:Little Endian
CPU(s):4
On-line CPU(s) list:   0-3
Thread(s) per core:2
Core(s) per socket:2
Socket(s): 1
NUMA node(s):  1
Vendor ID: GenuineIntel
CPU family:6
Model: 42
Stepping:  7
CPU MHz:   800.000
BogoMIPS:  4983.77
Virtualization:VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache:  256K
L3 cache:  3072K
NUMA node0 CPU(s): 0-3

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201301191604.46998.mar...@lichtvoll.de



Re: [1/2OT] how to delete ??? file

2013-01-19 Thread tv.deb...@googlemail.com

On 19/01/2013 14:31, Martin Steigerwald wrote:

Hi Lina,

Am Freitag, 18. Januar 2013 schrieb lina:

  >  Where is that directory located? In your home directory?

Yes, in my home directory. The path is /home/lina/try


-? ? ? ? ?? XX.tar


I imagine it could also be a subtile lack of access rights (SELinux
possibly?), but usually I would suspect a message about it then.


Yes, it has SELinux.


Might be related, but I am not deeply enough into it.


I wonder how can I delete it?


Are you sure that it is a good idea to try to delete something were you
at least partly have no access rights to and then as it appears don´t
know how it happened to be there in the first place?

If thats the monster box I´d contact your system administrator about it
:).


It's well maintained, at least far better than other boxes I met before.
Just it might be my fault, long long time ago, I might chmod blindly at
that time.


Monster box was related to the hardware equipment, not the administration :)


Also be careful on what possibly private information you disclose here
to the public. As interested as I would be to have some access to such
a box :)


How? btw, please feel free to help me delete this directory if you
access to it.


what happens on

chmod u+rwx /home/lina/try

What does

find /home/lina/try -ls

say then?

If -ls in find does not work try:

find /home/lina/try -exec ls -ld {} \;

Thanks,


Hi,

regarding SELinux attributes you can use the "-Z" ("--context") ls 
option to find out, and remount /home without ACL if necessary (or use 
"setfacl -b"). But it looks more to me as if this files are somehow 
corrupted. Did you fsck this file-system lately ?



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50fac9bc.1090...@googlemail.com



Re: [1/2OT] how to delete ??? file

2013-01-19 Thread lina
On Sunday 20,January,2013 12:28 AM, tv.deb...@googlemail.com wrote:
> On 19/01/2013 14:31, Martin Steigerwald wrote:
>> Hi Lina,
>>
>> Am Freitag, 18. Januar 2013 schrieb lina:
>>>   >  Where is that directory located? In your home directory?
>>>
>>> Yes, in my home directory. The path is /home/lina/try
>>>
> -? ? ? ? ?? XX.tar

 I imagine it could also be a subtile lack of access rights (SELinux
 possibly?), but usually I would suspect a message about it then.
>>>
>>> Yes, it has SELinux.
>>
>> Might be related, but I am not deeply enough into it.
>>
> I wonder how can I delete it?

 Are you sure that it is a good idea to try to delete something were you
 at least partly have no access rights to and then as it appears don´t
 know how it happened to be there in the first place?

 If thats the monster box I´d contact your system administrator about it
 :).
>>>
>>> It's well maintained, at least far better than other boxes I met before.
>>> Just it might be my fault, long long time ago, I might chmod blindly at
>>> that time.
>>
>> Monster box was related to the hardware equipment, not the
>> administration :)
>>
 Also be careful on what possibly private information you disclose here
 to the public. As interested as I would be to have some access to such
 a box :)
>>>
>>> How? btw, please feel free to help me delete this directory if you
>>> access to it.
>>
>> what happens on
>>
>> chmod u+rwx /home/lina/try
>>
>> What does
>>
>> find /home/lina/try -ls
>>
>> say then?
>>
>> If -ls in find does not work try:
>>
>> find /home/lina/try -exec ls -ld {} \;
>>
>> Thanks,
> 
> Hi,
> 
> regarding SELinux attributes you can use the "-Z" ("--context") ls
> option to find out, and remount /home without ACL if necessary (or use
> "setfacl -b"). But it looks more to me as if this files are somehow
> corrupted. Did you fsck this file-system lately ?
> 
> 

$ fsck -c
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/mapper/vg_mars-lv_root is mounted.

WARNING!!!  The filesystem is mounted.   If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.

Do you really want to continue (y/n)? no

check aborted.

$ fsck -n
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
Warning!  /dev/mapper/vg_mars-lv_root is mounted.
fsck.ext4: Permission denied while trying to open
/dev/mapper/vg_mars-lv_root
You must have r/o access to the filesystem or be root


There are some other distracting message in dmesg, like:

CIFS VFS: Send error in SessSetup = -13
Status code returned 0xc06a NT_STATUS_WRONG_PASSWORD
CIFS VFS: Send error in SessSetup = -13
mdrun_mpi[945]: segfault at 1fe7360 ip 007df9b9 sp
7fffdf9ffef0 error 4 in mdrun_mpi[40+48]


Thanks,



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50facaf2.2010...@gmail.com



Priorities of alternatives; was Re: Re (2): xmonad and LXDE.

2013-01-19 Thread peasthope
man update-alternatives has no mention of how the priorities of 
alternatives originate.  The most reasonable explanation I can 
imagine is that any new alternative is assigned a lower priority 
than extant alternatives.  Correct?

My example from last July.
peter@dalton:~$ update-alternatives --display x-window-manager
x-window-manager - auto mode
  link currently points to /usr/bin/openbox
/usr/bin/openbox - priority 90
  slave x-window-manager.1.gz: /usr/share/man/man1/openbox.1.gz
/usr/bin/xmonad - priority 20
Current 'best' version is '/usr/bin/openbox'.

Suppose that I prefer xmonad to openbox.  

One way to indulge my prefence would be to somehow impose 
it in the operation of startx.  Apparently this is the effect 
of the first instruction in http://wiki.debian.org/Xmonad,
"... add 
STARTUP=x-window-manager
to your ~/.xsessionrc."

A second strategy would be to find a way to raise the priority 
of xmonad.  If my original speculation above is correct, this 
might be achieved by de-installing both alternatives and 
reinstalling in the desired order.  Alternatively, by using 
update-alternatives directly.

update-alternatives --remove x-window-manager /usr/bin/xmonad
update-alternatives --install x-window-manager x-window-manager /usr/bin/xmonad 
100

This would give xmonad top priority system wide and should work 
for a display manager as well as for startx.  Comments welcome.

... Peter E.


-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  
"http://members.shaw.ca/peasthope/index.html#Itinerary "


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/171057907.37139.24988@cantor.invalid



Re: [1/2OT] how to delete ??? file

2013-01-19 Thread tv.deb...@googlemail.com

On 19/01/2013 17:33, lina wrote:

On Sunday 20,January,2013 12:28 AM, tv.deb...@googlemail.com wrote:

On 19/01/2013 14:31, Martin Steigerwald wrote:

Hi Lina,

Am Freitag, 18. Januar 2013 schrieb lina:

   >   Where is that directory located? In your home directory?

Yes, in my home directory. The path is /home/lina/try


-? ? ? ? ?? XX.tar


I imagine it could also be a subtile lack of access rights (SELinux
possibly?), but usually I would suspect a message about it then.


Yes, it has SELinux.


Might be related, but I am not deeply enough into it.


I wonder how can I delete it?


Are you sure that it is a good idea to try to delete something were you
at least partly have no access rights to and then as it appears don´t
know how it happened to be there in the first place?

If thats the monster box I´d contact your system administrator about it
:).


It's well maintained, at least far better than other boxes I met before.
Just it might be my fault, long long time ago, I might chmod blindly at
that time.


Monster box was related to the hardware equipment, not the
administration :)


Also be careful on what possibly private information you disclose here
to the public. As interested as I would be to have some access to such
a box :)


How? btw, please feel free to help me delete this directory if you
access to it.


what happens on

chmod u+rwx /home/lina/try

What does

find /home/lina/try -ls

say then?

If -ls in find does not work try:

find /home/lina/try -exec ls -ld {} \;

Thanks,


Hi,

regarding SELinux attributes you can use the "-Z" ("--context") ls
option to find out, and remount /home without ACL if necessary (or use
"setfacl -b"). But it looks more to me as if this files are somehow
corrupted. Did you fsck this file-system lately ?




$ fsck -c
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/mapper/vg_mars-lv_root is mounted.

WARNING!!!  The filesystem is mounted.   If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.

Do you really want to continue (y/n)? no

check aborted.

$ fsck -n
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
Warning!  /dev/mapper/vg_mars-lv_root is mounted.
fsck.ext4: Permission denied while trying to open
/dev/mapper/vg_mars-lv_root
You must have r/o access to the filesystem or be root


There are some other distracting message in dmesg, like:

CIFS VFS: Send error in SessSetup = -13
Status code returned 0xc06a NT_STATUS_WRONG_PASSWORD
CIFS VFS: Send error in SessSetup = -13
mdrun_mpi[945]: segfault at 1fe7360 ip 007df9b9 sp
7fffdf9ffef0 error 4 in mdrun_mpi[40+48]


Thanks,





Sorry, I wrongly assumed you were familiar with fsck, you can't check a 
mounted file-system. The error messages are normal, fsck won't proceed 
for very good reasons if the file-system is mounted.
CIFS errors are just what it says: wrong password. Looks like someone 
tried to mount a samba share with wrong credentials.

"mdrun_mpi"  is some executable which is segfaulting.

A corrupt file-system could generate such cascading errors, but they 
could also be unrelated. Anyway this system needs some serious attention 
from root !



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50fad322.5070...@googlemail.com



Re: debian 64 or 32 bit

2013-01-19 Thread Slavko
Hi,

Dňa Fri, 18 Jan 2013 23:36:50 -0600 "Mark Allums" 
napísal:

> > There is one disadvantage, i read about it, that by using the 64bit
> > pointers, the binaries size and memory requirements are on amd64
> > higher, than on i386. But bigger HDD and more RAM is no problem
> > in these days.
> 
> There is a size increase, but not as big as you might think.  Your
> memory requirements won't double.  For all *new* computers, 64-bit is
> a no-brainer.  As everyone is saying, 8 GB is fairly common now for
> desktop machines, and memory access is far more efficient under a
> 64-bit OS on machines with memory larger than 3 GB. 

Sure. I don't wrote that memory or disk requirements are double, but
they are higher.

regards

-- 
Slavko
http://slavino.sk


signature.asc
Description: PGP signature


RE: debian 64 or 32 bit

2013-01-19 Thread Ralf Mardorf
-Original Message-
From: Ralf Mardorf
Sent: Sat 1/19/2013 19:21
To: debian-u...@lists.debian.or
Subject: Re: debian 64 or 32 bit
 
On Sat, 19 Jan 2013 18:41:21 +0100, Slavko  wrote:
> Hi,
>
> Dna Fri, 18 Jan 2013 23:36:50 -0600 "Mark Allums" 
> napísal:
>
>> > There is one disadvantage, i read about it, that by using the 64bit
>> > pointers, the binaries size and memory requirements are on amd64
>> > higher, than on i386. But bigger HDD and more RAM is no problem
>> > in these days.
>>
>> There is a size increase, but not as big as you might think.  Your
>> memory requirements won't double.  For all *new* computers, 64-bit is
>> a no-brainer.  As everyone is saying, 8 GB is fairly common now for
>> desktop machines, and memory access is far more efficient under a
>> 64-bit OS on machines with memory larger than 3 GB.
>
> Sure. I don't wrote that memory or disk requirements are double, but
> they are higher.

It's a shame that so much unneeded stuff is sold and especially that users  
tend to through away still useful gear.
3.7GB are enough for heavy audio productions, I wonder why averaged users  
need 8GB of RAM, when they only use Firefox and an office suite to write  
one letter a year. When I bought my 2.1GHz dual-core, fast enough for  
heavy audio productions too, I liked that the CPU did need half as much  
watt as my 800MHz single core CPU did consume. Btw. on the same machine  
there isn't a big difference between 32-bit and 64-bit when doing heavy  
audio productions or compiling a kernel. I prefer 64-bit Linux, but the  
difference isn't that big. It's important to get rid of "bottlenecks" on  
what architecture ever. Btw. when I add a parallel port to my C64 to have  
faster floppy drive access, nobody imagined that we today go back from  
parallel to serial ports for modern hard disk drives. There's no valid  
general assessment about what architecture is the better one. I bet with  
my professional sound card performance will be better and CPU usage will  
be less heavy on a "week" computer, than for a "powerful" machine with an  
onboard audio device. Important are the bottlenecks regarding to the  
usage. All general claims are nothing, but blah-blah.

2 Cents,
Ralf

-- 
No good deed ever goes unpunished.
Einer guten Tat folgt die Strafe auf dem Fuße!


GDM3 Duplicates Menus Clocks Workspace Switcher etc.

2013-01-19 Thread Felix Winterhalter

Hey there everyone,

I just installed debian wheezy and I get the following problem with 
gdm3: Every time I login the menu items are added again (to the already 
existing items) and the clock is added and the logout menu is also added 
as is the workspace switcher and the taskbar ... So after 3 logins I now 
have three of every sort ... reinstalling gdm didn't even remove the 
menu entries neither did completely rm -R * ing the home directory


I have no idea what to do anymore

I am using a Dual Screen Setup which I had lots of trouble setting up 
using the free driver for ATI cards so I switched to the proprietary one 
and used the initalize function of aticonfig for two monitors. However 
Gnome shows still only one monitor in its system settings, maybe that 
could be related...


I am very grateful for any idea!

Thanks in Advance,
Felix

Screenshot: http://i.imgur.com/PfWgl0f.png


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50fae704.1010...@audiofair.de



Re: GDM3 Duplicates Menus Clocks Workspace Switcher etc.

2013-01-19 Thread Ralf Mardorf
On Sat, 19 Jan 2013 19:33:40 +0100, Felix Winterhalter  
 wrote:

Screenshot: http://i.imgur.com/PfWgl0f.png


It's good that you did add the screenshot, since it's the GNOME3 panel and  
not GDM, GNOME's display manager.
I'm not using GNOME3, but IIRC to access the panel settings, you have to  
push a key, when clicking the panel, then you could edit the panel or  
remove it and add a new panel. I also recommend to delete the cache, but  
since you already deleted /home something seems to be really fishy. No  
wait, you explicitly run "rm -R *"? This won't delete hidden files! You  
need to learn about shell globbing.


I recommend to first delete ~/.cache, if this shouldn't do the trick,  
"mv", IOW rename GNOME configurations inside your home folder.


For your GUI file browser you have to enable show hidden files, perhaps by  
the a menu "view", to see those files and for the terminal emulation run  
"ls -hAl", this will give you good human readable information.


Regards,
Ralf

--
No good deed ever goes unpunished.
Einer guten Tat folgt die Strafe auf dem Fuße!


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/op.wq599vfmqhadp0@freebsd



Re: debian 64 or 32 bit

2013-01-19 Thread Slavko
Hi,

Dňa Sat, 19 Jan 2013 12:34:54 +0100 berenger.mo...@neutralite.org
napísal:

> Of course, I think it totally useless for habitual uses, like using 
> word processors. But for that, modern computer are simply a waste:
> most usages of those applications were made on computers 15 years
> ago... (set this text in middle of the page, with bold font of size
> 32, color green, please... the usage of most people I said, not usage
> of professionals.) I bet that I could give my "designed for windows
> millenium" computer to many people, and they could be happy with it,
> except for disk space and a bit of slowness on the web. Just, do not
> expect to play or compile with it.

I remember the time of 16/32bit applications (i remember the 8 bit
apps too, but changing to 16 bit was out of my scope) :-)

There was a discussions about go or not to go to the 16 bit apps too.
In these days i see 16 bit apps occasionally only (very old MS-DOS apps
in my job - some CAD communication). I think, that here is time to tell
"bye bye 32bit apps" now. :-)

Of course, here are situations, where can be problem - for example i
have one hardware with proprietary driver (interactive white board)
with 32-bit installer only, then i was using i386 Debian, with 64bit
kernel (some years ago - now the company doesn't provides the Linux
driver) for it, but this is special case, as above mentioned MS-DOS
apps, which are running on dedicated Win98 machines.

regards

-- 
Slavko
http://slavino.sk


signature.asc
Description: PGP signature


Re: OpenVPN and IP Forwarding

2013-01-19 Thread Joe
On Sat, 19 Jan 2013 14:30:54 +0100
Pascal Hambourg  wrote:

> Hello,
> 
> Joe a écrit :
> > 
> > Entirely unrelated to anything else in the thread, but this one
> > caught me yesterday, moving a firewall script from an old Ubuntu to
> > a Sid machine.
> > 
> > In Sid, 'state' no longer works. Instead of:
> 
> Are you sure it is not just a warning ? I can see from
> packages.debian.org that the xt_state module and shared library are
> still present in Sid/unstable linux-image and iptables packages.
> 
> 

Sorry, I wasn't being precise, it is a warning at the moment, but a
firewall is an embarrassing thing to lose after an update, so I treated
it as a fix-it-NOW job.

-- 
Joe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130119191558.13b8c...@jretrading.com



Re: GDM3 Duplicates Menus Clocks Workspace Switcher etc.

2013-01-19 Thread Ralf Mardorf
On Sat, 19 Jan 2013 20:11:45 +0100, Ralf Mardorf  
 wrote:


On Sat, 19 Jan 2013 19:33:40 +0100, Felix Winterhalter  
 wrote:

Screenshot: http://i.imgur.com/PfWgl0f.png


It's good that you did add the screenshot, since it's the GNOME3 panel  
and not GDM, GNOME's display manager.
I'm not using GNOME3, but IIRC to access the panel settings, you have to  
push a key, when clicking the panel, then you could edit the panel or  
remove it and add a new panel. I also recommend to delete the cache, but  
since you already deleted /home something seems to be really fishy. No  
wait, you explicitly run "rm -R *"? This won't delete hidden files! You  
need to learn about shell globbing.


I recommend to first delete ~/.cache, if this shouldn't do the trick,  
"mv", IOW rename GNOME configurations inside your home folder.


For your GUI file browser you have to enable show hidden files, perhaps  
by the a menu "view", to see those files and for the terminal emulation  
run "ls -hAl", this will give you good human readable information.


Regards,
Ralf


PS: OTOH from where did you recursively deleted files using the asterisk?  
Resp. seemingly you didn't delete everything, so it shouldn't matter, but  
even using the asterisk it's possible to delete hidden files, regarding  
from where you run the remove command.



--
No good deed ever goes unpunished.
Einer guten Tat folgt die Strafe auf dem Fuße!


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/op.wq6akc0hqhadp0@freebsd



Re: [1/2OT] how to delete ??? file

2013-01-19 Thread tv.deb...@googlemail.com
## Transferring back to the list since i received this personally, and 
## I am not the OP


On 19/01/2013 19:12, pavicic wrote:


Hi,


-? ? ? ? ?? XX.tar



I wonder how can I delete it?




I've just come accross this. Didn't read the history.
Thought the following might help.

Such orphan files appeared on my cluster when the
system failed to close the files that were generated
by massive calculations.

I succeeded in deleting them via mc (Midgnight Commander).
In mc, I was also able to see some more details than on
the command line.

M.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50faf875.1080...@googlemail.com



Re: [1/2OT] how to delete ??? file

2013-01-19 Thread craig
On Saturday, January 19, 2013 10:33, "lina"  said:

 Yes, in my home directory. The path is /home/lina/try

>> -? ? ? ? ?? XX.tar
>
>> But it looks more to me as if this files are somehow
>> corrupted. Did you fsck this file-system lately ?

Hi Lina

Excuse me for replying to this message, I've managed to lose your first
post. This is most likely not a corrupt file system, but rather it is 
probably the result of lack of execute permission on the directory. You
can recreate it thusly: 

$ cd /tmp
$ mkdir test
$ export looptest=0
$ while [ $looptest -le 10 ]
  do
 touch test/test$looptest
 loop=`expr $looptest + 1`
  done

$ ls -l test
total 0
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test0
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test1
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test10
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test2
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test3
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test4
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test5
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test6
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test7
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test8
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test9

$ chmod 644 test

$ ls -l test
ls: cannot access test/test3: Permission denied
ls: cannot access test/test1: Permission denied
ls: cannot access test/test5: Permission denied
ls: cannot access test/test10: Permission denied
ls: cannot access test/test6: Permission denied
ls: cannot access test/test8: Permission denied
ls: cannot access test/test9: Permission denied
ls: cannot access test/test2: Permission denied
ls: cannot access test/test0: Permission denied
ls: cannot access test/test4: Permission denied
ls: cannot access test/test7: Permission denied
total 0
-? ? ? ? ?? test0
-? ? ? ? ?? test1
-? ? ? ? ?? test10
-? ? ? ? ?? test2
-? ? ? ? ?? test3
-? ? ? ? ?? test4
-? ? ? ? ?? test5
-? ? ? ? ?? test6
-? ? ? ? ?? test7
-? ? ? ? ?? test8
-? ? ? ? ?? test9

$ rm -f test/*
rm: cannot remove `test/test0': Permission denied
rm: cannot remove `test/test1': Permission denied
rm: cannot remove `test/test10': Permission denied
rm: cannot remove `test/test2': Permission denied
rm: cannot remove `test/test3': Permission denied
rm: cannot remove `test/test4': Permission denied
rm: cannot remove `test/test5': Permission denied
rm: cannot remove `test/test6': Permission denied
rm: cannot remove `test/test7': Permission denied
rm: cannot remove `test/test8': Permission denied
rm: cannot remove `test/test9': Permission denied

$ chmod 755 test

$ ls -l test
total 0
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test0
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test1
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test10
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test2
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test3
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test4
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test5
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test6
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test7
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test8
-rw-r--r-- 1 craig craig 0 Jan 19 13:50 test9

$ rm -f test/*

$ ls -l test
total 0

This is a result of needing directory execute permission in order
to traverse the directory.


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358627597.802821...@webmail.gtek.biz



RE: debian 64 or 32 bit

2013-01-19 Thread berenger . morel
 Important are the bottlenecks regarding to the usage. All general 
claims are nothing, but blah-blah.


Could not agree more. Too many people are buying new ram modules when 
they should simply buy a faster hard disk, by example.
People often say that dev needs high-performance computers for 
compilation, and I am doing most of my personal dev on a netbook. It is 
powerful enough.
Well, ok, it would not be if I was using certain IDE, and some weeks 
ago I wanted to change my RAM module to go to 2GB. But since then, I've 
discovered clang.


The current problem, and reason why people need new, over-powerful 
hardwares is that developers create bloatwares and soft with many memory 
leaks and high memory costs.
I remember teachers I had saying that using "int" was as good as using 
"char" since consumers can buy ram. Luckily, I had already knowledge in 
programming, and a strong opinion that obvious optimizations must be 
done, but I was an exception.


You spoke about firefox. A few versions ago, it was a good sample of 
what I said, but because of the browser's war, they finally fix their 
problems. I can remember times where it was able to run with less than 
256MB! It can not do that on desktop version nowadays. Not without a lot 
of disk access to swap.
But I think it is a shame that softwares need "opponents" to think 
about their performances problems.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/8be12824af8b2496bf749cb0cbe7e...@neutralite.org



Re: 32-bit Kernel on 64-bit CPU?

2013-01-19 Thread craig
On Saturday, January 19, 2013 07:44, "Pascal Hambourg"  
said:

> Hello,
> 
> Andrei POPESCU a écrit :
>>
>> The 686-pae kernel is 32-bit, nothing strange here.
>>
>> However, in your OP you mentioned not being able to allocate more than 2
>> GB with qemu. Unless this is some limitation of qemu it should have
>> worked with the -686-pae kernel
> 
> Don't forget that even though the PAE kernel can manage up to 64 GiB of
> physical memory, 32 userland processes are still limited to 32-bit
> virtual memory addressing.

One thing I've learned is that the more work it takes to resolve a problem, the
less likely it is that you will forget that resolution. Thanks!

I also misspoke in my previous post. It was not a "problem" with qemu, it was my
lack of understanding, dut to my lack of reading. Qemu was not the issue, I was.

I've also enjoyed the other 64-bit discussions and picked up a few tips. My
thanks to everyone that participated in the conversations.


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358628210.60766...@webmail.gtek.biz



Can't login into phpldapadmin web interface

2013-01-19 Thread Csanyi Pal
Hi,

I just installed slapd, ldap-utils and phpldapadmin on to my Debian
GNU/Linux 7.0 (wheezy) system.

I run
sudo slaptest -v
config file testing succeeded

However, I can't run say the command:
sudo ldapmodify
SASL/DIGEST-MD5 authentication started
Please enter your password: I enter here the password that I give when I
installed slapd
ldap_sasl_interactive_bind_s: Invalid credentials (49)
additional info: SASL(-13): user not found: no secret in database

When I'm trying to login on my phpldapadmin web interface:
http://localhost/phpldapadmin/index.php

cn=admin,dc=example,dc=com
I enter here the password that I give when I
installed slapd

I get error messages:
Unable to connect to LDAP server My LDAP Server
Hiba: Invalid credentials (49) for user
error   Failed to Authenticate to server
Invalid Username or Password.

Well, installing and the configuration of the LDAP for a new user isn't
so easy. 

What is the problem here and how can I solve it?

-- 
Regards from Pal


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87hamc3gr2@gmail.com



What are some common problems when using Debian GNU / LINUX?

2013-01-19 Thread venturehw
Hello:

Please provide some examples of common problems when using Debian GNU / 
LINUXso that I may more effectively gain a better handle on the 
trouble-shooting process. 

Thank you!

Sincerely,
Herschel

Re: What are some common problems when using Debian GNU / LINUX?

2013-01-19 Thread berenger . morel



Le 20.01.2013 00:07, ventur...@yahoo.com a écrit :

Hello:

Please provide some examples of common problems when using Debian GNU
/ LINUXso that I may more effectively gain a better handle on the
trouble-shooting process.

Thank you!

Sincerely,
Herschel


I think main problems is lack of support for certain hardware, or 
"difficulties" (you will had to do some researches... but it is as on 
other systems) to install few of them.
Some examples I am thinking about is support for recent NVidia cards, 
various wifi or sound chip-sets which do not always have free drivers.
The common way to solve those problems is by adding non-free 
repositories, and install them. Forums are a good starting point to 
gather informations, they often contain solutions, and the fun point is 
that you do not need to limit yourself to debian forums.


Other problems you may encounter depends on which OS you were used to. 
If you come from windows, you might be surprised by the strong security 
by default and the structure of folders. When I have switched from 
windows to debian, I thought that separating software configurations 
from their resources from their binaries... etc was stupid. But when you 
become used to this, you think the windows' way is wrong, since it does 
not allow, by example, to save and restore system's configuration as 
easily.


You might also be surprised that some configuration actions are made 
through command-line and by directly editing configuration files. Those 
configuration elements varies depending on the desktop environment you 
will choose. Some of use like to have to tinker with command lines and 
files, but I think most people prefer graphical tools.


I really think problems you will have will greatly depends on your 
computer knowledge, the OS from which you are trying to switch, and your 
hardware.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2394d37bb2f5b8a119a461fb37b5b...@neutralite.org



Re: What are some common problems when using Debian GNU / LINUX?

2013-01-19 Thread Yaro Kasear

On 01/19/2013 05:07 PM, ventur...@yahoo.com wrote:

Hello:

Please provide some examples of common problems when using Debian GNU 
/ LINUXso that I may more effectively gain a better handle on the 
trouble-shooting process.


Thank you!

Sincerely,
Herschel
Maybe the primary problem comes with Debian's more zealous adherance to 
the Free Software philosophy. It is a good thing, for the most part, but 
it has some disadvantages, particularly in the realm of hardware and the 
sort of support a lot of open source drivers offer, specifically with 
display drivers or wireless networking..


Biggest example of this having a downside for Debian is official debian 
media not providing "nonfree" firmware for wifi chipsets, making it 
often much more difficult to install the system if you can't simply wire up.


I've also got to be perhaps a little frank... Debian's multilib/java 
support has always been a bit of a low point for me.


Debian does offer non-free software in unsupported repositories, but at 
install time these are usually not accessible.


Don't misinterpret this as me not likign Debian, I really do like Debian 
for servers (I use Debian on my server.). I don't generally find it as 
ideal for desktops as many other distributions for the reasons above.


Debian Stable is maybe not the best for desktops if you're interested in 
having more up-to-date software. The concept behind Stable is 
near-implausible levels of quality control on the packages.


There is testing and unstable. Testing is actually maybe better thought 
as the "Debian best for desktops" by many because it gets into that 
balance of "recent" packages with a still somewhat reasonable amount of 
stability.


Sid is not recommended for anything but actual testing and quality 
control purposes. It's full rolling release but because it's about 
developing packages as opposed to providing a full-on usable system as 
rolling release, it's not ideally suited for desktops or servers. If you 
like rolling release and want to use it as a "stable" Linux system I'd 
recommend Arch instead.


But I digress.

Debian is a wonderful system! Great community, very high quality 
packages, and easy to get help for. Just watch out for the caveats that 
come with a "Free Software" mentality.


Conrad


Re: What are some common problems when using Debian GNU / LINUX?

2013-01-19 Thread Ralf Mardorf

On Sun, 20 Jan 2013 00:07:19 +0100,  wrote:
Please provide some examples of common problems when using Debian GNU /  
LINUXso that I may more effectively gain a better handle on the  
trouble-shooting process.


For "averaged" usage there aren't "common" problems. What ever "averaged"  
and "common" are for. At the moment Debian isn't a distro I use myself,  
because there are issues regarding to my needs.


What hardware do you use and for what usage do you need your computer?

Drivers for hardware could cause trouble. For some domains there aren't  
professional apps available, e.g. non-linear video editing. If you buy new  
hardware, take care that it's supported by Linux. If you need some special  
software for professional usage, check if there are such apps available  
for Linux.


With Linux you can tweak you system very good, you can unbind devices, you  
can set priorities (nice values, or completely different real-time  
priority, e.g. for CNC or pro-audio) etc. pp..


The advantage of packages that provide binaries is, that you don't need  
days to compile the software, the disadvantage is, that you are dependent  
to upstream, resp. the package maintainers. Not entirely true, since you  
still can compile apps when using most apps by packages, sometimes issues  
already can be solved by building dummy packages, to fake a dependency.


A common problem for any computer and any OS is, that if you have special  
needs, you need to tweak your computer/OS.


What's your workflow, what are your gifts, what are your weak points.

IMO it's easier to use Arch's package management and to build Arch  
packages, than to use Debian's package management and to build Debian  
packages. Another user from this list might claim, the most easiest is to  
use the package management from Suse or Redhead or Foo Bar.


It all depends to your skills, needs and hardware.

Regards,
Ralf


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/op.wq6pakz1qhadp0@freebsd



Re: What are some common problems when using Debian GNU / LINUX?

2013-01-19 Thread Ralf Mardorf

On Sun, 20 Jan 2013 00:36:45 +0100,  wrote:
Some examples I am thinking about is support for recent NVidia cards,  
various wifi or sound chip-sets which do not always have free drivers.
The common way to solve those problems is by adding non-free  
repositories, and install them.


It's not that easy. Sometimes there aren't or at least are no good drivers  
available. What is the OP using Linux for?
I only can give good examples for audio, since this is the domain that is  
important for me.


The OP should join a Linux community that does share the same or similar  
needs, for audio this e.g. would be the Linux audio community.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/op.wq6pyatnqhadp0@freebsd



Re: What are some common problems when using Debian GNU / LINUX?

2013-01-19 Thread Ralf Mardorf

On Sun, 20 Jan 2013 01:39:55 +0100, Yaro Kasear  wrote:

Linux system I'd recommend Arch instead.


Which I don't call a rolling release. Arch was my preferred distro. If you  
have a distro with releases you can make hard transitions. For Ubuntu the  
transition from init to upstart wasn't an issue, for Arch the transition  
from init to systemd made me dropping Arch for the moment.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/op.wq6p61w4qhadp0@freebsd



Re: [1/2OT] how to delete ??? file

2013-01-19 Thread craig
On Saturday, January 19, 2013 14:33, cr...@gtek.biz said:

> On Saturday, January 19, 2013 10:33, "lina"  said:
> 
> Yes, in my home directory. The path is /home/lina/try
>
>>> -? ? ? ? ?? XX.tar
>>
>>> But it looks more to me as if this files are somehow
>>> corrupted. Did you fsck this file-system lately ?
> 
> Hi Lina
> 
> Excuse me for replying to this message, I've managed to lose your first
> post. This is most likely not a corrupt file system, but rather it is
> probably the result of lack of execute permission on the directory. You
> can recreate it thusly:
> 
> $ cd /tmp
> $ mkdir test
> $ export looptest=0
> $ while [ $looptest -le 10 ]
>   do
>  touch test/test$looptest
>  loop=`expr $looptest + 1`
>   done

*sigh*
The above loop is an infinite loop. The line
   "loop=`expr $looptest + 1"
should read
   "looptest=`expr $looptest + 1"

I used "loop" as the variable name in my testing, and I copied that to my
original reply, but after copying it I decided to change the name because
looptest would be less likely to have been already defined. In trying to avoid
confusion I succeeded in creating it. Just hasn't been my day.

Apologies.


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1358648476.84589...@webmail.gtek.biz



Incorrect time stamps after files copied to Debian Squeeze

2013-01-19 Thread Juan R. de Silva
I am copying files from my Olimpus Voice Recorder to PC which have 
corresponding time stamps on recorder.

When I copy files to my Ubuntu 10.04 the time stamps preserved exactly as 
they are on Voice Recorder.

However after files copied to Debian Sqeeze, the system changes the time 
stamps, e.g. the file recorded at 18:24:50 (or 06:24:50PM) on Squeeze 
have time stamp of 10:24:50 (or 10:24:50AM). The date is preserved.

Both system are configured to use UTC, update time from Internet, and 
otherwise not messing times in any way.

Could anybody help me with this, please?



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/kdfp4h$th4$1...@ger.gmane.org



Re: [1/2OT] how to delete ??? file

2013-01-19 Thread lina
On Sunday 20,January,2013 04:33 AM, cr...@gtek.biz wrote:
> On Saturday, January 19, 2013 10:33, "lina"  said:
> 
> Yes, in my home directory. The path is /home/lina/try
>
>>> -? ? ? ? ?? XX.tar
>>
>>> But it looks more to me as if this files are somehow
>>> corrupted. Did you fsck this file-system lately ?
> 
> Hi Lina
> 
> Excuse me for replying to this message, I've managed to lose your first
> post. This is most likely not a corrupt file system, but rather it is 
> probably the result of lack of execute permission on the directory. You
> can recreate it thusly: 
> 
> $ cd /tmp
> $ mkdir test
> $ export looptest=0
> $ while [ $looptest -le 10 ]
>   do
>  touch test/test$looptest
>  loop=`expr $looptest + 1`
>   done
> 
> $ ls -l test
> total 0
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test0
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test1
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test10
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test2
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test3
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test4
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test5
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test6
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test7
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test8
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test9
> 
> $ chmod 644 test
> 
> $ ls -l test
> ls: cannot access test/test3: Permission denied
> ls: cannot access test/test1: Permission denied
> ls: cannot access test/test5: Permission denied
> ls: cannot access test/test10: Permission denied
> ls: cannot access test/test6: Permission denied
> ls: cannot access test/test8: Permission denied
> ls: cannot access test/test9: Permission denied
> ls: cannot access test/test2: Permission denied
> ls: cannot access test/test0: Permission denied
> ls: cannot access test/test4: Permission denied
> ls: cannot access test/test7: Permission denied
> total 0
> -? ? ? ? ?? test0
> -? ? ? ? ?? test1
> -? ? ? ? ?? test10
> -? ? ? ? ?? test2
> -? ? ? ? ?? test3
> -? ? ? ? ?? test4
> -? ? ? ? ?? test5
> -? ? ? ? ?? test6
> -? ? ? ? ?? test7
> -? ? ? ? ?? test8
> -? ? ? ? ?? test9
> 
> $ rm -f test/*
> rm: cannot remove `test/test0': Permission denied
> rm: cannot remove `test/test1': Permission denied
> rm: cannot remove `test/test10': Permission denied
> rm: cannot remove `test/test2': Permission denied
> rm: cannot remove `test/test3': Permission denied
> rm: cannot remove `test/test4': Permission denied
> rm: cannot remove `test/test5': Permission denied
> rm: cannot remove `test/test6': Permission denied
> rm: cannot remove `test/test7': Permission denied
> rm: cannot remove `test/test8': Permission denied
> rm: cannot remove `test/test9': Permission denied
> 
> $ chmod 755 test
> 
> $ ls -l test
> total 0
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test0
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test1
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test10
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test2
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test3
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test4
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test5
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test6
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test7
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test8
> -rw-r--r-- 1 craig craig 0 Jan 19 13:50 test9
> 
> $ rm -f test/*
> 
> $ ls -l test
> total 0
> 
> This is a result of needing directory execute permission in order
> to traverse the directory.

Ha ... interesting. Indeed, thanks.

> 
> 
> Sent - Gtek Web Mail
> 
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50fb749f.8090...@gmail.com



Re: What are some common problems when using Debian GNU / LINUX?

2013-01-19 Thread Yaro Kasear

On 01/19/2013 06:55 PM, Ralf Mardorf wrote:

On Sun, 20 Jan 2013 01:39:55 +0100, Yaro Kasear  wrote:

Linux system I'd recommend Arch instead.


Which I don't call a rolling release. Arch was my preferred distro. If 
you have a distro with releases you can make hard transitions. For 
Ubuntu the transition from init to upstart wasn't an issue, for Arch 
the transition from init to systemd made me dropping Arch for the moment.
It is unfortunate you've been having problems. But the trouble with 
making transitions still doesn't make Arch not rolling release. The arch 
devs generally expect a certain level of diligence on the part of their 
users and usually make a point of putting news about impending rocky 
transitions on their site.


But still, and don't interpret me as being aggressive here: Just because 
you had problems doesn't preclude a system from being rolling release. 
Arch is *precisely* what rolling release is. And it's my preferred model 
to waiting for my distributor to come around to making a new "hard 
transition" before I can get a new kernel, for example.


BUT, that is a matter of preference.

To the OP, and back on topic here: Debian is a wonderful system. It's 
fantastic for applications where you may prefer outright stability even 
at the expense of having "latest" software. Going to testing somewhat 
alleviates the age of packages at the sacrifice of a little quality 
control. Right now, since Wheezy is in the process of "going stable" 
Testing is in a general freeze, and I'm not sure how much that's 
affected the versions of packages. This makes testing get described as 
"semi-rolling release" though it'll still be generally more frequently 
updated than things such as Linux Mint Debian Edition, also reportedly a 
semi-rolling release.


Bottom line for desktop users on Debian is your biggest "issues" will 
likely be contending with the "free software" enthusiasm of the Debian 
development team. It's a good thing, generally, but has the big 
disadvantage of making it very hard to get the use of your hardware 
unless you make use of packages often considered by Debian as 
"unsupported." This is not generally a major roadblock except at install 
time if you have a wifi chipset and no physical access to your router. 
Wifi has an unfortunate model of requiring OS-provided firmware (An 
all-around poor model of hardware support, in my opinion.), which in 
Linux is usually supplied by firmware those like the Debian developers 
consider "non-free" and exclude from the official install media. This'll 
make it difficult, sometimes even impossible, to install Debian without 
considerable support (Or unofficial custom media with the firmware back 
in.).


I'm not the type who gets overly concerned about licensing, though. Even 
the "non-free" stuff provided for Debian in their official repos or in 
many third party repos is perfectly safe and usable.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50fb79be.7070...@marupa.net



Re: What are some common problems when using Debian GNU / LINUX?

2013-01-19 Thread Ralf Mardorf

On Sun, 20 Jan 2013 05:59:42 +0100, Yaro Kasear  wrote:
Even the "non-free" stuff provided for Debian in their official repos or  
in many third party repos is perfectly safe and usable.


non-free provided by Debian is safe

regarding to third party repos the OP should ask the list for experiences  
of a repo he might want to add


OT: Arch and transitions. There are different kinds of transitions.  
systemd not only stopped the rolling for many experienced users, it also  
caused that the mailing list became moderated and some users were  
completely banned from the list. IMO those banned users shouldn't have  
been banned. However, for Debian this isn't an issue, even if Debian will  
switch to systemd, for "averaged" desktop users nothing will change, just  
tons of Wikis needs to be edited.


--
No good deed ever goes unpunished.
Einer guten Tat folgt die Strafe auf dem Fuße!


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/op.wq65i8plqhadp0@freebsd



Re: Priorities of alternatives; was Re: Re (2): xmonad and LXDE.

2013-01-19 Thread Kushal Kumaran
peasth...@shaw.ca writes:

> man update-alternatives has no mention of how the priorities of 
> alternatives originate.  The most reasonable explanation I can 
> imagine is that any new alternative is assigned a lower priority 
> than extant alternatives.  Correct?
>

The packager chooses the priority.  The alternative provided is
installed (by calling update-alternatives --install) from the package
postinst.

> My example from last July.
> peter@dalton:~$ update-alternatives --display x-window-manager
> x-window-manager - auto mode
>   link currently points to /usr/bin/openbox
> /usr/bin/openbox - priority 90
>   slave x-window-manager.1.gz: /usr/share/man/man1/openbox.1.gz
> /usr/bin/xmonad - priority 20
> Current 'best' version is '/usr/bin/openbox'.
>
> Suppose that I prefer xmonad to openbox.  
>

Run update-alternatives --config x-window-manager to set your
preference.  You don't need to mess with priority.  It only decides what
will be selected automatically when packages are installed/removed.  If
you override by running update-alternatives --config, then the priority
has no effect.

> One way to indulge my prefence would be to somehow impose 
> it in the operation of startx.  Apparently this is the effect 
> of the first instruction in http://wiki.debian.org/Xmonad,
> "... add 
> STARTUP=x-window-manager
> to your ~/.xsessionrc."
>
> A second strategy would be to find a way to raise the priority 
> of xmonad.  If my original speculation above is correct, this 
> might be achieved by de-installing both alternatives and 
> reinstalling in the desired order.  Alternatively, by using 
> update-alternatives directly.
>
> update-alternatives --remove x-window-manager /usr/bin/xmonad
> update-alternatives --install x-window-manager x-window-manager 
> /usr/bin/xmonad 100
>
> This would give xmonad top priority system wide and should work 
> for a display manager as well as for startx.  Comments welcome.
>

I recommend you don't run update-alternatives --remove or --install for
this purpose.  For most sysadmins, --config should be sufficient.

-- 
regards,
kushal


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50fb91f4.a4d1440a.301a.c...@mx.google.com



Re: What are some common problems when using Debian GNU / LINUX?

2013-01-19 Thread Yaro Kasear

On 01/20/2013 12:26 AM, Ralf Mardorf wrote:

On Sun, 20 Jan 2013 05:59:42 +0100, Yaro Kasear  wrote:
Even the "non-free" stuff provided for Debian in their official repos 
or in many third party repos is perfectly safe and usable.


non-free provided by Debian is safe

regarding to third party repos the OP should ask the list for 
experiences of a repo he might want to add


OT: Arch and transitions. There are different kinds of transitions. 
systemd not only stopped the rolling for many experienced users, it 
also caused that the mailing list became moderated and some users were 
completely banned from the list. IMO those banned users shouldn't have 
been banned. However, for Debian this isn't an issue, even if Debian 
will switch to systemd, for "averaged" desktop users nothing will 
change, just tons of Wikis needs to be edited.


Debian probably won't be doing the switch to systemd. Systemd required 
very Linux-specific kernel features and Debian has a couple non-Linux 
ports that'd make going systemd impractical (However I believe systemd 
is available in the repos and officially supported.)



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50fb92ae.9080...@marupa.net



Re: What are some common problems when using Debian GNU / LINUX?

2013-01-19 Thread Thierry Chatelet
> it also  
>caused that the mailing list became moderated and some users were  
>completely banned from the list.

If you mean 'this' mailing list been moderated, my guess is you are 
mistaken. And are you positive about people being blacklisted? That 
would be pretty bad, dont you think?
Thierry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201301200808.21409.tchate...@free.fr



Re: What are some common problems when using Debian GNU / LINUX?

2013-01-19 Thread Ralf Mardorf
On Sun, 20 Jan 2013 08:08:21 +0100, Thierry Chatelet   
wrote:

 it also
caused that the mailing list became moderated and some users were
completely banned from the list.


If you mean 'this' mailing list been moderated, my guess is you are
mistaken. And are you positive about people being blacklisted? That
would be pretty bad, dont you think?


No, we off-topic were talking about Arch Linux and I don't like it, that  
some users were banned, reps. I might be mistaken, perhaps for a long time  
just one user is banned and it's not me ;). However, it was about the  
advantage that Debian isn't a rolling release. OTOH the rolling release  
Arch has got other advantages, that are missing for Debian.


IMO a rolling release as Arch Linux is for experienced users, since a  
default install even doesn't install X and even less hard transitions need  
some interaction.


A disadvantage for Debian compared to Arch IMO is, that Debian e.g.  
installs and starts all kinds of services, installs all kinds of apps etc.  
a user might not need.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/op.wq6759ucqhadp0@freebsd



Re: Priorities of alternatives; was Re: Re (2): xmonad and LXDE.

2013-01-19 Thread Bob Proulx
peasth...@shaw.ca wrote:
> man update-alternatives has no mention of how the priorities of 
> alternatives originate.  The most reasonable explanation I can 
> imagine is that any new alternative is assigned a lower priority 
> than extant alternatives.  Correct?

The package postinst script will include the alternative and the
priority.  For example the 'nano' package with the nano editor
contains:

update-alternatives --install /usr/bin/editor editor /bin/nano 40 \
  --slave /usr/share/man/man1/editor.1.gz editor.1.gz \
  /usr/share/man/man1/nano.1.gz

That priority is 40 and is assigned by the package.

> My example from last July.
> peter@dalton:~$ update-alternatives --display x-window-manager
> x-window-manager - auto mode
>   link currently points to /usr/bin/openbox
> /usr/bin/openbox - priority 90
>   slave x-window-manager.1.gz: /usr/share/man/man1/openbox.1.gz
> /usr/bin/xmonad - priority 20
> Current 'best' version is '/usr/bin/openbox'.
> 
> Suppose that I prefer xmonad to openbox.  
>
> One way to indulge my prefence would be to somehow impose 
> it in the operation of startx.  Apparently this is the effect 
> of the first instruction in http://wiki.debian.org/Xmonad,
> "... add 
> STARTUP=x-window-manager
> to your ~/.xsessionrc."

That is one way.  That overrides the value determined by the
/etc/X11/Xsession.d/50x11-common_determine-startup script.
And there are other ways.

This way is good because it is personal for you and doesn't affect
others and works across boxes.

> A second strategy would be to find a way to raise the priority 
> of xmonad.  If my original speculation above is correct, this 
> might be achieved by de-installing both alternatives and 
> reinstalling in the desired order.

We have been here before:

  http://lists.debian.org/debian-user/2012/07/msg00897.html

I suggested then and now:

  # update-alternatives --config x-window-manager

Or in scripted batch mode:

  # update-alternatives --set x-window-manager /usr/bin/xmonad

Order only matters among alternatives of the same priority.

> Alternatively, by using update-alternatives directly.

Either this (configuring update-alternatives) or setting it in your
dot files is probably better.

> update-alternatives --remove x-window-manager /usr/bin/xmonad
> update-alternatives --install x-window-manager x-window-manager 
> /usr/bin/xmonad 100

Although that works, and it is your own system so go ahead if you feel
like it, this won't be preserved when packages are installed and
upgraded since they will have new package postinst scripts and won't
know to preserve your changes since the changes will be marked as
system automatic.  But if you use --config or --set then they will be
marked as manual and they will.  So I think --config or --set is the
better way to go.  Or probably best is setting up your local files
with something like STARTUP or similar above.

Some time ago I posted this in a discussion about the Debian
alternatives and it includes a walkthrough of how alternatives are
used and configured.  I think it is still relevant.

  http://lists.debian.org/debian-user/2002/08/msg02808.html

Bob


signature.asc
Description: Digital signature