[SOLVED] Copy and Paste between xterm and other windows in a Debian XFCE environment

2013-12-21 Thread Stephen Powell
On Sat, 21 Dec 2013 16:24:00 -0500 (EST), Ralf Mardorf wrote:
 
 On Sat, 2013-12-21 at 14:53 -0500, Stephen Powell wrote:
 But I'm using XFCE now, and xterm seems to be the default terminal
 emulator application under XFCE.
 
 No, it's xfce4-terminal. Using xfce4-terminal shouldn't cause copy and
 paste issues.

Installing xfce4-terminal worked for me.  Actually, based on someone
else's post, I installed task-xfce-desktop, which brought in a whole
slew of stuff, including xfce4-terminal, then purged xterm, the lightdm*
stuff, and task-xfce-desktop itself, which has a dependency on lightdm.
(I'm using xdm and don't want to use lightdm or even have it installed.)
xfce4-terminal is now my default terminal emulator in the XFCE desktop
environment.  Shift+Ctrl+C copies and Shift+Ctrl+V pastes in xfce4-terminal.
In most other applications, such as iceweasel, Ctrl+C copies and Ctrl+V
pastes.  That makes sense to require the Shift in the terminal emulator,
since Ctrl+C and Ctrl+V need to retain their historic functions for
terminals.  (Of course, you can also copy and paste via the mouse
and the action bar Edit menu.)

I tried all sorts of stuff regarding .Xresources, as suggested by other
posts, but nothing worked for me in that area.  (That was while I was
still using xterm, of course.)

I couldn't find any documented options in xorg.conf for emulating a
3-button mouse with a 2-button mouse either.  I remember that option
from older versions of the X server.  These days, input devices,
such as keyboards and mice, are expected to be auto-detected.

Thanks to all who participated in this thread.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1362939266.98192.1387671504461.javamail.r...@md01.wow.synacor.com



Re: [SOLVED] Copy and Paste between xterm and other windows in a Debian XFCE environment

2013-12-21 Thread Stephen Powell
On Sat, 21 Dec 2013 19:32:23 -0500 (EST), Frank McCormick wrote:
 
This works for me in xterm in .Xresources :
 
 XTerm*VT100.translations: #override Btn1Up: select-end(PRIMARY, 
 CLIPBOARD, CUT_BUFFER0)
 
 Sorry it wrapped

That's one I didn't try.  But now that I have a solution by means
of xfce4-terminal, I'm not going to re-install xterm and give it
a try.  Maybe it will help someone else, though.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1079228897.98901.1387676153528.javamail.r...@md01.wow.synacor.com



Re: Soliciting hardware recommendations

2013-12-18 Thread Stephen Powell
On Wed, 18 Dec 2013 08:18:14 -0500 (EST), Tom H wrote:
 On Sat, Dec 14, 2013 at 1:31 AM, Stephen Powell wrote:

 I'd like it to have a usable CSM, so I can continue to run my favorite boot 
 loader,
 LILO. And I plan to partition the disk using the traditional MS-DOS disk
 partitioning system, so I don't want the hard disk to be larger than 2T.
 
 If it's lilo,conf that you like, can't you use EFI and ELILO?

I can, yes.  But as Bartleby the Scrivener would say, I'd prefer not to.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1126079399.49537.1387394652114.javamail.r...@md01.wow.synacor.com



[SOLVED] Wasted space in hard disk partitioning (was Soliciting hardware recommendations)

2013-12-17 Thread Stephen Powell
On Mon, 16 Dec 2013 23:12:35 -0500 (EST), Stephen Powell wrote:
 
 ...
 my existing disk partitions, created by the Debian installer,
 look like this:
 
 # parted /dev/i2o/hda unit s print free
 Model: I2O Controller (i2o)
 Disk /dev/i2o/hda: 286748672s
 Sector size (logical/physical): 512B/512B
 Partition table: msdos
 
 Number  Start   End SizeType  File system Flags
 63s 2047s   1985s Free Space
  1  2048s   194559s 192512s primary   ext3boot
 194560s 196605s 2046s Free Space
  2  196606s 162306302s  162109697s  extended
  5  196608s 17772543s   17575936s   logical   linux-swap(v1)
  6  17774592s   56834047s   39059456s   logical   ext3
  7  56836096s   64647167s   7811072slogical   ext3
  8  64647231s   162306302s  97659072s   logical   ext3
 162306303s  286748671s  124442369sFree Space
 
 #
 
 As you can see, something, somewhere, has done a number on me.  The only
 boundary requirement is that the starting sector be a multiple of 8 to make
 4096-byte boundaries.  So why start the first partition at sector number
 2048?  The only intentional free space is the free space at the end of the
 disk.  The other free space entries were added by the partitioning program.
 And for what purpose?  This is not a GPT disk, so no BIOS boot partition
 needs to be created for GRUB.  (I'm not even using GRUB, I'm using LILO.
 But the Debian installer would not have known what boot loader I planned
 to use during the disk partitioning phase.  It would, however, have known
 that this is an MBR disk, not a GPT disk.)  Furthermore, this is not a
 UEFI-based system, so no EFI System partition (ESP) needs to be created
 either.  So why did the Debian installer leave these two free spaces before
 and after my first partition?  (Apparently, sectors 0-62 are considered part
 of meta data and are therefore not included in the leading free space.)
 
 Also, as you can see, the start of the next partition is not just one sector
 number higher than the end of the previous partition.  In the case of adjacent
 logical partitions inside the extended partition, I realize that it must
 leave room for an Extended Boot Record before each logical partition, but it
 leaves way more room than that would require.  Can you (or anyone) explain
 why this wasted space has been built in?

OK, with some data analysis and some trial-and-error experimentation, I think
I have figured this out.  For the benefit of others on the list who might
be wondering the same thing as me, here's the answer.

First of all, all the primary and logical partitions listed above were created
by the Debian installer during installation, presumably by using parted, except
for the last partition, partition number 8, which was created manually by me
using fdisk.

The partitions created during installation all have a size which is an integral
multiple of 1 MiB (2**20) bytes, which is 2048 512-byte sectors, and they
are all allocated on a 1 MiB boundary (a sector number which is an integer
multiple of 2048).  The sectors are numbered beginning with 0 for this purpose.
Apparently, this is deliberate on the part of either the Debian installer or
parted.  I assume the former.  This would make sense in the general case, so
that the partitions would work well for any SSD's erase block size, as long as
it isn't more stringent than 1M.

The first partition, partition number 1, cannot be allocated starting with
sector number 0, since that is the Master Boot Record (MBR).  So it is allocated
starting with the next higher multiple of 2048, which is of course 2048.
Partition number 2 is the extended partition.  I'll come back to that.
The next partition, partition number 5, is a logical partition.  If it were
a primary partition, it could be allocated starting with the next sector
after the last sector of partition number 1, since that is a 2048-sector
boundary.  But it isn't.  It's a logical partition.  An Extended Boot Record
(EBR) is required after the end of partition number 1 and before the start
of partition number 5.  So the start of partition number 5 is bumped up to the
next higher multiple of 2048.  Of the 2048 sectors between the end of partition
number 1 and the beginning of partition number 5, 2047 of them are unused
sectors and 1 is an EBR.  Partition number 2, the extended partition, starts
with this first EBR.  There is 1 unused sector after the EBR and 2046 unused
sectors in front of it.

Similarly, 2048 sectors have to be thrown in between the end of partition
number 5 and the beginning of partition number 6.  One of them is an EBR
describing the following logical partition and 2047 of them are unused sectors.
The same goes for the space between the end of partition number 6 and the 
beginning
of partition number 7.  The space between the end of partition number 7
and the beginning of partition

Wasted space in hard disk partitioning (was Soliciting Hardware Recommendations)

2013-12-16 Thread Stephen Powell
On Mon, 16 Dec 2013 08:13:16 -0600, Stan Hoeppner wrote:
 
 Cool.  Make sure you partition the SSD so that your first, and all,
 partitions start on a 4KB boundary.  Many guides are available for your
 favorite partitioning tool.  Linux does all IO in 4KB pages including
 filesystem and swap.  If you don't align to 4KB you may get excessive
 erase cycles on the SSD, lowering performance, and cell life.  Most
 folks seem to start the first SSD partition at sector 2048, which falls
 immediately after the first 1MB of the device.  1,048,576/4,096=256.  So
 your first partition will start at 4KB page 257, if you will.  If you
 create multiple partitions, make sure the size of each is evenly
 divisible by 4096 bytes, or they won't be aligned.

That's good to know.  But I really don't have much control over this
when I partition using the Debian installer.  When installing from
scratch on a system where I don't intend to keep anything from its
previous life, I delete all existing partitions using the Debian installer,
then create new partitions using the Debian installer.  When I create
a new partition with the Debian installer, I generally specify the size
(typically in megabytes), the partition type (primary or logical), and,
if the size is less than the amount of free space, whether I want it at
the beginning of the free space or the end of the free space.  Rounding
of sizes, boundary alignment, etc. is all controlled by the Debian installer
or the partitioning tools it uses (parted, generally).  And I have no
control over that.

As an example, my existing disk partitions, created by the Debian installer,
look like this:

# parted /dev/i2o/hda unit s print free
Model: I2O Controller (i2o)
Disk /dev/i2o/hda: 286748672s
Sector size (logical/physical): 512B/512B
Partition table: msdos

Number  Start   End SizeType  File system Flags
63s 2047s   1985s Free Space
 1  2048s   194559s 192512s primary   ext3boot
194560s 196605s 2046s Free Space
 2  196606s 162306302s  162109697s  extended
 5  196608s 17772543s   17575936s   logical   linux-swap(v1)
 6  17774592s   56834047s   39059456s   logical   ext3
 7  56836096s   64647167s   7811072slogical   ext3
 8  64647231s   162306302s  97659072s   logical   ext3
162306303s  286748671s  124442369sFree Space

#

As you can see, something, somewhere, has done a number on me.  The only
boundary requirement is that the starting sector be a multiple of 8 to make
4096-byte boundaries.  So why start the first partition at sector number
2048?  The only intentional free space is the free space at the end of the
disk.  The other free space entries were added by the partitioning program.
And for what purpose?  This is not a GPT disk, so no BIOS boot partition
needs to be created for GRUB.  (I'm not even using GRUB, I'm using LILO.
But the Debian installer would not have known what boot loader I planned
to use during the disk partitioning phase.  It would, however, have known
that this is an MBR disk, not a GPT disk.)  Furthermore, this is not a
UEFI-based system, so no EFI System partition (ESP) needs to be created
either.  So why did the Debian installer leave these two free spaces before
and after my first partition?  (Apparently, sectors 0-62 are considered part
of meta data and are therefore not included in the leading free space.)

Also, as you can see, the start of the next partition is not just one sector
number higher than the end of the previous partition.  In the case of adjacent
logical partitions inside the extended partition, I realize that it must
leave room for an Extended Boot Record before each logical partition, but it
leaves way more room than that would require.  Can you (or anyone) explain
why this wasted space has been built in?

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1588134292.17319.1387253555768.javamail.r...@md01.wow.synacor.com



Re: Soliciting hardware recommendations

2013-12-15 Thread Stephen Powell
On Sun, 15 Dec 2013 09:30:43 -0500 (EST), Stan Hoeppner wrote:
 
 Have you been eagerly anticipating my reply to your hardware thread?  I
 hope I don't disappoint. :)

I was hoping you would participate, yes.  But I didn't want to presume.
 
 Here is a complete list of quality DIY parts that will meet your
 stated needs, including a non-UEFI motherboard:
 
 Gigabyte GA-78LMT-S2P(rev 5.0) AM3+ AMD 760G/SB710, AMD 3000 GPU, DVI
 AMD FX-4300 3.8GHz quad core CPU, 2x 2MB L2 cache, 4MB L3 cache
 2x 4GB DDR3-1333 Crucial DDR-SDRAM modules
 Samsung 840 EVO 120GB SSD - #1 SSD in quality, performance, and $/GB
 ASUS DVD - it's DVD to boot a net install image, if needed, decent unit
 Apevia mATX cube case, 500W PSU, excellent airflow, I own one, good case
 Hewlett Packard 23 Widescreen HD monitor, 1920x1080, DVI
 
 $ 52 http://www.newegg.com/Product/Product.aspx?Item=N82E16813128504
 $110 http://www.newegg.com/Product/Product.aspx?Item=N82E16819113287
 $ 60 http://www.newegg.com/Product/Product.aspx?Item=N82E16820148347
 $ 90 http://www.newegg.com/Product/Product.aspx?Item=N82E16820147247
 $ 19 http://www.newegg.com/Product/Product.aspx?Item=N82E16827135304
 $ 87 http://www.newegg.com/Product/Product.aspx?Item=N82E16811144140
 $120 http://www.newegg.com/Product/Product.aspx?Item=N82E16824176250
 
 $538 Total
 

Wow, you even managed to get a monitor thrown in and still make the
~$500 target.  I was expecting to pay around $500 for the system only,
with the monitor costing extra.  I see just one problem.  I don't see
any indication of R/W capability in the CD/DVD drive.  It appears to
be read-only.  I want to be able to burn install images downloaded from
the internet.  However, I did find this item

   http://www.newegg.com/Product/Product.aspx?Item=N82E16827135204

for just a buck more.  Do you see any problem substituting this for the
one you suggested?
 
 FYI, I searched for more than an hour trying to find an AMD dual core
 CPU plus mobo combo that would be suitable.  I ran into two problems here.
 
 First, all of the current dual core AMD CPUs lack L3 cache and have
 somewhat tiny 1MB L2 caches.  As with virtual machines, emulation
 workloads tend to perform better with larger caches due to context
 switches, TLB shootdowns, etc.  So this model FX-4300 with 1MB L2 per
 core and 4MB shared L3 should perform better for you, even if you can't
 make use of all 4 cores immediately.  Everyone else buying 4/6/8 core
 desktop CPUs is in the same boat, whether they know it or not, so don't
 sweat it.  The industry has decided to take the multi-core path which
 users simply cannot yet follow, because most developers aren't yet
 threading their applications.
 
 Second, all of the socket FM2 motherboards which take the dual core
 chips are built/certified for Windows 8, and have UEFI BIOS.  Again this
 mobo is non-UEFI, so I think this combo will be a better solution for
 you all around Stephen.

Makes sense.  And thanks for all the time that you have put into this.
 
 Motherboard manual to read before you buy (I always do):
 http://download.gigabyte.us/FileList/Manual/mb_manual_ga-78lmt-s2p_v.5.0_e.pdf
 
 I hope this is the type of complete, concise information,
 recommendation, you were looking for Stephen.

It is.  You did not disappoint.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1548252121.889739.1387126597072.javamail.r...@md01.wow.synacor.com



Re: Soliciting hardware recommendations

2013-12-15 Thread Stephen Powell
On Sun, 15 Dec 2013 15:07:33 -0500 (EST), Stan Hoeppner wrote:
 
 I was figuring you'd probably do the install from a USB stick and I
 threw the DVD drive in as an afterthought.  So yes, the ASUS burner
 above would be perfect.  Over 4,000 sold and a 5 egg rating.  Can't get
 any better than that.

Good.  I just ordered everything exactly as you recommended, except
for the CD/DVD drive, for which I substituted the R/W model.  To
install Debian, I usually use the netboot installation image burned
to a CD-R.
 
 If you decide to go this route and you run into any
 trouble getting it going, don't hesitate to email me off list.  I may
 not respond quickly but I'll respond.

That's a very generous offer.  Thank you very much.  I hope I won't
need to take you up on that, but it's nice to know that I can if I need to.
 
 You said it's been a while since
 you built a system, so add a static strap to your order and use it, if
 you don't already have one.  Winter is static charge season, and the
 last thing you want is to have your board not work after accidentally
 sending static discharge into it.  Often folks don't even realize it
 happened and curse their DOA board as being junk, etc.

You know, I almost added an anti-static wrist strap to the order, but
in the end decided not to.  My basement is so humid, even in winter,
that I doubted it would be a problem.  However, my dehumidifier, which
normally runs 9 or 10 months out of the year, is currently showing the
relative humidity at 30% (and it's off, set for 50%), so maybe I'll
get one anyway.
 
 On that note, prepare for potential disappointment with the cutesie
 little temperature LCD on the Apevia case.  Mine was DOA.

Sorry to hear that.  But if that happens to me, I'll probably do what
you did.  Nothing.  I'm not used to cases with temperature readouts
on them, and that is not a requirement.

Thanks again, Santa.  This will be my first truly new system since
1994.  I've been using other people's throw-aways and used systems
since then.  But nobody I know is throwing away 64-bit systems.  Not
yet anyway.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/704937397.894827.1387151074321.javamail.r...@md01.wow.synacor.com



Re: Soliciting hardware recommendations

2013-12-14 Thread Stephen Powell
On Fri, 13 Dec 2013 23:21:22 -0500 (EST), Patrick Bartek wrote:
 
 On Fri, 13 Dec 2013, Stephen Powell wrote:
 
 I have decided to buy a 64-bit system for myself for Christmas.  But
 [snip]
 
 (1) As a host system for Hercules.  Hercules is an open source
 [snip]
 
 (2) This system will also double as a desktop system.  I'm not a
 [snip]
 
 Does anyone wish to contribute any opinions?  Anything from general
 advice to specific hardware recommendations is welcome.  And feel
 free to ask follow-up questions.
 
 What's your budget?
 ...

Good question.  I'm not sure what things cost these days; but for
planning purposes, lets try a ballpark figure of somewhere around
$500 US.  If I find that I cannot get what I want for that price, I
may be willing to spend more.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1400295224.874651.1387024490369.javamail.r...@md01.wow.synacor.com



Re: Soliciting hardware recommendations

2013-12-14 Thread Stephen Powell
On Sat, 14 Dec 2013 02:39:04 -0500 (EST), David Christensen wrote:
 
 I did something similar ~1.5 years ago.  I wanted virtualization, 
 whole-drive encryption, on-board video, on-board sound, on-board 
 Gigabit, and reduced energy consumption/ noise.

You have requirements that I don't have.  I don't care about virtualization,
per se, other than the emulation of a mainframe in software by Hercules.
I don't need drive encryption, and I don't care about energy consumption
or noise.  I mean, it's not that I want it to be a noisy power hog, but
those are not critical features.  I'd rather have a noisy $500 system
than a quiet $1500 system.  (On the other hand, I don't want the fan
in the power supply to fail in 6 months either.)  Also, 10/100 Ethernet
is plenty fast enough for me.  
 
 Only the higher price stuff had all the features I needed.  So, my 
 choice boiled down to building around a high-end desktop board 
 (~US$1,000) or building around a uniprocessor workstation/ server board 
 (~US$1,500).

Wow.  I hope my requirements can be met for less.

 I'd like it to have a usable CSM, so I can continue to run my favorite boot 
 loader, LILO.
 
 CSM = IBM Cluster Systems Management?

No, CSM = Compatibility Support Module, a feature of UEFI-compliant
motherboards that provides a PC-compatible BIOS for booting legacy
BIOS operating systems, such as the LILO boot loader.  This is incompatible
with Connected Standby Mode, whose initials are also, unfortunately, CSM.
Connected Standby Mode is apparently a requirement for Windows 8 certification.
Connected Standby Mode must be disabled in order for a Compatibility Support
Module to be enabled.

See http://en.wikipedia.org/wiki/UEFI for more information.
 
 I use the default boot loader (GRUB) provided by the Debian installer. 
 I don't know if LILO is available OOTB; you might have to work for it.

The last I knew the Debian installer, running in expert mode, still offers
LILO as a boot loader choice.  But if it doesn't, installing it manually
after the fact is no problem for me.  I have authored a web page on how
to do just that.  See http://users.wowway.com/~zlinuxman/lilo.htm for more
information.
 
 And I plan to partition the disk using the traditional MS-DOS disk
 partitioning system,so I don't want the hard disk to be larger than 2T.
 
 I assume you mean an MS-DOS partition table, as opposed to a GUID 
 partition table (GPT).  (I believe the Debian installer supports GPT on 
 the system disk, but I haven't tried it.)

Yes.
 
 You want an SSD system drive for performance and disaster recovery 
 (imaging) reasons, and other drive(s) for data.  (My SSD has an MS-DOS 
 partition table and my HDD has a GUID partition table.)

The disaster recovery plan, in case of a hard disk failure, is to go
buy a new hard disk.  The data is gone.  There are no backups.  Too bad.
Reinstall from scratch.  I want good performance, but disaster recovery
features are not something that I am willing to pay extra for.  In some
cases I may FTP critical files to another machine on my home network,
but that's the extent of backups.
 
 I have an EE/CS background, and prefer to build my computers from 
 scratch.  That way, I get exactly what I want and nothing I don't need. 
 If you don't have the skills, there are vendors who will assemble and 
 test hardware and/or software that you purchase from them for a nominal fee.

I have a four-year college degree in Electrical Engineering.  I graduated
a long time ago, and my degree is probably not marketable for anything
other than engineering management at this point, but at least I have the
background.  My day job is as a systems programmer for IBM mainframes.
Among other duties I install and maintain (apply PTFs to) the operating system
and other system software.  And I have upgraded PC systems myself before,
including motherboard replacements.  So no, I am not intimidated by the
prospect of building a system myself, if that proves to be the cheapest
or best way to go.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1439022488.875066.1387027381278.javamail.r...@md01.wow.synacor.com



Re: override kernel version with make-kpkg

2013-12-13 Thread Stephen Powell
On Tue, 10 Dec 2013 22:36:02 -0500 (EST), Michael Gulick wrote:
 
 I think my only option if I want automatic upgrades is to keep the 
 abiname constant.  I'm assuming (and I'm not sure whether this 
 assumption is correct) that all the third party modules (primarily 
 nvidia drivers and vmware) will be build by dkms on reboot.  I've been 
 upgrading the kernel manually for a while and haven't had any problems, 
 so I think this is a safe assumption.  I'm not sure if this is the 
 right thing to do however, keeping the abiname the same for new stable 
 releases.  Any thoughts?

To be honest, I really don't know.  What you are trying to do is not
something that any method of building a custom kernel tries to address.
A custom kernel is, by definition, custom.  It is not designed for or
intended for automatic updates.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1304596116.870129.1386982611903.javamail.r...@md01.wow.synacor.com



Soliciting hardware recommendations

2013-12-13 Thread Stephen Powell
I have decided to buy a 64-bit system for myself for Christmas.  But before I
go out there and buy something, I thought I would solicit some advice.  I want
a 64-bit system (amd64) on which I plan to install Debian.  I will use it
primarily for two things:

(1) As a host system for Hercules.  Hercules is an open source program (packaged
for Debian in package hercules) that can emulate a 64-bit IBM mainframe.  And
of course, I plan on installing and running a 64-bit version of Debian (s390x)
under Hercules.  The Hercules emulator adds a lot of overhead.  The speed of
Hercules is nowhere near the speed of a real mainframe, so I want to get the
fastest and most powerful host system I can afford.  But I don't want a system
with lots of cores on it.  The kind of software I will run probably can't 
exploit
more than two cores effectively, so I'd rather have a two-core system with a
fast clocking rate than an eight-core system with a slow clocking rate.

(2) This system will also double as a desktop system.  I'm not a high-end 
graphics
user.  I use the graphical desktop mostly for web browsing (including the use
of a web-based e-mail client) and watching Youtube videos.  I'm not a gamer.

I'd like it to have a usable CSM, so I can continue to run my favorite boot 
loader,
LILO.  And I plan to partition the disk using the traditional MS-DOS disk
partitioning system, so I don't want the hard disk to be larger than 2T.
RAID is not necessary.  I don't run a business.  Although data loss is 
undesirable,
it will not be catastrophic.

I'd like a new monitor too.  All my monitors are old CRTs, and I've run out of
spares as old monitors die.  I think I'm ready for a digital flat screen.
I have plenty of USB mice and keyboards.

I don't plan on running Windows at all, so if it comes pre-installed with 
Windows,
the first thing I'm going to do is to delete the Windows partition.  If I can
get a system without a Windows license, that will save me some money.  Due to
preload agreements between Microsoft and hardware vendors, this may not be
possible unless I buy separate components and integrate them myself.  And that
is fine.  I don't mind doing that.  I live in the US and will probably order
my system, or its components, online.  I might buy the monitor locally, though.

Does anyone wish to contribute any opinions?  Anything from general advice to
specific hardware recommendations is welcome.  And feel free to ask follow-up
questions.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/245855233.870480.1386984675250.javamail.r...@md01.wow.synacor.com



Re: Debian Wheezy Compromised - www-data user is sending 1000 emails an hour

2013-12-12 Thread Stephen Allen
On Thu, Dec 12, 2013 at 12:12:57AM -0500, Bob Bernstein wrote:
 On Wed, Dec 11, 2013 at 08:57:57PM -0600, Lukasz Szybalski wrote:
 
 I run my own site, and I do have postfix, apache, wordpress, 
 and moinmoin installed. www-data is sending 100s of emails a 
 minute.
 
 I hope you have by hook or crook pulled the plug on this system by 
 now. I believe you have had a close encounter of the maddening kind 
 with sql injection. I wish I had a quick url to which to send you, 
 but google 'sql injection php' after you shut down postfix.
 
 May one ask what hosting provider are you using?
 

He self hosts.


-- 
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/20131212154602.GA2907@jessie.gatewire



Re: override kernel version with make-kpkg

2013-12-09 Thread Stephen Powell
On Mon, 09 Dec 2013 15:39:29 -0500 (EST), Michael Gulick wrote:
 
 Hi,
 
 I'm looking for a way to override the default kernel package versions
 generated by make-kpkg.  With 3.0+ kernels, the kernel sublevel (as in
 VERSION.PATCHLEVEL.SUBLEVEL), which is incremented when there are stable
 updates for a kernel release, is used to generate the package name.  This
 produces packages with names like
 'linux-image-3.10.22-mycustomversion_amd64.deb'.

Actually, the pattern is more like

   linux-image-3.10.22-mycustomversion_3.10.22-1_amd64.deb
 
 Unfortunately this means
 you can't upgrade these packages automatically with apt-get because apt-get
 thinks this is a new version of the package (instead of just an updated
 revision of the existing package version).

You don't use apt-get (or aptitude) to install such a package, you use
dpkg.  For example,

   dpkg -i linux-image-3.10.22-mycustomversion_3.10.22-1_amd64.deb

dpkg treats this as a new package, not an upgrade to an existing package,
that's true.  And for custom kernels, that's probably what you want.

 I would like to be able to make packages called
 'linux-image-3.10-myversion_amd64.deb', or
 'linux-image-3.10.0-myversion_amd64.deb', so that these packages can be
 automatically upgraded via apt-get and a self-hosted repository.

Ah, a self-hosted repository.  OK, in that case, apt-get or aptitude is
what you would use.  Unfortunately, I know of no way to do what you want
to do.  Keep this in mind.  Up until etch, the Debian kernel team used
make-kpkg to produce its stock Debian kernels.  But beginning with lenny,
the Debian kernel team stopped using make-kpkg to produce its stock
kernel packages and went their own way.  But all three levels of the
kernel version name (VERSION, PATCHLEVEL, and SUBLEVEL) were still
used, at first, in the stock kernel version name, just as make-kpkg
does it.  But recently, the kernel team has started forcing the
sublevel to zero in the linux image package name, such as in the
stable kernels, or eliminating it altogether, such as in the
testing kernels.  The actual SUBLEVEL persists in the package version,
but not in the kernel version included in the package name.  That is
a naming convention change for linux kernel images that has been
recently adopted by the Debian kernel team.  make-kpkg still does things
the old way.  It includes the SUBLEVEL in the package name.  There is
an --append-to-version option which can be used to append your own
qualifiers, but no option that I know of to eliminate the SUBLEVEL from
the name.

If you want to do this, you won't be able to use make-kpkg.  You will
need to do something like make a modified version of the Debian source
package, linux, and build it with dpkg-buildpackage.  But you want to
use upstream sources.  Hmm.  No easy way to get from point A to point B.
I haven't tried make deb-pkg in a while, but I suspect that it includes
the SUBLEVEL in the package name as well.  Give it a try and let me know
what it does on current kernels, will you?

I have a web page on the subject at

   http://users.wowway.com/~zlinuxman/Kernel.htm

You might want to give it a read.  Let me know if there's anything there
that's out of date.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1126472401.790971.1386648812411.javamail.r...@md01.wow.synacor.com



RE: How do I get rid of the launchpad in XFCE?

2013-12-07 Thread Stephen P. Molnar
-Original Message-
From: Ralf Mardorf [mailto:ralf.mard...@alice-dsl.net] 
Sent: Saturday, December 07, 2013 12:28 PM
To: debian-user@lists.debian.org
Subject: Re: How do I get rid of the launchpad in XFCE?

On Sun, 2013-12-08 at 04:33 +1300, Chris Bannister wrote:
 On Fri, Dec 06, 2013 at 09:03:33PM +0100, Ralf Mardorf wrote:
  On Fr, 2013-12-06 at 15:20 -0200, André Nunes Batista wrote:
   Panel 0 and Panel 1 were such an cool way to teach gui users to count.
  
  The saner style is to call the first panel panel one instead of 
  panel zero. To name it panel zero even won't teach anything 
  about logical issues about indexation.
 
 ? 
 http://en.wikipedia.org/wiki/Indexation

So I used the wrong term in English ;). I was thinking of the fencepost error, 
off-by-one error.

What we use to write a program, is not what we should provide as output for the 
GUI.

To use math we need to be careful to keep it logically.

Similar as chemical science versus physics regarding to the Bohr Diagram, 
working to know how a chemical bond does work regarding to valence electrons, 
but for physics we (hopefully) learned other theories than the Bohr Diagram for 
good reasons.

I even failed in orthography in my native language, IOW German lessons, but not 
that much in general science. They tested me and called it dyslexia.

Perhaps we could stop talking about panel number zero vs panel number one. Xfce 
does work, it doesn't matter if the panel is called 0 or 1, it just could 
become confusing for more complicated issues, if coders use programming 
language style for the output of a GUI.

:p


--
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/1386437292.2811.71.camel@archlinux

The Bohr model of the atom is just as dead as Niels Bohr.



Stephen P. Molnar, Ph.D.   Life is a fuzzy set
Foundation for Chemistry   Stochastic and 
multivariate
www.FoundationForChemistry.com
(614)312-7528 (c)
Skype:  smolnar1



--
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/041b01cef37d$33ac6240$9b0526c0$@mol...@sbcglobal.net



Goodbye GNOME, Hello XFCE

2013-12-05 Thread Stephen Powell
Well, the latest update to Debian jessie did it.  GNOME 3 apparently
no longer has a fallback mode for X drivers which don't support 3D
acceleration.  Mine doesn't.  And the native GNOME 3 interface is
apparently unusable with such an X driver.

Goodbye, GNOME.  Hello, XFCE.  I hope Debian will make XFCE the
default desktop for the production jessie installer.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1810880842.723406.1386280005627.javamail.r...@md01.wow.synacor.com



How do I get rid of the launchpad in XFCE?

2013-12-05 Thread Stephen Powell
I'm sure that this must be one of the most common questions for new XFCE
users, but I can't seem to find an answer.  If only I knew what the
proper terminology for this thing is, I'm sure I could find the answer
with an internet search.  But I don't know what it's called.  In the
subject line of this post, I've called it a launchpad.  I call it that
because it reminds me of the old OS/2 Warp Version 3 launchpad application.
(That dates me, doesn't it?)  Anyway, in the default XFCE desktop, it is
positioned at the bottom center of the screen, has six icons in it
(minimize all open windows and show the desktop, terminal emulator,
file manager, web browser, application finder, and home folder), and the
thing is in the way.  It keeps maximized windows from filling the entire
desktop.

It seems that everything in this launchpad thingy duplicates function
available in the panel along the top of the screen (I think that is
the proper terminology for it), so I really don't see why I need it.
I want to make it go away permanently, so that maximized windows will
use the whole screen.  How do I do this?

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1971104459.723658.1386280802426.javamail.r...@md01.wow.synacor.com



Re: Goodbye GNOME, Hello XFCE

2013-12-05 Thread Stephen Powell
On Thu, 05 Dec 2013 17:01:37 -0500 (EST), Ralf Mardorf wrote:
 
 All GTK dependent DEs have their drawbacks. Xfce still is and will be my
 DE for a while, but I'm already testing Razor-Qt. It's not that good at
 the moment, but since LXDE is similar ok as Xfce is, it might be
 interesting to wait for LXDE-Qt. IIUC the Razor-Qt and LXDE folks work
 together on LXDE-Qt. Perhaps LXDE-Qt would be a better choice as a
 default DE for Debian and some other distros.

I haven't tried the other DEs that you mentioned.  From my research it
seemed that XFCE was pretty close to the look and feel of the old GNOME 2
interface, which is what I am used to, and what fallback mode users
of GNOME 3 are used to.  As such, it seemed like a pretty good default
DE for new installs to me.  But I do feel strongly about one thing:
the default DE should not be one which *requires* 3D acceleration support!
The default DE should be one which is usable by as wide a variety of
video hardware as possible. 

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/851228982.723785.1386281584989.javamail.r...@md01.wow.synacor.com



Re: How do I get rid of the launchpad in XFCE?

2013-12-05 Thread Stephen Powell
On Thu, 05 Dec 2013 17:05:22 -0500 (EST), Patrick Wiseman wrote:
 
 Right-click on it, select 'Panel' and then the minus-sign at the top
 will remove it.  What I prefer is to have it minimized when it doesn't
 have focus; then maximized windows do maximize.  That you can do by
 checking the 'Automatically show and hide the panel' box.

Hmm.  Well, when I right-click on it, I get a pop-up menu with a title
of launcher.  So maybe this thing is called the launcher.  But there
does not appear to be any way of controlling the settings for something
called launcher.  When I click on the minus sign, I get a warning
dialog box that says that if I remove it, it will be permanently lost.
I don't like the idea of making irrevocable changes.  I want to be able
to change things back the way they were if my change produces unexpected
results.

As for Automatically show and hide the panel, I can't find where to set
this.  Besides, it seems to me that that will get rid of the thing across
the top of the screen, not the thing along the bottom of the screen.
I want the thing across the top of the screen to stay there.  I want the
thing along the bottom of the screen to go away.  But I want to be able to
reinstate it later if the change produces unexpected results.

Could you please give me more specific, step-by-step instructions for
how to accomplish this?

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/2075874320.724348.1386283645144.javamail.r...@md01.wow.synacor.com



Re: How do I get rid of the launchpad in XFCE?

2013-12-05 Thread Stephen Powell
On Thu, 05 Dec 2013 17:47:25 -0500 (EST), Stephen Powell wrote:
 
 As for Automatically show and hide the panel, I can't find where to set
 this.  Besides, it seems to me that that will get rid of the thing across
 the top of the screen, not the thing along the bottom of the screen.
 I want the thing across the top of the screen to stay there.  I want the
 thing along the bottom of the screen to go away.  But I want to be able to
 reinstate it later if the change produces unexpected results.
 
 Could you please give me more specific, step-by-step instructions for
 how to accomplish this?

Never mind, I just stumbled across it.  There are two panels.  Panel 1
and Panel 2.  The launcher is Panel 2.  You have to have Panel 2 selected
in the settings application.  Then you can hide the launcher.  Sorry for
the noise, and thanks to all who responded.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1878496913.724491.1386284435721.javamail.r...@md01.wow.synacor.com



Re: Goodbye GNOME, Hello XFCE

2013-12-05 Thread Stephen Powell
On Thu, 05 Dec 2013 17:07:44 -0500 (EST), Tom H wrote:
 On Thu, Dec 5, 2013 at 9:46 PM, Stephen Powell wrote:
 ...
 I hope Debian will make XFCE the
 default desktop for the production jessie installer.
 
 It is for the time being.
 
 http://anonscm.debian.org/gitweb/?p=tasksel/tasksel.git;a=commit;h=dfca406eb694e0ac00ea04b12fc912237e01c9b5

That's good.  I'm not a GNOME hater.  GNOME has been the default
for a long time, and something long established should not be changed
without a good reason.  But the withdrawal of fallback mode is, IMHO,
sufficient justification.  It looks like they made this change shortly
*before* GNOME dropped support for fallback mode.  But it was close
enough that they may have known that it was coming.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/2083498805.727818.1386297621074.javamail.r...@md01.wow.synacor.com



RE: A rookie's query: Want to about Debian and the related

2013-12-03 Thread Stephen P. Molnar


-Original Message-
From: John Hasler [mailto:jhas...@newsguy.com] 
Sent: Tuesday, December 03, 2013 12:17 PM
To: debian-user@lists.debian.org
Subject: Re: A rookie's query: Want to about Debian and the related

Please read this:
http://en.wikipedia.org/wiki/HTTP_cookie
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA


-- 
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/87haaponw6@thumper.dhh.gt.org

Please stop wasting band width.

Stephen P. Molnar, Ph.D.   Life is a fuzzy
set
Foundation for Chemistry   Stochastic and
multivariate
www.FoundationForChemistry.com
(614)312-7528 (c)
Skype:  smolnar1


-- 
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/03a801cef04d$2eb86eb0$8c294c10$@mol...@sbcglobal.net



RE: A rookie's query: Want to about Debian and the related

2013-11-29 Thread Stephen P. Molnar

-Original Message-
From: Ralf Mardorf [mailto:ralf.mard...@alice-dsl.net] 
Sent: Friday, November 29, 2013 11:34 AM
To: debian-user@lists.debian.org
Subject: Re: A rookie's query: Want to about Debian and the related

On Fri, 2013-11-29 at 17:06 +0100, Gian Uberto Lauri wrote:
 AP writes:
   On Fri, Nov 29, 2013 at 9:02 PM, Ralf Mardorf   
 ralf.mard...@alice-dsl.net wrote:
  
KMail seems not to be better, but more worse than Evolution.
  
   Ok but Evolution works well in KDE too?
 
 Use Emacs, Luke!

I used Emasc with Wanderlust and I only want to point out, that Emacs isn't a 
MUA, Emacs is an operating system running on Linux, that has no good 
editor. The Emacs operating system, without a good editor, can be used with 
different mail clients.

Using Emacs means to learn the Emacs LISP dialect.

https://en.wikipedia.org/wiki/Editor_war

http://www.emacswiki.org/emacs/WanderLust

If possible I will stay with what ever GUI based MUA and avoid to use those 
MUAs without a GUI.



--
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/1385742843.805.125.camel@archlinux


Emacs is an operating sustem???  see:

http://c2.com/cgi/wiki?EmacsAsOperatingSystem


Stephen P. Molnar, Ph.D.Life is a fuzzy set
Foundation for Chemistry   Stochastic and 
multivariate
www.FoundationForChemistry.com
(614)312-7528 (c)
Skype:  smolnar1



--
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/006401ceed2c$4b6e3220$e24a9660$@mol...@sbcglobal.net



RE: Installing Debian inside Windows 7 utilizing VirtualBox

2013-11-23 Thread Stephen P. Molnar
 

 

 

From: Wally Lepore [mailto:wallylep...@gmail.com] 
Sent: Saturday, November 23, 2013 9:52 AM
To: debian-user@lists.debian.org
Subject: Installing Debian inside Windows 7 utilizing VirtualBox

 

Hi Members,

I would like to run Debian and test new software packages utilizing Debian
as a virtual environment. inside my Windows 7 OS. I would like to be able to
install Debian in this fashion and have the ability to utilize a Debian GUI
desktop as well.

Question #1 please:

Would kindly like to know if Oracle's VM VirtualBox is the recommended
virtualization software package to install to accomplish this procedure.

Question #2 please:

Which Stable version of Debian (Squeeze or Wheezy) is recommended that
would best serve this purpose?

I have been reading about VirtualBox and studying the steps involved to
install Debian in this manner. I'm sure I will have additional questions but
would simply like to start with my initial questions above.

A couple of how-to links I've discovered:

Installing with a GUI desktop:
https://jtreminio.com/2012/07/setting-up-a-debian-vm-step-by-step/


Installing without a GUI desktop
http://williamjturkel.net/2013/05/31/installing-debian-linux-in-a-vm/

 

Thank you

 

I am running Wheezy and Jessie/sid, in different MS Windows 7 directories of
course, in the current version of VMware Player without any problems
whatsoever.

 

I have also evaluated the Oracle VM, but prefer the VMware player as I have
not run into any problems with installing Debian.

 

Download the iso and follow the installer prompts. 

 

Stephen P. Molnar, Ph.D.Life is a fuzzy
set

Foundation for Chemistry   Stochastic and
multivariate

www.FoundationForChemistry.com

(614)312-7528 (c)

Skype:  smolnar1

 



Re: software for (reminder) recommendation

2013-11-13 Thread Stephen Allen
On Wed, Nov 13, 2013 at 10:07:04PM +0800, lina wrote:
 I checked most, seems none has pop up action before the events.
 
 I always miss some seminars I registered.
 

Since you're using Gmail why not install Evolution it can interface with 
Google's calendar.


-- 
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/20131113195711.GA21474@jessie.gatewire



Re: Why Debian

2013-11-10 Thread Stephen Powell
On Sat, 09 Nov 2013 21:10:45 -0500 (EST), greenfreedo...@gmail.com wrote:
 ...
 Both result in software
 written and/or maintained *by the user* which will naturally be more
 useful *to the user*.
 ...

That is true.  But all users are not created equal.
Software written by user A will, presumably, have the features that user
A wants, but not necessarily all the features that user B wants.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1086103750.298978.1384093369055.javamail.r...@md01.wow.synacor.com



Sound Volume

2013-11-08 Thread Stephen P. Molnar
I am running the 64 bit Debian Testing Jessie/sid in VMware Player 
v-6.0.2 build-179776.


The sound is very faint in both Firefox v-25 and Chromium 
v-30.0.1599.101.  Yet there is plenty of volume when I play a sound clip 
in Audacious.  I am using the Audio Mixer Plugin on the Desktop, which 
is also working normally.


I would appreciate some pointers to a solution to this problem.

Thanks in advance.

--
Stephen P. Molnar, Ph.D.   Life is a fuzzy set
Foundation for Chemistry   Stochastic and multivariate
www.FoundationForChemistry.com
(614)312-7528 (c)
Skype:  smolnar1


--
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/527cf0ba.9070...@sbcglobal.net



Re: Compiling kernel: problem!

2013-11-06 Thread Stephen Powell
On Wed, 06 Nov 2013 15:07:58 -0500 (EST), Antispammbox-debian wrote:
 
 Hi all
 
 I try compiling kernel 3.10 on Squeeze 6.0.7. with cpu 
 Intel Centrino1  32bit.
 
 Unpack source in /usr/src, and:
 adduser user src
 chown -R root:src /usr/src
 chmod -R g+w /usr/src
 
 cp /boot/config-`uname -r` ./.config
 make menuconfig, but don't change any!
 make deb-pkg
 
 After finishid, 4 file.deb is present:
 
 linux-image-3.10.0_3.10.0-1_i386.deb
 linux-headers-3.10.0_3.10.0-1_i386.deb
 linux-firmware-image_3.10.0-1_i386.deb
 linux-libc-dev_3.10.0-1_i386.deb
 
 After installed file.deb and reboot, the hard disk change letters!
 from sda1 to hda1.
 From console, the command:  fdisk -l, blkid and mount, is very slow!
 
 What could be the problem?
 
 Thanks
 
 Regards

You're not having a problem compiling the kernel, you're having a
problem running the kernel.  It sounds to me like the compiling
went just fine.  Your subject line is misleading.  I know a few things
about compiling kernels, but I've never heard of these specific
usage problems.  I am currently using a custom 3.10 kernel on an
up-to-date jessie system with no problems.  Perhaps the new kernel
requires a newer release of other software, such as udev or
initramfs-tools, than you currently have on your squeeze system.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1192128197.242564.1383778158749.javamail.r...@md01.wow.synacor.com



Re: ANDROID (back to the OQ)

2013-11-01 Thread Stephen Allen
To the OP - Yes Android isn't open (most of it is) the drivers for radio modem 
and video display for example aren't
neither are the Google Apps ie Gmail, Playstore etc.

There is a team working on a pure Open version called Replicant. Wired 
magazine recently had a writeup that one
interested might wish to read: http://goo.gl/Qeywdz the actual project page is 
here: http://goo.gl/L3QcpD .

Hope this helps.


-- 
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/20131101110612.GA5029@jessie.gatewire



Re: grid in LibreCAD

2013-11-01 Thread Stephen Allen
On Fri, Nov 01, 2013 at 04:04:52PM -0700, peasth...@shaw.ca wrote:
 Is anyone using LibreCAD?  Here it is 1.0.2 in Wheezy.
 
 Edit  Current drawing preferences  units is set to mm.
 Regardless of the setting in Current drawing preferences  grid 
 the snap grid is 10 mm.  No evidence of the problem in the 
 youtube tutorials and it appears to be a bug in the Debian 
 release.
 
 Does anyone have a workaround?

No, sorry - You'd probably be farther ahead asking on the LibreCAD website.

There help forum is here: http://librecad.org/cms/home/get-help/forum.html 


-- 
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/20131102030856.GA9983@jessie.gatewire



[SOLVED] Messed up audio settings

2013-10-27 Thread Stephen Powell
On Sat, 26 Oct 2013 11:55:44 -0400 (EDT), Stephen Powell wrote:
 
 Well, one thing leads to another.  I started using Epiphany instead of 
 iceweasel
 recently due to the sluggish performance of iceweasel.  Now I have a different
 problem.  Using Epiphany, I visited the YouTube site and played a music video.
 The sound didn't sound right.  The voice sounds quieter, and like the singer
 is singing under water!  I canceled out of it, launched iceweasel, and played
 the exact same video again.  Now the sound is messed up in iceweasel too.
 Both browsers appear to be using the same audio player (Adobe Flash Player).
 I tried several other videos, just to make sure that there wasn't something 
 weird
 about that particular video, but they all sound strange now.
 
 How do I get YouTube videos to sound right again?  I tried playing around with
 settings in alsamixer, but nothing fixed it.  I'm running an up-to-date jessie
 system.

Well, guys, this is embarrassing.  The solution turned out to be very
simple.  I unplugged the speakers from the audio jack and plugged them
back in again.  Problem solved.  It was a physically loose connection.
Sorry for the noise, (and pardon the pun), and thanks to all who responded.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/357912934.70931.1382928443839.javamail.r...@md01.wow.synacor.com



Messed up audio settings

2013-10-26 Thread Stephen Powell
Well, one thing leads to another.  I started using Epiphany instead of iceweasel
recently due to the sluggish performance of iceweasel.  Now I have a different
problem.  Using Epiphany, I visited the YouTube site and played a music video.
The sound didn't sound right.  The voice sounds quieter, and like the singer
is singing under water!  I canceled out of it, launched iceweasel, and played
the exact same video again.  Now the sound is messed up in iceweasel too.
Both browsers appear to be using the same audio player (Adobe Flash Player).
I tried several other videos, just to make sure that there wasn't something 
weird
about that particular video, but they all sound strange now.

How do I get YouTube videos to sound right again?  I tried playing around with
settings in alsamixer, but nothing fixed it.  I'm running an up-to-date jessie
system.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/898889314.53362.1382802944543.javamail.r...@md01.wow.synacor.com



Re: upgrade to wheezy

2013-10-23 Thread Stephen Allen
On Wed, Oct 23, 2013 at 02:20:43AM +0200, Ralf Mardorf wrote:
 
 
 On Wed, 2013-10-23 at 00:05 +0200, mess-mate wrote:
  Thanks to all for the help !!
 
 You're welcome, but next time please write in plain text. On most
 mailing lists and this is one of them, HTML is frowned upon.
 

It was multipart message, using mutt moi didn't see any html. 


-- 
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/20131023104600.GA17325@jessie.gatewire



sluggish iceweasel

2013-10-23 Thread Stephen Powell
I have been using the iceweasel web browser for years; but in the past several
weeks using an up-to-date jessie system, iceweasel has become very sluggish.
Even the simplest operations, like scrolling the screen, have become so sluggish
that iceweasel has become almost unusable.  I just tried switching to Epiphany,
not known for lightning speed, but Epiphany is quite snappy compared to 
iceweasel
now.  Is it just me?  Or has someone else noticed this too?  Is there relief in
sight?

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1795474995.3818875.1382533641479.javamail.r...@md01.wow.synacor.com



Re: sluggish iceweasel

2013-10-23 Thread Stephen Powell
On Wed, 23 Oct 2013 10:54:37 -0400 (EDT), Dmitrii Kashin wrote:
 
 I do not see this problem. What is your hardware? 

i386 platform.  Intel Xeon processor.  A single hyperthreaded core
(two threads).  SMP kernel.  2.40 GHz processor speed.  4G of RAM.
ATI Range XL video chip.  mach64 X driver.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/59169096.10429.1382577792336.javamail.r...@md01.wow.synacor.com



Re: sluggish iceweasel

2013-10-23 Thread Stephen Powell
On Wed, 23 Oct 2013 14:47:45 -0400 (EDT), Brian a...@cityscape.co.uk wrote:
 
 Didn't you have some sort of problem with X recently? Something to do
 with your video adapter? What driver are you using with it at present?

I did.  The mach64 driver crashed during initialization and I switched to
the vesa driver for a while.  But I'm back on the mach64 driver now, thanks
to a patch that worked.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1253937557.10627.1382578614189.javamail.r...@md01.wow.synacor.com



Re: Problems with vesa X driver

2013-10-18 Thread Stephen Powell
On Thu, 17 Oct 2013 08:54:18 -0400 (EDT), Ralf Mardorf wrote:

 On Thu, 2013-10-17 at 07:47 -0400, Stephen Powell wrote:
 ...
 However, the first problem may be a usage issue that
 I can solve with appropriate tweaks in xorg.conf.  I just need to know
 what to do.  Ideas anyone?
 ...
 In the past it was possible to get the frequency range by trial and
 error, today this doesn't work for me anymore, you need to get it from
 the web or your monitor's manual or IIRC I looked at a Suse install,
 they provided default values for monitors. My German monitor might be
 equal to another, international one, but IIRC I couldn't get info by the
 web, just Suse supported it. On Arch Linux with a nearly equal config, I
 get 81.9kHz/90.0Hz with the above config. IIRC the frequency thing does
 work with the vesa driver too, just the resolution has to be 1024x768 or
 another, but at least not 1152x864. I heard that modelines should be
 obsolet, but IIRC it doesn't work here without. IIRC  used an online
 calculator to get it.

I tried using an explicit Modeline, both for 85 Hz and for 75 Hz, but this
doesn't seem to work with the vesa driver.  The pertinent message from
/var/log/Xorg.0.log seems to be thus:

   (II) VESA(0): VBESetVBEMode failed, mode set without customized refresh.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1349186017.3752235.1382148503311.javamail.r...@md01.wow.synacor.com



Re: Problems with vesa X driver

2013-10-18 Thread Stephen Powell
On Thu, 17 Oct 2013 13:20:03 -0400 (EDT), Marko Randjelovic wrote:
 On Thu, 17 Oct 2013 07:47:01 -0400 (EDT), Stephen Powell wrote:
 
 Due to a bug in the MACH64 driver (see Debian bug report 726585 for details),
 I am temporarily using the VESA X driver in Debian jessie to get graphical
 support to work on my machine.  I am experiencing three problems with it.
 
 From Bug #726585:
 
 After upgrade of package xserver-xorg-video-mach64 from version 6.9.1-2
 (which was working for me) to version 6.9.4-1+b1, I receive the
 following error during X initialization (extracted
 from /var/log/Xorg.0.log):
 
 If previous version was working then revert to it. I don't see how VESA
 can be better solution.

I tried that.  But the previous version of the driver has a dependency on
xserver-xorg-video-abi-12, which is a virtual package not currently provided
by any current package.  The last package to provide it was the old version
of xserver-xorg-core.  Thus, a downgrade of xserver-xorg-core would be
required too, and that in turn would require a downgrade of just about the
entire suite of X-related packages.  It's not worth doing.

For the moment, the VESA driver is my only solution, and not a very good
one.  I'm considering trying to build the 3D support module for the MACH64
driver, in hopes that it will coax the MACH64 driver into working again.
I have been content with 2D support up to now.  I've heard that the 3D
support module for this chipset has stability issues.  But with the VESA
driver, I don't even get 2D support, plus the issues mentioned in the
original post.  It seems like building the 3D support module is worth a try.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1613795735.3752525.1382149612725.javamail.r...@md01.wow.synacor.com



Problems with vesa X driver

2013-10-17 Thread Stephen Powell

Due to a bug in the MACH64 driver (see Debian bug report 726585 for details),
I am temporarily using the VESA X driver in Debian jessie to get graphical
support to work on my machine.  I am experiencing three problems with it.

First of all, I can only get 1024x768 resolution to work at a 60 Hz vertical
refresh rate.  That would be fine if my monitor was a modern flat screen
digital one which was designed for a 60 Hz vertical refresh rate, but it's not.
It's an old-fashioned CRT-based monitor.  Both the monitor itself, as well
as the video card, are capable of 1024x768 resolution at 85 Hz vertical refresh,
and as far as I can tell, there is a video BIOS mode for this as well.  But
the driver still uses 60 Hz.  Here is my /etc/X11/xorg.conf:

   Section Device
   Identifier Default Device
   Driver vesa
   EndSection
   Section Screen
   Identifier Configured Screen
   Device Default Device
   Monitor Default Monitor
   Subsection Display
   #
   # Note: specifying a mode name of 1024x768 eliminates interlaced modes
   # from consideration.  Interlaced modes have a mode name ending in i.
   # For example: 1024x768i.
   #
   Modes 1024x768
   EndSubSection
   EndSection

The second problem is that if I switch from the graphical console back to a
text console (with Ctrl+Alt+F1, for example), then switch to the graphical
console again (with Alt+F7), the graphical screen is now very dim.  The only
way to recover is to restart the server.  (Logout of graphical screen, then
switch to text console with Alt+F1, login as root, then issue

   /etc/init.d/gdm3 stop
   deallocvt 8
   killall console-kit-daemon
   deallocvt 7
   /etc/init.d/gdm3 start

This recovers screen brightness on the graphical console, but I had better
not switch to a text console again or I'll have to go through the above
exercise all over again.

The third problem is that if my initial text video mode set at boot time
(by the vga option) is other than the default 80x25 text mode, attempting
to switch back to a text console from the graphical screen locks the system.
Obviously this driver has problems with correctly saving and restoring video
modes.  Does anyone have any ideas how to solve any of these problems?  I
have a feeling that the last two problems are bona fide bugs which will
need to be reported.  However, the first problem may be a usage issue that
I can solve with appropriate tweaks in xorg.conf.  I just need to know what
to do.  Ideas anyone?

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/253922582.3721539.1382010421642.javamail.r...@md01.wow.synacor.com



RE: Set widescreen resolution in console

2013-10-13 Thread Stephen Powell
On Sat, 12 Oct 2013 16:14:14 -0400, Antonio Paiva wrote:
 On Fri, 11 Oct 2013 00:25:06 +0400, Dmitrii Kashin wrote:
 
 First of all, have you tried to boot your kernel with vga=ask option?
 
 Thank you Dmitrii.
 
 I did try vga=ask but that option is no longer supported by the
 debian kernel. On the grub console, I also tried vbeinfo and couldn't
 find the 1024x480 mode. And vbetest only worked with 640x480.

Strictly speaking, vga is not a kernel option.  That is, it cannot be
passed on the kernel command line.  It has to be specified by the boot
loader by zapping the kernel boot sector before transferring control to
the kernel.  There has to be special support in the boot loader for the
vga option.  As I said in a previous post, vga does not work with the
linux and initrd statements in grub2.  You have to use linux16 and
initrd16 instead.  See my previous post for more information.

I use the lilo boot loader, and the vga option works just fine with it,
even on current jessie kernels.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/564578903.3659969.1381689768389.javamail.r...@md01.wow.synacor.com



Re: Set widescreen resolution in console

2013-10-12 Thread Stephen Powell
On Wed, 09 Oct 2013 21:16:11 -0400 (EDT), Antonio Paiva wrote:
 
 I have recently acquired an old Sony Vaio PCG-C1VN (aka, a PictureBook)
 and installed Debian wheezy. The problem is that I can only get the
 *console* to run at 640x480 resolution.
 
 The C1VN has a (very wide) native resolution of 1024x480, but using only
 640x480 is a serious waste of screen real estate. It works fine in X but,
 the for uses I have in mind (playing some music and reading/writing text),
 all I need works on the console. Moreover, using X slows down the machine
 enough to have a noticeable drag (not unbearable, not very annoying). (Bear
 in mind all this has is a Transmeta Crusoe @600MHz ~= Pentium II @400Mhz,
 and 112MB of RAM.) I'm using kernel modesetting (KMS) with the radeon
 kernel module (graphics card is an ATI Rage Mobility / Mach64). I tried
 setting the mode in GRUB via the GRUB_GFXPAYLOAD_LINUX option, creating my
 own framebuffer mode, but either made no difference or I ended up with an
 even smaller resolution?!
 
 If you have any ideas or pointers to potential solutions, I would greatly
 appreciate the help. Thank you.
 
 Best regards,
 Antonio

What driver is used in X?  The MACH64 driver in X is a non-KMS-based driver.
(/var/log/Xorg.0.log should tell you what driver is being used.)  There will
be a whole bunch of lines which start with that driver name.  For example:

MACH64(0): VESA BIOS DETECTED

If you are using a non-KMS-based X driver, then your console should be
running in a hardware text mode, the default for which is 80 columns by
25 rows.  (That's 640 pixels by 400 pixels with a character cell of 16 pixels
high by 8 pixels wide.)  This can be changed by the VGA option.  See my LILO
web page for more information about the VGA option

   http://users.wowway.com/~zlinuxman/lilo.htm

When using the VGA option with grub2, you have to use the linux16 and initrd16
commands instead of linux and initrd, as described in this web page:

   https://wiki.debian.org/GrubTransition

At least, that's what I've been told.  I myself don't use grub2, I use lilo.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/930339389.3648261.1381582664487.javamail.r...@md01.wow.synacor.com



Re: google-chrome-unstable apparently removes its executable

2013-10-08 Thread Stephen Allen
On Sun, Oct 06, 2013 at 11:42:15AM -0400, Patrick Wiseman wrote:
 Updating two testing systems this morning, I found that my Chrome
 suddenly became unable to find any web pages. Attempting to relaunch,
 it wasn't there!
 
 'which google-chrome' returned nothing. I tried 'sudo apt-get install
 google-chrome-unstable', but it was already installed. Finally, on
 both systems, I did 'sudo apt-get install google-chrome-stable' and
 now have a working Chrome again.
 
 I guess that's what I get for being willing to live with unstable!
 
 Patrick
 
 

You could have reinstalled it: 'aptitude reinstall google-chrome-unstable'.


-- 
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/20131009004326.GA8799@jessie.gatewire



Re: apt-get vs. aptitude

2013-10-08 Thread Stephen Allen
On Tue, Oct 08, 2013 at 01:33:41PM +0200, Florian Lindner wrote:
 Hello,
 
 Since I'm about to setup a new server using current stable wheezy, I want to 
 recheck some of debian knowledge.
 
 What is the prefered tool for installing on the CLI? apt-get or aptitude? 
 Last 
 time I read about it, it was aptitude, due to better dependency checking. 
 What 
 is the current state? apt-get or aptitude? Does it matter? What about using 
 both?
 
 Thanks!
 
 Florian
 
 

My understanding is that apt-get is better at resolving dependencies when a 
large amount of packages are to be installed, ie 'dist-upgrade'. 


-- 
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/20131009004635.GB8799@jessie.gatewire



Re: apt-get vs. aptitude

2013-10-08 Thread Stephen Allen
On Tue, Oct 08, 2013 at 11:35:57AM -0400, david...@ling.ohio-state.edu wrote:
 On Tue, 8 Oct 2013, Florian Lindner wrote:
 Since I'm about to setup a new server using current stable wheezy, I want to
 recheck some of debian knowledge.
 
 What is the prefered tool for installing on the CLI? apt-get or aptitude? 
 Last
 time I read about it, it was aptitude, due to better dependency checking. 
 What
 is the current state? apt-get or aptitude? Does it matter? What about using
 both?
 
 you might find this worth a look:
 
  
 http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_basic_package_management_operations
 

Excellent! Thanks for the resource, Wes. 


-- 
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/20131009005150.GC8799@jessie.gatewire



Re: just released Grml 2013.09

2013-09-29 Thread Stephen Allen
On Sun, Sep 29, 2013 at 10:38:49PM +0200, sp113438 wrote:
 Hi All,
 
 To have a new boot-entry with grml:
 
 put grml64-full_2013.09.iso (or another one, see below) in
 the /boot/grml directory
 
 sudo apt-get install grml-rescueboot
 
 sudo update-grub
 
 get the iso at: http://grml.org/download/
 

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/20130930025730.ga31...@debian.gateway.3wire.net



Re: should an end user stick to a kernel with an initrd?

2013-09-28 Thread Stephen Powell
On Fri, 27 Sep 2013 23:17:40 -0400 (EDT), Ralf Mardorf wrote:
 On Fri, 2013-09-27 at 19:41 -0400, Stephen Powell wrote:
 But the correspondence between these Linux device names and the
 hardware device numbers varies widely from boot to boot.  I can assure
 you of that from personal experience.
 
 So my question, if somebody experienced it already is answered.

The s390x hardware platform is more susceptible to device name variations
because of the extra online/offline layer.  The kernel does not assign a major
or minor device number to a DASD, nor does it assign it a user-space device
name (/dev/dasda, /dev/dasdb, etc.) until the device is brought online.
Under Debian, a DASD device is brought online by the sysconfig-hardware
package, which in turn is invoked by udev.  IDE and SCSI drives on the i386
or amd64 hardware platform do not have this extra layer of processing.
But device name changes can happen on i386 and amd64 too.  It's just less
likely.
 
-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1370315749.3415771.1380373177940.javamail.r...@md01.wow.synacor.com



Re: Building computer

2013-09-27 Thread Stephen Powell
On Thu, 26 Sep 2013 22:57:43 -0400 (EDT), Beco r...@beco.cc wrote:
 
 Questions for people who compile kernel and their machines:
 
 How long a considered fast kernel compilation would last? I'd like to
 have a clue. And in what kind of computer (processor / RAM / anything else
 relevant)?
 
 Thanks!
 Beco.

I haven't been following this thread, but I happened to notice this
particular post.

That depends on many factors, such as the speed of your processor, the
speed of your hard disk drive, how you have your kernel configured, the
architecture you use and how many drivers are available for it, etc.
For my 32-bit Xeon processor (2.40 GHz) compiling for the i386 architecture,
using a kernel configuration that is not too much different from a stock
Debian kernel, it takes hours.  The machine has 4G of RAM.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1714746847.3410869.1380322377088.javamail.r...@md01.wow.synacor.com



Re: should an end user stick to a kernel with an initrd?

2013-09-27 Thread Stephen Powell
On Thu, 26 Sep 2013 23:00:14 -0400 (EDT), Tom H tomh0...@gmail.com wrote:
 
 A lot more software?! Installing initramfs-tools will just pull in
 klibc-utils, libklibc, and busybox!

Also, one can limit the size of the initial RAM file system itself by using

   modules=dep

in /etc/initramfs-tools/conf.d/driver-policy.  This attempts to include only
items required for booting in the initial RAM file system.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/558304455.3410915.1380322665423.javamail.r...@md01.wow.synacor.com



Re: should an end user stick to a kernel with an initrd?

2013-09-27 Thread Stephen Powell
On Fri, 27 Sep 2013 14:41:54 -0400 (EDT), Tom H tomh0...@gmail.com wrote:
 
 I couldn't care less how many disks you have.
 
 Defaulting to the use of UUIDs isn't some wacky whim but a
 well-reasoned technical decision, unless you want to claim to know
 more than the developers putting together distributions.
 
 This isn't a question of /dev/sdX works for me, yay! The issue is
 that device names aren't NECESSARILY stable (some would say that
 they've never been so) so, distributions are using UUIDs in order to
 avoid having any Linux user anywhere be unable to boot because sda is
 now sdc, sdb is now sda, and sdc is now sdb...

+1

Well said.  By the way, even if you only have one hard disk, you can
still get into trouble.  For example, I have a one-hard-disk system
where my hard disk normally shows up as /dev/sda and my CD-ROM drive
normally shows up as /dev/sr0.  But if I boot from the CD-ROM drive
using a Debian installer CD in rescue mode, my CD-ROM drive shows up
as /dev/sda and my hard disk shows up as /dev/sdb!

Specifying the device name for the permanent root file system is not
the only problem.  Suspend/resume is another example.  The suspend
partition is identified by the Debian installer in
/etc/initramfs-tools/conf.d/resume by means of a UUID.  The Debian init
scripts try to process a resume image *before* they attempt to mount
the permanent root file system.  (By the way, this tells you that
/etc/initramfs-tools/conf.d/resume is one of the files that gets built
in to the initial RAM file system; so if you change it you must rebuild
your initial RAM file system.)  If you don't use an initial RAM file
system, you may have trouble with getting suspend/resume to work, or
to work properly.  Early loading of CPU microcode upgrades is another
example.

The point is that the architects of the Debian init scripts pretty much
assume that an initial RAM file system is used, and they take advantage
of that assumption when they write their init scripts.  Although it is
still possible to create a kernel that does not use an initial RAM file
system, that doesn't mean that it is a good idea.  As time goes on, one
is likely to encounter more and more problems as the result of swimming
upstream against the way the system is designed to work these days.

On s390x hardware, I have a Debian Linux system that has four disks.
These disks are assigned the device names /dev/dasda, /dev/dasdb,
/dev/dasdc, and /dev/dasdd by the kernel.  But the correspondence between
these Linux device names and the hardware device numbers varies widely
from boot to boot.  I can assure you of that from personal experience.
 
-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/133244.3411509.1380325292433.javamail.r...@md01.wow.synacor.com



Re: DEVTMPFS, DEVTMPFS_MOUNT, custom no initrd kernel, udev 175-7.2 and 204-4

2013-09-26 Thread Stephen Powell
On Thu, 26 Sep 2013 07:25:33 -0400 (EDT), Regid Ichira wrote:
 
   In view of http://bugs.debian.org/722580 and
 http://bugs.debian.org/722604:
 
   A machine with:
 - a custom, non initrd, linux image
 - udev 175-7.2
 - no DEVTMPFS in the kernel configuration
 is able to boot.
 
 1. Will the machine boot with 
CONFIG_DEVTMPFS=y
# CONFIG_DEVTMPFS_MOUNT is not set
?  Again, custom, non initrd, linux image.  udev 175-7.2.
 2. What about
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
?  custom, non initrd, linux image.  udev 175-7.2.
 3. Will it boot when /etc/init.d/udev from udev 175-7.2 is edtited
by hand?  If so, what modifications, by hand, are required to
/etc/init.d/udev?  Are there more files to edit?  Again, custom,
non initrd, linux image.
 4. When udev 204-4 is installed, what should be the settings of
CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT for a custom, non
initrd, linux image?
 
   Isn't there an upgrade path problem for people with a custom, non
 initrd, linux image that have DEVTMPFS unset?  I mean, newer udev
 can't be installed without CONFIG_DEVTMPFS=y.  So one has to boot
 into a CONFIG_DEVTMPFS=y kernel before upgrading udev.  But will a
 custom, non initrd, linux image with CONFIG_DEVTMPFS=y boot with udev
 175-7.2?

I don't know the answer to any of your specific questions, but I will
say in general that, in my humble opinion, I would avoid creating kernels
with no initial RAM file system.  Back in the day when the only purpose
for an initial RAM file system was to load kernel modules that were needed
before the permanent root file system could be mounted, an alternative to
doing this was to build the needed support directly into the kernel, thus
eliminating the need to load these kernel modules and thus eliminating the
need for an initial RAM file system.

But modern Linux systems need the
initial RAM file system for other things now besides loading kernel modules,
such as launching early user space processes such as udev.  Some work by
udev may need to be done before the permanent root file system can be
mounted, such as creating symbolic links in the /dev/disk directory and
its subdirectories.  In general, it is not safe to use root file system
specifications such as /dev/sda1 anymore, since the device name mapping
can change from boot to boot.  Specifying the root file system by means
of a UUID or LABEL gets around this problem, but that requires that udev
and friends have already done their disk identification work by then.  And
without an initial RAM file system, udev cannot be launched until after
the permanent root file system has been mounted.  It's a catch 22
situation.  My advice, for what it's worth, is to stop swimming upstream
and use an initial RAM file system.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/633734621.3380613.1380198178265.javamail.r...@md01.wow.synacor.com



Re: HDD repair help please

2013-09-26 Thread Stephen Powell
On Thu, 26 Sep 2013 12:08:54 -0400 (EDT), Gábor Hársfalvi wrote:
 
 Hi,
 
 How could I repair my HDD with disk manager or similar?
 
 Because, it has got a lots of bad sector.
 
 Before I could do that with fsck in recovery mode after umount /home. But
 now it can't work - it says device in use.

fsck cannot repair a file system which is mounted read/write.  It can only
repair a file system which is not mounted or which is mounted read/only.

However, if the sectors are bad because the hard disk is going bad, fsck
cannot fix that.  You need to determine why the sectors went bad in the
first place.  If your hard disk is going bad, it's time to replace the
hard disk.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


--
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/740343458.3392139.1380233277438.javamail.r...@md01.wow.synacor.com



Re: should an end user stick to a kernel with an initrd?

2013-09-26 Thread Stephen Powell
On Thu, 26 Sep 2013 17:33:40 -0400 (EDT), Lisi Reisz wrote:
 
 You know more than Stephen Powell, but you do not know about 
 threading?!

Regid,

What Lisi is saying is that changing the subject line of a post does not
start a new thread.  You have to remove the In-reply-to: tag from your
e-mail header before you send it.  If your e-mail client does not allow
you to edit the header, then you need to do a copy and paste of the old
message into a brand new e-mail with a new subject line to start a new
thread.  If you look on the Debian mailing list archives, you will see
that your second e-mail is still part of the original thread.  I learned
this the same way I learned most things: by making mistakes and learning
from them.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/292348606.3392457.1380234628455.javamail.r...@md01.wow.synacor.com



Re: should an end user stick to a kernel with an initrd?

2013-09-26 Thread Stephen Powell
On Thu, 26 Sep 2013 11:57:34 -0400 (EDT), Regid Ichira wrote:
 
   I deliberately changed the subject of this message because I hope
 people will also pay attention to my previous message in the thread. 
   At http://lists.debian.org/debian-user/2013/09/msg01150.html, which,
 I hope, this message will be a follow-up to, Stephen Powell wrote
 that, in general, initrd are desirable.  He gave a few example where,
 he believes, one can not get without it.  I am no expert.  I do 
 believe that, other then corner cases, most, if not all, the examples
 are wrong.  They can be done without an initrd.  I think the basic 
 reason is that one can have udev rules that will map specific devices
 to specific names.
   Now, considering that an initrd requires a lot more software, I
 think that an initrd should be avoided unless absolutely necessary.  

You don't seem to understand.  First of all, even if you have written
udev rules to map specific devices to specific names, this mapping
cannot take place until udev starts.  udev is not kernel code.  It is
not a kernel module, nor can it be built in to the kernel.  It is a
user-space process.  That means that it must be read from a file system
and executed as a command.  And that means that a file system must be
mounted.  If you don't use an initial RAM file system, there is no file
system from which to read udev until the permanent root file system is
mounted (usually read-only initially).  And if the permanent root file
system is already mounted, it is too late to assign a name to it.
You must know the name before udev gets launched.

Second, this is contrary to the direction and thinking of the kernel
people these days.  Traditional device names, such as /dev/sda, /dev/sdb,
(and therefore the partitions on those devices, such as /dev/sda1, /dev/sdb1,
etc.) are not assigned in a predictable manner anymore.  This device name
assignment can change from one boot to the next.  In order to specify
which partition is to be mounted as the permanent root file system in a manner
which is independent of the now-unpredictable device name assignment, you must
rely on something like the uuid or label of the partition, which is presumed
to be unique.  For example, if your boot loader is LILO, something like

   root=UUID=3860da3c-b206-44d9-920c-5ed4beac34e9

can be specified in /etc/lilo.conf.  This results in the following being
added to the kernel command line by the LILO boot loader:

   root=UUID=3860da3c-b206-44d9-920c-5ed4beac34e9

But in order for the kernel to figure out which partition on which disk
this is, it looks for a symbolic link called

   /dev/disk/by-uuid/3860da3c-b206-44d9-920c-5ed4beac34e9

If it finds it, it can determine what partition to mount as the permanent
root file system.  But if it can't find it, it can't mount the permanent
root file system.  How did that symbolic link get created?  udev created it.
udev, launched from the initial RAM file system, has already created this
symbolic link.  It might point to /dev/sda1 on this boot.  But on the next
boot, it might point to /dev/sdb1.  In either case, it will be the
correct partition to mount as the permanent root file system.  But if you
don't use an initial RAM file system, udev has not been launched yet, and
therefore, the symbolic link does not exist yet, and therefore, the kernel
can't find the permanent root file system if you refer to it by means of
a uuid.  The same principle applies for referring to a partition by means
of a disk label.

Although it is still possible to create a kernel that does not use an
initial RAM file system, the design of modern Linux systems pretty much
assumes that one is used.  I predict that as time goes on you will continue
to encounter more and more problems as the result of not using one.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1287490021.3392877.1380236855592.javamail.r...@md01.wow.synacor.com



Debian Testing/Jessie and OpenGL

2013-09-10 Thread Stephen P, Molnar
I have installed jessie in an Oracle VBox on my laptop tp use as a test 
bed for new applications software without jeopardizing my native Linux 
production computer.


Unfortunately, some of the candidate software I wish to evaluate appear 
to require OpenGL for correct operation.  Although I have been usiing 
various distributions of Linux since shortly before the release of  the 
RedHat Mother' Day distribution, I am not a computer person, but rather 
a research chemist.


Here are some of the error messages that i get:

OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
opengl extension not present, SSAO disable
opengl extension GL_EXT_packed_depth_stencil is not present

I question is:  which additional packages should I install?  I would 
appreciate being pointed in the correct direction.


Thanks in advance.


--
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/522f1ee6.7020...@sbcglobal.net



Re: Debian Testing/Jessie and OpenGL

2013-09-10 Thread Stephen P, Molnar

On 09/10/2013 03:28 PM, steef wrote:

On 10-09-13 18:39, steef wrote:

On 10-09-13 15:36, Stephen P. Molnar wrote:



Stephen P. Molnar, Ph.D. Life is a
fuzzy
set
Foundation for Chemistry Stochastic and
multivariate
www.FoundationForChemistry.com
(614)312-7528 (c)
Skype:  smolnar1


-Original Message-
From: steef [mailto:debian.li...@home.nl]
Sent: Tuesday, September 10, 2013 11:52 AM
To: debian
Subject: Re: Debian Testing/Jessie and OpenGL

On 10-09-13 13:30, Stephen P, Molnar wrote:

I have installed jessie in an Oracle VBox on my laptop tp use as a
test bed for new applications software without jeopardizing my native
Linux production computer.

Unfortunately, some of the candidate software I wish to evaluate
appear to require OpenGL for correct operation.  Although I have been
usiing various distributions of Linux since shortly before the release
of  the RedHat Mother' Day distribution, I am not a computer person,
but rather a research chemist.

Here are some of the error messages that i get:

OpenGL Warning: glGetFenceivNV not found in mesa table OpenGL Warning:
glIsFenceNV not found in mesa table OpenGL Warning: glSetFenceNV not
found in mesa table OpenGL Warning: glTestFenceNV not found in mesa
table opengl extension not present, SSAO disable opengl extension
GL_EXT_packed_depth_stencil is not present

I question is:  which additional packages should I install? I would
appreciate being pointed in the correct direction.

Thanks in advance.





hi

try libgl1-mesa-dev or something like that. if you install synaptic
you can
search for the mesa-packages with openglx-possibilities and install 
them.

maybe this is of ame help.

reg.,

steef


--
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/522f4006.8050...@home.nl


Thanks for the reply.

I added libgl1-mesa-dev, but that didn't solve the problem (not too
surprisingly - that would have been too simple).  I did, however
record the
run log, it's attached - perhaps  there are clues buried there.


i'll look at it tonight, local time. have now to feed my family.

reg.,

steef




hi stephen,

it seems to be a known issue. look at:


http://www.salome-platform.org/forum/forum_10/826530538

regards,

steef





Very Interesting.  Many thanks for the reference.  I'll try it in a new 
implementation in VBox



--
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/522f7899.7060...@sbcglobal.net



RE: Debian Testing/Jessie and OpenGL

2013-09-10 Thread Stephen P. Molnar


Stephen P. Molnar, Ph.D.Life is a fuzzy
set
Foundation for Chemistry   Stochastic and
multivariate
www.FoundationForChemistry.com
(614)312-7528 (c)
Skype:  smolnar1


-Original Message-
From: steef [mailto:debian.li...@home.nl] 
Sent: Tuesday, September 10, 2013 11:52 AM
To: debian
Subject: Re: Debian Testing/Jessie and OpenGL

On 10-09-13 13:30, Stephen P, Molnar wrote:
 I have installed jessie in an Oracle VBox on my laptop tp use as a 
 test bed for new applications software without jeopardizing my native 
 Linux production computer.

 Unfortunately, some of the candidate software I wish to evaluate 
 appear to require OpenGL for correct operation.  Although I have been 
 usiing various distributions of Linux since shortly before the release 
 of  the RedHat Mother' Day distribution, I am not a computer person, 
 but rather a research chemist.

 Here are some of the error messages that i get:

 OpenGL Warning: glGetFenceivNV not found in mesa table OpenGL Warning: 
 glIsFenceNV not found in mesa table OpenGL Warning: glSetFenceNV not 
 found in mesa table OpenGL Warning: glTestFenceNV not found in mesa 
 table opengl extension not present, SSAO disable opengl extension 
 GL_EXT_packed_depth_stencil is not present

 I question is:  which additional packages should I install?  I would 
 appreciate being pointed in the correct direction.

 Thanks in advance.




hi

try libgl1-mesa-dev or something like that. if you install synaptic you can
search for the mesa-packages with openglx-possibilities and install them.
maybe this is of ame help.

reg.,

steef


--
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/522f4006.8050...@home.nl


Thanks for the reply.  

I added libgl1-mesa-dev, but that didn't solve the problem (not too
surprisingly - that would have been too simple).  I did, however record the
run log, it's attached - perhaps  there are clues buried there.
computation@inga:~$ cd Apps/pymol
computation@inga:~/Apps/pymol$ ./pymol
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
 PyMOL(TM) Molecular Graphics System, Version 1.6.0.0.
 Copyright (c) Schrodinger, LLC.
 All Rights Reserved.
 
Created by Warren L. DeLano, Ph.D. 
 
PyMOL is user-supported open-source software.  Although some versions
are freely available, PyMOL is not in the public domain.
 
If PyMOL is helpful in your work or study, then please volunteer 
support for our ongoing efforts to create open and affordable scientific
software by purchasing a PyMOL Maintenance and/or Support subscription.

More information can be found at http://www.pymol.org;.
 
Enter help for a list of commands.
Enter help command-name for information on a specific command.

 Hit ESC anytime to toggle between text and graphics.

 Detected OpenGL version 2.0 or greater. Shaders available.
 Detected GLSL version 1.40.
OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in your SPU
 OpenGL graphics engine:
  GL_VENDOR: Humper
  GL_RENDERER: Chromium
  GL_VERSION: 2.1 Chromium 1.9
 Detected 4 CPU cores.  Enabled multithreaded rendering.
OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in your SPU
HEADERCOMPLEX (HYDROLASE/PEPTIDE) 01-AUG-96   1YTI
TITLE SIV PROTEASE CRYSTALLIZED WITH PEPTIDE PRODUCT
COMPNDMOL_ID: 1;
COMPND   2 MOLECULE: SIV PROTEASE;
COMPND   3 CHAIN: A;
COMPND   4 SYNONYM: SIV PROTEINASE;
COMPND   5 EC: 3.4.23.16;
COMPND   6 ENGINEERED: YES;
COMPND

Re: rename ttyS*

2013-09-06 Thread Stephen Powell
On Fri, 06 Sep 2013 09:20:08 -0400 (EDT), Josh Stephens wrote:
 
 You could look at using a udev rule to do the mapping for you.

(Sigh).  Replying to Cosme's posts are a waste of time.  He is from
Cuba.  And his government blocks in-coming e-mails from
outside Cuba.  And either the Debian mailing list archives are a blocked
web site or he doesn't know how to access them.  The only way he's going
to get a reply, if at all, is if someone inside Cuba sends him a private
e-mail.  And that's not likely, because chances are no-one inside Cuba
saw his post.  Cosme posted essentially the same question last month,
and got some on-list replies, one from me, but he evidently did not see them.
It is very frustrating.  It's probably frustrating for him, too.

As for the problem itself, I don't see the problem.  Linux is working
as designed.  That's what it is supposed to do.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1173885961.3028466.1378507772181.javamail.r...@md01.wow.synacor.com



Re: strange bash behavior

2013-09-04 Thread Stephen Powell
On Mon, 02 Sep 2013 12:26:17 -0400 (EDT), Stephen Powell wrote:
 
 Interesting.  If break appears out of context, you should get
 an error message something like:
 
bash: break: only meaningful in a 'for', 'while', or 'until' loop
 
 You didn't get an error message, so part of bash thinks it is in context.
 Yet it did not exit the loop.  It seems to me that you should get one
 behavior or the other.  Either you should get an error message or it
 should exit the loop.

I just tried this in both ash and dash.  Neither one of them produce an
error message when break is issued out of context.  It simply executes
as a no-op.  (break is a shell built-in command, of course, not an
external command.)  So despite the fact that break is not producing an error
message when one might expect it to, it is apparently exhibiting
expected behavior in the sense that output is identical to what would
occur with ash and dash.  (Issue busybox ash to get ash.  exit to exit,
of course.)

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/84639284.2989400.1378334667562.javamail.r...@md01.wow.synacor.com



Re: strange bash behavior

2013-09-02 Thread Stephen Powell
On Mon, 02 Sep 2013 05:27:55 -0400 (EDT), Matej Kosik wrote:
 
 This morning I have been puzzled by bash.
 After typing the following command:
 
   for i in `seq 1 5`;do echo $i; test $i = 3  break; done
 
 I see:
 
   1
   2
   3
 
 Which is OK.
 
 However, if the break command appears in a subshell:
 
   for i in `seq 1 5`;do echo $i; test $i = 3  (break); done
 
 then the break command does not seem to have any effect
 
   1
   2
   3
   4
   5
 
 I am curious, is this something to be expected?

Interesting.  If break appears out of context, you should get
an error message something like:

   bash: break: only meaningful in a 'for', 'while', or 'until' loop

You didn't get an error message, so part of bash thinks it is in context.
Yet it did not exit the loop.  It seems to me that you should get one
behavior or the other.  Either you should get an error message or it
should exit the loop.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1155847423.2945873.1378139177503.javamail.r...@md01.wow.synacor.com



Re: minicom and/or setserial

2013-08-31 Thread Stephen Powell
On Fri, 30 Aug 2013 10:08:36 -0400 (EDT), co...@esid.gecgr.co.cu wrote:
 
 I have problem with my serial port
 
 With dmseg | grep tty
 
 [0.004000] console [tty0] enabled
 [1.769854] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
 [1.770070] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
 [1.770721] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
 [1.771023] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
 [1.772842] :02:02.0: ttyS2 at I/O 0x9400 (irq = 9) is a 16550A
 [1.773360] :02:02.1: ttyS3 at I/O 0x9800 (irq = 9) is a 16550A
 
 How do change
 
 [1.770721] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
 [1.771023] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
 
 to
 
 [1.770721] 00:09: ttyS4 at I/O 0x3f8 (irq = 4) is a 16550A
 [1.771023] 00:0a: ttyS5 at I/O 0x2f8 (irq = 3) is a 16550A
 
 It posible resolve with setserial or minicom ???
 
 Sorry my english is not good

What's the problem?  This is the standard way for Linux to name serial
ports.  3F8 gets /dev/ttyS0 and 2F8 gets /dev/ttyS1.  That is working
as designed.  I would be more concerned about /dev/ttyS2 and /dev/ttyS3
sharing IRQ 9.  IRQ sharing usually doesn't work with serial ports.
Also, IRQ 9 is normally used by the ACPI controller.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1175097672.2922167.1377952145307.javamail.r...@md01.wow.synacor.com



Re: Building initrd for install Wheezy on pc without PAE

2013-08-26 Thread Stephen Powell
On Mon, 26 Aug 2013 05:32:36 -0400 (EDT), antispammbox-debian wrote:
 
 Kernel 486 is very old 1999?,  for my laptop,  :-), I would like to install 
 a kernel 686, as with Squeeze.

Unfortunately, Debian does not offer a 686 non-PAE kernel in wheezy as
a stock kernel image package, as it did for squeeze.  If you want a kernel
which is optimized for your processor you will need to build a custom
kernel.  I just finished doing that yesterday, as a matter of fact, for
my laptop, which has a Pentium M processor.  It does not support PAE.
(I only have 1G of memory installed anyway, so PAE features would not
benefit me.)

   cat /proc/cpuinfo

will tell you all the details about your processor.  If you don't see
pae under flags, then your processor does not support PAE.  Building
a custom kernel is not a trivial process.  But if you want to tackle this
task, I recommend

   http://users.wowway.com/~zlinuxman/Kernel.htm

as your guide.  Select your processor type during make menuconfig.
Use a -486 kernel config file as your starting point for customization.
Good luck.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/8377690.2832355.1377529627608.javamail.r...@md01.wow.synacor.com



Re: Partitions

2013-08-11 Thread Stephen Powell
On Fri, 09 Aug 2013 09:58:19 -0400 (EDT), Klaus Jantzen wrote:
 
 by some magic the partitions on a HDD receive a block-id
 or UUID (for fstab).
 
 Does the ID of a partition change when the partition is moved
 or when a new partition is created in the unallocated space
 between two partitions?
 
 Thanks for any info.

The UUID is assigned when the partition is formatted, not when
it is allocated.  Commands such as mke2fs or mkswap do the
formatting.  Moving or resizing a partition will not change its
UUID, nor will allocating or deallocating another partition
in any location.  However, reformatting the partition will
normally change its UUID unless the old UUID is explicitly
specified as an option during formatting.  For example, I've heard,
though I have not personally verified it, that the Ubuntu installer
has a habit of reformatting swap partitions during installation
that were originally created by the Debian installer, thus messing
up the Debian system's use of the swap partitions.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1782814833.2585471.1376231789082.javamail.r...@md01.wow.synacor.com



Re: post-install questions

2013-08-11 Thread Stephen Powell
On Sun, 11 Aug 2013 12:49:36 -0400 (EDT), François Patte wrote:
 
 I have just finished my debian installation and I have a few questions:
 
 1- For some reason the root account was not activated (I, maybe, missed
 some step); so I activated it following the docs, but there are two
 problems:
 a) root can login through lightdm and access a graphical session! How to
 disable this?

I don't use lightdm, so I don't know.  Someone else will have to answer
this question.

 
 b) root umask is set to 077, which is problematic if you don't pay
 attention to this setting.

That's strange.  That is not the Debian default.  The Debian default
for umask is 022.  (See /etc/login.defs.)  Perhaps pam_umask is overriding
this?  FTP servers have their own method for specifying the umask value.
For example, vsftpd sets the local_umask value in /etc/vsftpd.conf for
ftp client sessions.

 
 2- Is there a gnome-network-manager like program under xfce?
 
 I try to have an installation with a minimum number of gnome packages.
 I tried to install  gnome-network-manager, but I got a full installation
 of gnome desktop which made a coup d'état and took power over xfce.  I
 purged my system from gnome packages.

I don't use xfce, so I don't know.

 3- Is it possible to install a package without its dependencies  with
 apt-get?  I wanted to install auctex but apt-get wants to install a lot
 of TeX packages which I don't want.
 
 I know, auctex is made for TeX, but I install texlive directly from CTAN
 and don't want to have 2 TeX installations.

Maybe, but in general, you shouldn't.  There are three levels of dependency.
A package can DEPEND on another package, RECOMMEND another package, or
SUGGEST another package.  By default, aptitude, and I think apt-get as well,
installs all packages that are dependencies or recommendations.  You can
suppress the installation of recommended packages with

   aptitude -R install package_name

or

   apt-get --no-install-recommends install package_name

This may help.  But if the extra packages are truly dependencies of the
package you want to install, it probably won't work without the dependent
packages, even if you can get it installed.
 
 4- I installed emacs24, and it returns a warning when it is launched
 from an xfce terminal:
 
 Gtk-WARNING **: gtk window parse geometry() called on a window with no
 visible children; the window should be set up before gtk window parse
 geometry() is called.
 
 What does this mean?

I don't use emacs and I know nothing about gtk.  I hope others can help
you with the questions I couldn't answer.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


--
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/1723425972.2588008.1376245293270.javamail.r...@md01.wow.synacor.com



Re: root.root and netdev group for /dev/net/tun ?

2013-08-01 Thread Stephen Powell
On Sat, 27 Jul 2013 22:19:42 -0400 (EDT), Stephen Powell wrote:
 
 The attributes of /dev/net/tun are controlled by the file
 
/lib/udev/rules.d/91-permissions.rules
 
 which is part of the udev package.  Search for the character string tun
 in this file.  You will find a line which looks like this:
 
KERNEL==tun,  MODE=0666,
 OPTIONS+=static_node=net/tun
 
 If you want to change the group to netdev, change the above to
 
KERNEL==tun, GROUP=netdev   MODE=0666,
 OPTIONS+=static_node=net/tun
 
 You might also want to change the mode settings, so that only root and members
 of the netdev group can access the /dev/net/tun device.  For example,
 
KERNEL==tun, GROUP=netdev   MODE=0660,
 OPTIONS+=static_node=net/tun
 

One other thing -- 91-permissions.rules is in the initial RAM file system;
so if you change 91-permissions.rules, you will need to rebuild the initial
RAM file system image file.

   update-initramfs -uk $(uname -r)

will rebuild the initial RAM file system image file for the running kernel.
If you have alternate kernels installed, you will need to rebuild the initial
RAM file system image files for the alternate kernels too.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1625680288.2446703.1375410066034.javamail.r...@md01.wow.synacor.com



Re: root.root and netdev group for /dev/net/tun ?

2013-07-28 Thread Stephen Powell
On Sun, 28 Jul 2013 04:28:01 -0400 (EDT), Erwan David wrote:
 
 I think that what is found in /etc/udev/rules predates /lib/udev/rules,
 thus just putting the modified line in a file in this directory should
 be sufficient and shoud survive an udev update.

I think you meant to say /etc/udev/rules.d and /lib/udev/rules.d,
respectively.  Yes, you can copy the file from /lib/udev/rules.d
to /etc/udev/rules.d and then modify the copy in /etc/udev/rules.d.
But if the file 91-permissions.rules changes in a subsequent update
of the udev package, chances are that there were changes made to
it that you *want* to take effect.  It is still necessary to coordinate
the changes made by package maintenance with the changes which you
yourself have made.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/744543456.2369828.1375018300585.javamail.r...@md01.wow.synacor.com



Re: root.root and netdev group for /dev/net/tun ?

2013-07-28 Thread Stephen Powell
On Sun, 28 Jul 2013 07:42:29 -0400 (EDT), Brian a...@cityscape.co.uk wrote:
 
 On Sat 27 Jul 2013 at 22:19:42 -0400, Stephen Powell wrote:
 
 ...
 The change does not take effect until the next reboot, of course.
 
 Wouldn't 'udevadm trigger' avoid a reboot?

If you wish to avoid a reboot, the simplest solution is to manually alter
(as root) the attributes of the /dev/net/tun pseudo-file.  For example,

# chgrp netdev /dev/net/tun
# chmod 0660 /dev/net/tun

But of course, the attributes will revert to what they were before upon
the next reboot unless changes have been made to the 91-permissions.rules
file.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/384154941.2369874.1375018772241.javamail.r...@md01.wow.synacor.com



Re: root.root and netdev group for /dev/net/tun ?

2013-07-27 Thread Stephen Powell
On Sat, 27 Jul 2013 21:28:09 -0400 (EDT), Zenaan Harkness wrote:
 
 Is there a reason why the default ownership of /dev/net/tun is root.root?
 I'm on sid. Don't know if it's anything I did, pretty sure not.
 
 As in, is there a reason that /dev/net/tun is not owned root.netdev?

The attributes of /dev/net/tun are controlled by the file

   /lib/udev/rules.d/91-permissions.rules

which is part of the udev package.  Search for the character string tun
in this file.  You will find a line which looks like this:

   KERNEL==tun,  MODE=0666,
OPTIONS+=static_node=net/tun

If you want to change the group to netdev, change the above to

   KERNEL==tun, GROUP=netdev   MODE=0666,
OPTIONS+=static_node=net/tun

You might also want to change the mode settings, so that only root and members
of the netdev group can access the /dev/net/tun device.  For example,

   KERNEL==tun, GROUP=netdev   MODE=0660,
OPTIONS+=static_node=net/tun

As for why it is the way it is, you might want to ask the package maintainer for
the udev package that question.  Of course, if the udev package is ever 
serviced,
you may need to re-make your changes.  The change does not take effect until the
next reboot, of course.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/548182802.2367641.1374977982693.javamail.r...@md01.wow.synacor.com



Re: Debian Testing VMWare-Tools Bad Variable Name

2013-07-22 Thread Stephen P. Molnar
On Mon, 22 Jul 2013 11:23:00 +0200
emmanuel segura emi2f...@gmail.com wrote:

 Hello List
 
 I try to figure out i what i think, get_version_integer function get 3
 parameters
 +
 # Get the running kernel integer version
 get_version_integer() {
   local version_uts
   local v1
   local v2
   local v3
 
   version_uts=`uname -r`
 
   # There is no double quote around the back-quoted expression on
 purpose # There is no double quote around $version_uts on purpose
   set `IFS='.'; echo $version_uts`
   v1=$1
   v2=$2
   v3=$3
   # There is no double quote around the back-quoted expression on
 purpose # There is no double quote around $v3 on purpose
   set `IFS='-ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz';
 echo $v3`
   v3=$1
 
   kernel_version_integer $v1 $v2 $v3
 }
 +++
 
 the 3 paraters are passed to function kernel_version_integer, but i
 see in whole script, get_version_intege function is called without
 parameters
 
 +
 vmware_start_acpi_hotplug() {
if [ `isLoaded $acpi` = 'yes' ]; then
   # acpiphp is already loaded.  Success.
   return 0
fi
# Don't allow pciehp and acpiphp to overlap.  Also don't unload
# pciehp in order to then load acpiphp as this won't avoid acpiphp
# crashing while trying to register a device node pciehp already
 has. # All this only before 2.6.17 - since 2.6.17 pciehp and acpiphp
 can # coexist.
if [ `isLoaded pciehp` = 'yes' ]; then
   local ok_kver=`kernel_version_integer '2' '6' '17'`
   local run_kver=`get_version_integer`
   if [ $run_kver -lt $ok_kver ]; then
  return 1
   fi
fi
modprobe $acpi
return 0
 }
 +++
 
 I don't use vmware for do a test
 
 Thanks an sorry for my english :)
 
 
 
 2013/7/22 emmanuel segura emi2f...@gmail.com
 
  Sorry
 
  Forgot the previous mail
 
 
  2013/7/22 emmanuel segura emi2f...@gmail.com
 
  Hello List
 
  Maybe i wrong but i think the error is local
  run_kver=`get_version_integer`  the script calls
  get_version_integer like external command, but it's a function
 
  Thanks
 
 
  2013/7/21 William Hopkins we.hopk...@gmail.com
 
  On 07/21/13 at 04:09pm, Stephen P. Molnar wrote:
   In the case of Debian 7.1.0 the vmware tools installed without
   any
  problems.
  
   Unfortunately, this was not the case with Debian Testing.  the
   tools installed without any problems, but when the installer ran
   /usr/bin/ware/vmware.config.tools.pl there were errors:
  
   Starting VMware Tools services in the virtual machine:
  Switching to guest configuration: [71G done
   /etc/init.d/vmware-tools: 1090: local: ': bad variable name
   /etc/init.d/vmware-tools: 1090: local: ': bad variable name
  Blocking file system: [71Gfailed
   /etc/init.d/vmware-tools: 1187: local: ': bad variable name
  Guest operating system daemon: [71G done
   Unable to start services for VMware Tools
The lines in question are:
  
   1090   local run_kver=`get_version_integer`
  
   and
  
   1187local run_kver=`get_version_integer`
 
  Can you provide the vmware.config.tools.pl from your system?
  Can you `type get_version_integer`? if it's referenced in that
  script, can you
  provide it also? Sounds like an unescaped quote in one of these
  scripts, might
  have to identify the maintainer and bugreport upstream.
 
  Also, didn't you post this recently, with a longer log? Is this
  the same issue?
 
  --
  William
 
 
 
 
  --
  esta es mi vida e me la vivo hasta que dios quiera
 
 
 
 
  --
  esta es mi vida e me la vivo hasta que dios quiera
 
 
 
 

Thanks for you  reply and suggestion.  Unfortunately, diffuse show
no differences between the two /etc/init.d/vmware-tools files.

Incidentally, your English is far better that my (non-existent) Spanish.


-- 
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/20130722082311.7d12a...@inga.att.net



Re: Debian Testing VMWare-Tools Bad Variable Name

2013-07-22 Thread Stephen P. Molnar
On Mon, 22 Jul 2013 09:31:34 -0500
Selim T. Erdogan se...@alumni.cs.utexas.edu wrote:

 This is a long shot but for some reason I was reminded of
 having trouble with a non-debian script a few months ago, that 
 also asked to be run by /bin/sh (as your attachment did).
 
 At the time, on my wheezy system (while it was still in testing), 
 /bin/sh pointed to dash, not bash, so the script didn't work 
 right.  I fixed it with dpkg-reconfigure dash.
 
 So you could check if the /bin/sh on the two systems points to
 the same shell with the same version.
 
 Selim
 
 

Thanks for the reply, and suggestion.  If it had worked even a long
shot is useful.  Unfortunately, it didn't work.

I am, however, grateful for the suggestion.


-- 
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/20130722110655.454f7...@inga.att.net



Strange Problem with Executable File

2013-07-22 Thread Stephen P. Molnar
I have installed Debian v 7.1.0 and Debian Testing in 2 different
implementations of VMWare Player on my 64 bit laptop to use as test
beds before deploying software to my 7.1.0 production machine.

I have run into a rather strange problem when I installed MOPAC2012.
The author furnishes the program as a compiled MOPAC2012.exe even
though it's compiled as a Linux program, and, in fact, runs in v-7.1.0
in the VMWare Player.  I installed exactly the same executable in the
Testing version, but when I attemtp to execute the program I get the
following:

computation@inga:/opt/mopac$ ./MOPAC2012.exe 7840404a15291320 
bash: ./MOPAC2012.exe: No such file or directory
computation@inga:/opt/mopac$ 

The permissions are -rwxr-xr-x

I happen to be a chemist, not a programmer, and would greatly
appreciate some guidance as to a solution to this prroble.

Thanks in advance


-- 
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/20130722154720.717b6...@inga.att.net



Re: Strange Problem with Executable File

2013-07-22 Thread Stephen P. Molnar
On Mon, 22 Jul 2013 22:33:57 +0200
Sven Joachim svenj...@gmx.de wrote:

 On 2013-07-22 21:47 +0200, Stephen P. Molnar wrote:
 
  I have installed Debian v 7.1.0 and Debian Testing in 2 different
  implementations of VMWare Player on my 64 bit laptop to use as test
  beds before deploying software to my 7.1.0 production machine.
 
  I have run into a rather strange problem when I installed MOPAC2012.
  The author furnishes the program as a compiled MOPAC2012.exe even
  though it's compiled as a Linux program, and, in fact, runs in
  v-7.1.0 in the VMWare Player.  I installed exactly the same
  executable in the Testing version, but when I attemtp to execute
  the program I get the following:
 
  computation@inga:/opt/mopac$ ./MOPAC2012.exe 7840404a15291320 
  bash: ./MOPAC2012.exe: No such file or directory
 
 This indicates that the interpreter for MOPAC2012.exe is missing,
 which can happen if it's a 32-bit program and you don't have
 libc6-i386 installed.
 
  I happen to be a chemist, not a programmer, and would greatly
  appreciate some guidance as to a solution to this prroble.
 
 Install libc6-i386 and retry.
 
 Cheers,
Sven
 
 

Many thanks.  Missing libraries i386 were the problem!  Al is now well!!


-- 
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/20130722185852.5e1cd...@inga.att.net



Debian Testing VMWare-Tools Bad Variable Name

2013-07-21 Thread Stephen P. Molnar
I am using VMWare Reader v-5.0.2 and the associated VMWare Tools with 
both Debian v-7.1.0 and Debian Testing (different VMWare Reader 
directories, of course) installed on my 64 bit Windows 7 laptop as 
testbeds before making any changes to my Linux production machine.


In the case of Debian 7.1.0 the vmware tools installed without any problems.

Unfortunately, this was not the case with Debian Testing.  the tools 
installed without any problems, but when the installer ran 
/usr/bin/ware/vmware.config.tools.pl there were errors:



Starting VMware Tools services in the virtual machine:
   Switching to guest configuration: done
/etc/init.d/vmware-tools: 1090: local: ': bad variable name
/etc/init.d/vmware-tools: 1090: local: ': bad variable name
   Blocking file system:failed
/etc/init.d/vmware-tools: 1187: local: ': bad variable name
   Guest operating system daemon: done
Unable to start services for VMware Tools

 The lines in question are:

1090   local run_kver=`get_version_integer`

and

1187local run_kver=`get_version_integer`

I don't have the faintest idea as to what the error is and would 
appreciate any pointers towards a solution.


Thanks in advance.


--
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/51ec400d.5040...@sbcglobal.net



Re: FW: Debian Testing VMWare-Tools Bad Variable Name

2013-07-21 Thread Stephen P. Molnar

On 07/21/2013 06:23 PM, Stephen P. Molnar wrote:


Stephen P. Molnar, Ph.D.Life is a fuzzy
set
Foundation for Chemistry   Stochastic and
multivariate
www.FoundationForChemistry.com
(614)312-7528 (c)
Skype:  smolnar1

-Original Message-
From: William Hopkins [mailto:we.hopk...@gmail.com]
Sent: Sunday, July 21, 2013 4:26 PM
To: debian-user@lists.debian.org
Subject: Re: Debian Testing VMWare-Tools Bad Variable Name

On 07/21/13 at 04:09pm, Stephen P. Molnar wrote:

In the case of Debian 7.1.0 the vmware tools installed without any

problems.

Unfortunately, this was not the case with Debian Testing.  the tools
installed without any problems, but when the installer ran
/usr/bin/ware/vmware.config.tools.pl there were errors:


Starting VMware Tools services in the virtual machine:
   Switching to guest configuration: done
/etc/init.d/vmware-tools: 1090: local: ': bad variable name
/etc/init.d/vmware-tools: 1090: local: ': bad variable name
   Blocking file system:failed
/etc/init.d/vmware-tools: 1187: local: ': bad variable name
   Guest operating system daemon: done Unable to start services
for VMware Tools

  The lines in question are:

1090   local run_kver=`get_version_integer`

and

1187local run_kver=`get_version_integer`

Can you provide the vmware.config.tools.pl from your system?
Can you `type get_version_integer`? if it's referenced in that script, can
you provide it also? Sounds like an unescaped quote in one of these scripts,
might have to identify the maintainer and bugreport upstream.

Also, didn't you post this recently, with a longer log? Is this the same
issue?

--
William
Thanks for your reply.  Yes, I did post this earlier, but, in my haste, 
I missed some messages from the installer.


computation@inga:~$ type get_version_integer
bash: type: get_version_integer: not found

I've attached the file.

I really appreciate your assistance.

Again, thanks in advance.



#!/bin/sh
#
# Copyright (c) 1998-2013 VMware, Inc.  All rights reserved.
#
# This script manages the services needed to run VMware software

### BEGIN INIT INFO
# Provides: vmware-tools
# Required-Start: $local_fs
# Required-Stop: $local_fs
# X-Start-Before: $network
# X-Stop-After: $network
# Default-Start: S
# Default-Stop: 0 6
# Short-Description: VMware Tools service
# Description: Manages the services needed to run VMware Tools
### END INIT INFO



# BEGINNING_OF_UTIL_DOT_SH
#!/bin/sh
#
# Copyright (c) 2005-2013 VMware, Inc.  All rights reserved.
#
# A few utility functions used by our shell scripts.  Some expect the settings
# database to already be loaded and evaluated.

vmblockmntpt=/proc/fs/vmblock/mountPoint
vmblockfusemntpt=/var/run/vmblock-fuse

vmware_failed() {
  if [ `type -t 'echo_failure' 2/dev/null` = 'function' ]; then
echo_failure
  else
echo -n $rc_failed
  fi
}

vmware_success() {
  if [ `type -t 'echo_success' 2/dev/null` = 'function' ]; then
echo_success
  else
echo -n $rc_done
  fi
}

# Execute a macro
vmware_exec() {
  local msg=$1  # IN
  local func=$2 # IN
  shift 2

  echo -n '   '$msg

  # On Caldera 2.2, SIGHUP is sent to all our children when this script exits
  # I wanted to use shopt -u huponexit instead but their bash version
  # 1.14.7(1) is too old
  #
  # Ksh does not recognize the SIG prefix in front of a signal name
  if [ $VMWARE_DEBUG = 'yes' ]; then
(trap '' HUP; $func $@)
  else
(trap '' HUP; $func $@) /dev/null 21
  fi
  if [ $? -gt 0 ]; then
vmware_failed
echo
return 1
  fi

  vmware_success
  echo
  return 0
}

# Execute a macro in the background
vmware_bg_exec() {
  local msg=$1  # IN
  local func=$2 # IN
  shift 2

  if [ $VMWARE_DEBUG = 'yes' ]; then
# Force synchronism when debugging
vmware_exec $msg $func $@
  else
echo -n '   '$msg' (background)'

# On Caldera 2.2, SIGHUP is sent to all our children when this script exits
# I wanted to use shopt -u huponexit instead but their bash version
# 1.14.7(1) is too old
#
# Ksh does not recognize the SIG prefix in front of a signal name
(trap '' HUP; $func $@) 21 | logger -t 'VMware[init]' -p daemon.err 

vmware_success
echo
return 0
  fi
}

# This is a function in case a future product name contains language-specific
# escape characters.
vmware_product_name() {
  echo 'VMware Tools'
  exit 0
}

# This is a function in case a future product contains language-specific
# escape characters.
vmware_product() {
  echo 'tools-for-linux'
  exit 0
}

is_dsp()
{
   # This is the current way of indicating it is part of a
   # distribution-specific install.  Currently only applies to Tools.
   [ -e $vmdb_answer_LIBDIR/dsp ]
}

# They are a lot of small utility programs to create temporary files in a
# secure way, but none of them is standard. So I wrote this
make_tmp_dir() {
  local dirname=$1 # OUT
  local prefix=$2  # IN
  local tmp
  local serial
  local loop

  tmp

Problem Installing VMWare Tools in Debian Testing/Jessie

2013-07-20 Thread Stephen P. Molnar
I have installed both Debian 64 bit 7.1.0 and Debian 64 bit Testing in 
separate VMWare Player v-5.0.2 on my 64 bit laptop to serve as test beds 
before messing with my Debian production computer.


I successfully installed VMWare Tools 9.2.3 build-1031360 on 7.1.0.  
However when I attempted the installation of the Tools on the Debian 
Testing installation the installation failed.  I  managed to correct the 
earlier problems, apparently lack of required libraries, but the 
installation still failed.


I have attached the log file to this message in the hope that someone 
can point me towards a solution.


Thanks in advance.
Script started on Sat 20 Jul 2013 09:22:19 AM EDT
root@inga:/home/computation/Downloads/vmware-tools-distrib# perl vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will 
first uninstall the currently installed version.  Do you wish to continue? 
(yes/no) [yes] 

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:
 done
   VMware User Agent (vmware-user): done
   Blocking file system: done
   Unmounting HGFS shares: done
   Guest filesystem driver: done
/etc/init.d/vmware-tools: 1090: local: ': bad variable name
/etc/init.d/vmware-tools: 1090: local: ': bad variable name
/etc/init.d/vmware-tools: 1187: local: ': bad variable name

update-rc.d: using dependency based boot sequencing
Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon: done

update-rc.d: using dependency based boot sequencing
This program previously created the file 
/usr/lib/vmware-tools/lib64/libconf/etc/pango/pango.modules, and was about to 
remove it.  Somebody else apparently did it already.

File /etc/vmware-tools/vmware-user.desktop is backed up to 
/etc/vmware-tools/vmware-user.desktop.old.3.

File /usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0/gtk.immodules is backed up
to /usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0/gtk.immodules.old.3.

File /usr/lib/vmware-tools/lib64/libconf/etc/fonts/fonts.conf is backed up to 
/usr/lib/vmware-tools/lib64/libconf/etc/fonts/fonts.conf.old.1.

File /usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0/gdk-pixbuf.loaders is 
backed up to 
/usr/lib/vmware-tools/lib64/libconf/etc/gtk-2.0/gdk-pixbuf.loaders.old.3.

This program previously created the file 
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gdk-pixbuf.loaders, and was about to 
remove it.  Somebody else apparently did it already.

This program previously created the file 
/usr/lib/vmware-tools/lib64/libconf/etc/pango/pangorc, and was about to remove 
it.  Somebody else apparently did it already.

This program previously created the file 
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gtk.immodules, and was about to 
remove it.  Somebody else apparently did it already.

This program previously created the file 
/usr/lib/vmware-tools/lib64/libconf/etc/pango/pangox.aliases, and was about to 
remove it.  Somebody else apparently did it already.

This program previously created the directory 
/usr/lib/vmware-tools/lib/libtpvmlpd2.so, and was about to remove it. Somebody 
else apparently did it already.

This program previously created the directory 
/usr/lib/vmware-tools/lib/libtpvmgp.so, and was about to remove it. Somebody 
else apparently did it already.

File /etc/initramfs-tools/modules is backed up to 
/etc/initramfs-tools/modules.old.1.

update-initramfs: Generating /boot/initrd.img-3.9-1-amd64
Warning: LBA32 addressing assumed
Added Linux  *
Skipping /vmlinuz.old
One warning was issued.
The removal of VMware Tools 9.2.3 build-1031360 for Linux completed 
successfully.

Installing VMware Tools.

In which directory do you want to install the binary files? 
[/usr/bin] 
What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc] 

What is the directory that contains the init scripts? 
[/etc/init.d] 

In which directory do you want to install the daemon files? 
[/usr/sbin] 

In which directory do you want to install the library files? 
[/usr/lib/vmware-tools] 

In which directory do you want to install the documentation files? 
[/usr/share/doc/vmware-tools] 

The path /usr/share/doc/vmware-tools does not exist currently. This program 
is going to create it, including needed parent directories. Is this what you 
want? [yes] 

The installation of VMware Tools 9.2.3 build-1031360 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: /usr/bin/vmware-uninstall-tools.pl.

Before running VMware Tools for the first time, you need to configure it by 
invoking the following command: /usr/bin/vmware-config-tools.pl. Do you want 
this 

Re: Deleting chromium DNS cache entry doesn't seem to help.

2013-07-19 Thread Stephen Allen
On Thu, Jul 18, 2013 at 04:43:07PM +, Hendrik Boom wrote:
 On Sun, 14 Jul 2013 14:57:14 +, Hendrik Boom wrote:
 
  On Sat, 13 Jul 2013 16:53:01 -0400, staticsafe wrote:
  
  On Sat, Jul 13, 2013 at 08:39:10PM +, Hendrik Boom wrote:
  For some reason, chromium seems to have got it stuck in its head that
  slashdot,org is at 69.165.131.134.  At least, when I try to browse to
  slashdot.org using chromium, the displayed contents are identical to
  the contents at 16.165.131.134, which contains my personal web site.
  
  Firefox and chrome have no trouble reaching the real site.
  
  And I can read slashdot just fine on chromium if I enter the IP number
  216.34.181.45 instead of the domain name.
  
  So I'm guessing that chromium has got that IP number stuck in some
  internal DNS cache.
  
  It now looks as if chromium's DNS cache may not be the problem. 
  Chromium must be getting slashdot's IP address from somewhere else --
  somewhere that firefox and ping don't access.
  
  
  How can I get it to forget it?
  
  -- hendrik
  
  Navigate to chrome://net-internals/#dns and press the Clear host
  cache
  button.
  
  After navigating there from chromium and pressing the button,
  slashdot.org doesn't appear in the listing of the cache entries on that
  page.
  
  But the misbehaviour still persists, even after a reboot.
  
  And firefox and chrome and ping still reach the right site.
  
  And when I go to chrome://net-internals/#dns on chrome itself, it tells
  mem it *does* have slashdot.org in its cache, with the right IP number.
  
  The cache chromium reveals with chrome://net-internals/#dns clearly has
  different contents from the one that chrome reveals -- which confirms
  that they have different caches.
  
  And even after browsing to slashdot.org in chromium and getting to the
  wrong place, going to chrome://net-internals/#dns with chromium still
  indicates that slashdot.org is not in the cache.
  
  So I'm suspecting that chrome://net-internals/#dns may not reeveal the
  real cache in chromium.
  
  So where *is* chromium getting this misinformation?
  
  Just for reference, here's my /etc/resolv.conf file:
  
  # Generated by NetworkManager domain topoi.pooq.com search
  topoi.pooq.com nameserver 8.8.8.8 nameserver 8.8.4.4
  
  
  -- hendrik
  
  
  Source -
  http://superuser.com/a/203702
 
 It's been most of a week now, and the problem persists.
 Chromium still insists on going to the website normally known as 
 topoi.pooq.com when I request slashdot.org.
 
 Neither iceweasel nor chrome do this; both find the proper slashdot.org.
 
 Even ping finds the proper site.
 
 The problem presumably started a week ago when there was a temporary 
 networking problem, but only chromium seems to have fixated on the wrong 
 IP address.
 
 I have followed the procedure for clearing chromium's dns cache.  When I 
 look at the cache contents, slashdot isn't in it.  Does chromium have 
 another, secret cache?
 
 And it appears that I do not have nscd running, or even installed.
  
 I'm starting to think of shuttering chromium forever, assuming I can copy 
 its bookmarks elsewhere, say, to chrome.
 
 
---end quoted text---

Why would you need to copy your bookmarks? Presumably you used bookmark
sync with Chromium, thus they will be available to Google-Chrome when
you login into your Google account the 1st time in Chrome.

Have you tried using a different DNS server? Try the Google DNS servers,
Google will give you their address -- I don't have them handy at the
moment.

-- 
Cheers,
Stephen, Toronto
My Google+ Profile | http://goo.gl/JbQsq


-- 
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/20130719104526.ga4...@thunkpad.gateway.2wire.net



What's with the blue overlining in text consoles? [SOLVED]

2013-07-15 Thread Stephen Powell
On Sun, 14 Jul 2013 11:10:18 -0400 (EDT), commandl...@telenet.be wrote:
 
 On 13/07/13 21:55, Stephen Powell wrote:
 
 Something strange has started happening recently.  For a long time I have
 used ISO-8859-1 as my character mapping in text consoles.

 dpkg-reconfigure console-setup

 and I have had no difficulty, except when using the ssh client to connect
 to a remote system which uses UTF-8.  The box-drawing characters sent by
 the remote system did not look right under these conditions.  To solve this
 problem, I switched my local system to use UTF-8.  Now the box-drawing
 characters sent by the remote system look right when displayed by my
 local ssh client.  However, I recently began noticing that all blue fields
 are now overlined.  For example, the lynx web browser, when used in a
 text console (vt1-vt6), displays emphasized fields (the em.../em html
 tag) as blue overlined, when it used to display them simply as blue.

 I can live with that, I suppose.  But what really bothers me is when I
 use the c3270 text-mode 3270 terminal emulator to logon to a mainframe.
 All blue fields are now overlined!  This is driving me batty!  I tried
 searching the world wide web using search words of

 blue overlining UTF-8

 but did not obtain any useful results.  Does anyone know the cause of this?
 Does anyone know the cure?  Is this a bug?  If so, in what package is the
 bug?  The problem does not seem to occur in a Gnome Terminal window, only
 on a text console.  My system locale is en_US.UTF-8.  I am running an
 up-to-date Jessie system on i386 architecture.
 
 Never heard of something similar to start with.  Few guesses.
 
 * Terminal Emulation?
   Check what happens if you switch from say xterm to linux to vt100 to ...
 
 * Character map error?
   Might be for some reason the charmap is damaged?  Did you edit them at 
 one point?  Of would someone else have access to them?
 
 I'd suggest you make a backup of the current files, then proceed with 
 tests.  If it still fails proceed to reinstall the packages. Then check 
 again...
 
 Do you mix the repo with Wheezy or unstable?  This might at times cause 
 quite unique weirdness.

Thank you for your reply, but please don't top post.  I took the liberty of
reformatting this post in the bottom posting / interleaving style.

Well, after a lot of trial-and-error experimentation, I have found the culprit.
It's the video BIOS.  This video BIOS supports eleven hardware text modes,
as documented below:

hex mode id screen size   character cell
(vga=ask)   (text columns x   size (horiz pixels
text rows)x vert pixels)

F00 80x25 9x16
F01 80x50 9x8
F02 80x43 8x8
F03 80x28 9x14
F05 80x30 9x16
F06 80x34 9x14
F07 80x60 9x8
121 100x259x16
122 100x309x16
123 132x258x16
133 132x448x8

Of these eleven hardware text video modes, ten of them work fine.  That is, blue
fields appear without overlining.  One of them is defective.  Mode id 0x122,
for 100 text columns by 30 text rows, displays blue fields with overlining.
And that's the one I was using.  Coincidentally, I switched from 80x34 to
100x30 shortly after I switched from ISO-8859-1 character mapping to UTF-8
character mapping.  The overlining of blue fields had nothing to do with the
switch to UTF-8.  It just appeared to be related because the video mode switch
occurred at about the same time.  The video BIOS apparently does not set up
the VGA registers correctly for video mode id 0x122.  But it does for all the
other text video modes.  The solution (actually a circumvention) is to choose
a different video mode.  Problem solved.  For those of you who are interested,
here is the information I have been able to obtain about my video chipset
and BIOS:

The video chipset is listed by lspci -nn as follows:

05:03.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Rage XL PCI [1002:4752] (rev 27)

The video chip is built-in to the motherboard; so it's video BIOS is built-in 
to the
motherboard too.

/var/log/Xorg.0.log shows the following information about the video BIOS:

MACH64(0): Primary V_BIOS segment is: 0xc000
...
MACH64(0): VESA BIOS detected
MACH64(0): VESA VBE Version 2.0
MACH64(0): VESA VBE Total Mem: 8128 kB
MACH64(0): VESA VBE OEM: ATI MACH64
MACH64(0): VESA VBE OEM Software Rev: 1.0
MACH64(0): VESA VBE OEM Vendor: ATI Technologies Inc.
MACH64(0): VESA VBE OEM Product: MACH64GM
MACH64(0): VESA VBE OEM Product Rev: 01.00

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


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

What's with the blue overlining in text consoles?

2013-07-13 Thread Stephen Powell
Something strange has started happening recently.  For a long time I have
used ISO-8859-1 as my character mapping in text consoles.

   dpkg-reconfigure console-setup

and I have had no difficulty, except when using the ssh client to connect
to a remote system which uses UTF-8.  The box-drawing characters sent by
the remote system did not look right under these conditions.  To solve this
problem, I switched my local system to use UTF-8.  Now the box-drawing
characters sent by the remote system look right when displayed by my
local ssh client.  However, I recently began noticing that all blue fields
are now overlined.  For example, the lynx web browser, when used in a
text console (vt1-vt6), displays emphasized fields (the em.../em html
tag) as blue overlined, when it used to display them simply as blue.

I can live with that, I suppose.  But what really bothers me is when I
use the c3270 text-mode 3270 terminal emulator to logon to a mainframe.
All blue fields are now overlined!  This is driving me batty!  I tried
searching the world wide web using search words of

   blue overlining UTF-8

but did not obtain any useful results.  Does anyone know the cause of this?
Does anyone know the cure?  Is this a bug?  If so, in what package is the
bug?  The problem does not seem to occur in a Gnome Terminal window, only
on a text console.  My system locale is en_US.UTF-8.  I am running an
up-to-date Jessie system on i386 architecture.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1182082504.2151649.1373745348517.javamail.r...@md01.wow.synacor.com



Re: Starting Google Chrome - resend

2013-07-07 Thread Stephen Allen
On Sun, Jul 07, 2013 at 01:13:07AM +0100, Lisi Reisz wrote:
 On Sunday 07 July 2013 00:31:41 Charlie wrote:
   On Sat, 6 Jul 2013 22:36:59 +0100 Lisi Reisz lisi.re...@gmail.com
   sent this:
 
  On Saturday 06 July 2013 22:24:34 Stephen Allen wrote:
   I have it working here fine on Debian's Chromium.
  
  Does it matter?
  
  Lisi
 
  I think it must Lisi, because someone posted about a problem with Chrome
  and the discussion was taken from that to Chromium not being nearly
  the same and then about things not working in Chromium or Chrome and so
  it continued.
 
  So I imagine it does matter.
 
 Yes, Charlie.  I agree.  I had been involved in the discussion and agree that 
 that discussion matters.  And most people were saying that they found 
 flash-plugin-nonfree adequate, with which I did not disagree.  It was not 
 adequate for me, it was for them.  Worth establishing.  And it may well have 
 been my fault that I did not find it satisfactory.
 
 Quote from Stephen
 What do you mean exactly? It just does, if you have it installed. You
 must go to Adobe's website and install it first of course.
 
 I have it working here fine on Debian's Chromium.
 /quote
 
 But Stephen appeared to me to want confrontation for confrontation's sake, 
 and 
 it was that with which I was disagreeing.  Of course I know about having to 
 get it and install it before it would work!  It appeared to me as if he was 
 being deliberately insulting.  So I repeat:  Does it matter that Stephen, 
 clever Stephen, has it working to his satisfaction, so assumes that I am too 
 thick to know that something is not going to work unless I first download and 
 install it?  I still say not!
 
 Lisi
 
---end quoted text---

Sorry, no confrontation and wasn't trolling. Flash is on it's last legs,
and I'm just left wondering what you expect. shrug No worries.

-- 
Cheers,
Stephen, Toronto
My Google+ Profile | http://goo.gl/JbQsq


-- 
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/20130707112722.ga5...@thunkpad.gateway.2wire.net



Re: Starting Google Chrome - resend

2013-07-06 Thread Stephen Allen
On Sat, Jul 06, 2013 at 07:53:15AM +0100, Lisi Reisz wrote:
 On Saturday 06 July 2013 01:23:54 green wrote:
  chromium does not include flash, which is non-free and available via
  the flashplugin-nonfree package.
 
 Yes, but I couldn't get it to work with Chromium.
 
 Lisi
 
---end quoted text---

What do you mean exactly? It just does, if you have it installed. You
must go to Adobe's website and install it first of course.

I have it working here fine on Debian's Chromium.

-- 
Cheers,
Stephen, Toronto
My Google+ Profile | http://goo.gl/JbQsq


-- 
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/20130706212434.ga4...@thunkpad.gateway.2wire.net



Re: Starting Google Chrome - resend

2013-07-06 Thread Stephen Allen
On Sat, Jul 06, 2013 at 10:36:59PM +0100, Lisi Reisz wrote:
 On Saturday 06 July 2013 22:24:34 Stephen Allen wrote:
  I have it working here fine on Debian's Chromium.
 
 Does it matter?
 
 Lisi
 
---end quoted text---

Well, apparently it does, you posted asking.

-- 
Cheers,
Stephen, Toronto
My Google+ Profile | http://goo.gl/JbQsq


-- 
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/20130706235915.ga4...@thunkpad.gateway.2wire.net



Re: Operation not permitted error when using su

2013-07-04 Thread Stephen Powell
Sun, 30 Jun 2013 02:09:35 -0400 (EDT), Bob Proulx wrote:
 
 Stephen Powell wrote:
 ...logged in as root...
su barney
vi stuff
Error: messages not turned on: /dev/pts/0: Operation not permitted
 
 The above is basically a normal result of the current environment.  At
 another level it is a bug in nvi.  I suggest that you understand it
 and then ignore it.  Or jump into the nvi code and fix it.
 
 There are two issues.  First is that root needs to protect itself
 against attacks against its smart terminal.  Therefore messages?
 will be off by default for root.  What does that mean?  It means the
 ability of processes to send text to the terminal.  Processes may be a
 biff mail notification program saying you have mail.  Or it may be
 a user trying to write(1) (old Unix IM program) to your terminal.
 Or it may be a local user (think student on a multiuser university
 system) trying to crack into your terminal by sending smart terminal
 escape sequences.  (Most terminals have those disabled these days for
 security surrounding this issue too.  Because even for non-root smart
 terminal attacks is still an issue.)
 
 Non-Root User:
   $ ls -l /dev/pts/23
   crw--w 1 rwp tty 136, 23 Jun 29 19:02 /dev/pts/23
 
 Root User:
   $ ls -l /dev/pts/11
   crw--- 1 root tty 136, 0 Jun 29 19:00 /dev/pts/11
 
 Or in the old days on other systems I recall it being world writable
 by other too.  But that may be an incorrect memory.
 
 For root the standard is that no one else can write(1) to the
 terminal.  (And probably talk and others too.)  See the man page for
 mesg(1) for a small amount of additional information.  It was common
 in the old days to see mesg n in root's dot profile file.
 
   man mesg
 
 So back to your problem...  You are starting from a /dev/pts/X that is
 owned by root and is not otherwise writable.  That is good.  Safe from
 various attacks.  That is what you want.
 
 But then the second issue comes into play.  You are using su to switch
 user to a non-root user.  After you have switched to that user the pty
 hasn't changed.  That is intentional due to the security risk nature
 of root.  But it means that the non-root user processes can't make
 changes to the tty device.
 
 Now is where the nvi bug/misfeature comes into play.  There really
 isn't any reason for nvi to need to touch the pty.  In my opinion it
 should do nothing to it by default.  Emacs doesn't touch the pty.  If
 you try your test case with emacs there will be no error printed.  Nor
 with vim.  This is only a problem in the nvi program.  Why?  Because
 it is trying to do too much.
 
 What the nvi program is trying to do is to turn off messages to the
 terminal while it is running.  It is trying to prevent other local
 users from using write(1) to you while you are editing.
 
   man nvi
 
mesg [on]
   Permit messages from other users.
 
 In order to prevent messages from other users it tries to run chmod on
 your pty device.  This can be seen with strace.
 
   $ strace -v -e chmod -o /tmp/nvi.strace.out nvi .bashrc
   $ cat /tmp/nvi.strace.out
   chmod(/dev/pts/0, 020620) = -1 EPERM (Operation not permitted)
   chmod(/var/tmp/vi.recover/vi.ryTzPt, 0700) = 0
   chmod(/dev/pts/0, 020600) = -1 EPERM (Operation not% 
 permitted)
 
 And those chmod's are the source of the messages that you are seeing.
 The only way to fix this is to patch the nvi source code to avoid the
 chmod calls.
 
 Basically I ignore the errors.  The file is edited successfully
 anyway.  It is just noise.  Annoying.  But since I know what is
 happening and I only do that a very few times I just ignore it.
 
 This would be a reasonable issue to submit as a bug against nvi.
 However there are worse problems with nvi.  See Bug#497342 which has
 been around for years which is much more annoying.  Filing bugs is
 easy but if no one is around to fix them then it doesn't do much
 good.  But this is a valid bug in my opinion.  Though much less of a
 problem than Bug#497342 which is very annoying.  Especially since the
 previous version 1.79 of nvi didn't have it.  But that is a different
 story.
 
 Hope this explanation helps!
 Bob

Thank you, Bob, for that detailed explanation.  I'm not starting out
as root though.  I'm starting out as fred (Applications - Utilities -
Terminal, in the latest version of Gnome under Jessie, while logged
in to the graphical desktop as fred), then doing a direct su to barney.
(Those user ids were chosen for illustrative purposes only, they are not
the actual user ids that I am using.)  The basis of your explanation
is sound though.  barney does not have the authority to issue chmod
against a file (/dev/pts/0) owned by fred.  Even if the file permissions
themselves gave barney permission to write to the file (crw-rw-rw-),
that's different from permission to change the file *attributes*.  When
doing an su to root the problem does not occur because root has
ex-officio permission to issue

Re: How do I pad files in Linux?

2013-07-04 Thread Stephen Powell
On Mon, 01 Jul 2013 02:59:40 -0400 (EDT), Urs Thuermann wrote:
 
 dd if=/dev/zero bs=1 count=64  file

Thanks, Urs.  I haven't tried this, but it looks like this should work too.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/548375498.2015945.1372936609846.javamail.r...@md01.wow.synacor.com



Re: Help - Gnome Died After Update/Upgrade

2013-07-03 Thread Stephen Allen
On Tue, Jul 02, 2013 at 05:10:33PM +0200, Steven Post wrote:
 On Tue, 2013-07-02 at 07:59 -0700, Mark Phillips wrote:
  I have been running Debian testing on my laptop for several years. I
  performed a routine update/upgrade on Sunday, and I seem to have
  lost gnome. At first, I could not log in, but I got that fixed.
  However, when I log in, all I get is my wallpaper. No favorites on the
  left, no window docks (not sure of the terminology here) on the right,
  no taskbar at the top, etc. Just a wall paper. I also get an error
  message No system tray detected, unable to start. However, I traced
  that back to an hp printer service, so I don't think it is relevant.
  
  I have tried uninstalling/installing gnome, but no change. I tried
  creating an new user and logging in with that user, and I get the same
  situation - but the default wall paper and not my personal one. I have
  run several update/upgrade and update/dist-upgrades since Sunday, and
  no change. I have looked through the 'net to find solutions, and I am
  not getting anywhere.
  
 [...]
 
 Multiple people seem to have this issue, including me. The problem is
 solved in gnome-shell from unstable, you can either wait until it
 migrates to testing (in 1 or 2 days I guess, judging from the QA page
 [1]) or you can install from unstable with aptitude install -t unstable
 gnome-shell (no quotes). Make sure you have unstable in your
 sources.list file. Just be careful not to upgrade your whole system to
 unstable, but only that package.
 
 Regards,
 Steven


---end quoted text---

FYI

Updated my Testing/Jessie laptop this morning. It appears Gnome-Shell is
now launching correctly with menus etc.



-- 
Cheers,
Stephen, Toronto
My Google+ Profile | http://goo.gl/JbQsq


-- 
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/20130703234936.ga12...@thunkpad.gateway.2wire.net



Re: Gnome3 HS after update

2013-07-02 Thread Stephen Allen
On Sun, Jun 30, 2013 at 12:59:51PM +0200, Jean-Marc wrote:
 Hi everybody,
 
 I updated my jessie and Gnome3 does not start anymore.
 Actually, it starts but I never got any menu.
 
 Do other people got the same ?
 
 -- 
 Jean-Marc jean-m...@6jf.be


---end quoted text---

Yup same here, installed Cinnamon until things are sorted. Actually
enjoying the improvements to Cinnamon since last used.

-- 
Cheers,
Stephen, Toronto
My Google+ Profile | http://goo.gl/JbQsq


-- 
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/20130702115501.ga8...@thunkpad.gateway.2wire.net



Re: [SOLVED] Gnome3 HS after update

2013-07-02 Thread Stephen Allen
On Tue, Jul 02, 2013 at 01:15:48PM +0800, Stephane Duchesne wrote:
 Noticed the same Gnome3 behaviour in Jessie.  Gnome started but without 
 statusbar and
 without window decorations.
 Gnome Classic works fine.
 
 Expect Jessie to be a bumpy ride, #gnome-next on oftc suggests. 
 Especially if you are running Gnome, and at least until all 3.8.x components 
 have percolated into Jessie, I reckon.  
 
 Gnome-shell in Sid is now 3.4.2-10 and working absolutely fine, indeed.  I 
 might
 stick with Sid for a while.  
 
 There's still quite a few crucial components to go: 
 http://www.0d.be/debian/debian-gnome-3.8-status.html
 
 Seems it is all coming together nicely, though.  

---end quoted text---

Thanks for the update -- Using Cinnamon until 3.8 percolates to Jessie.

-- 
Cheers,
Stephen, Toronto
My Google+ Profile | http://goo.gl/JbQsq


-- 
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/20130702115707.gb8...@thunkpad.gateway.2wire.net



How do I pad files in Linux?

2013-06-29 Thread Stephen Powell
I have a need to pad a binary file with some character
(probably a null character) so that its total length
is a multiple of some number.  For example, I have a file
called kernel.debian, whose size is 6319616 bytes.  I need
to pad it with nulls until its length is a multiple of 80.
The next higher multiple of 80 is 6319680, which can be
obtained by padding the file with 64 null characters.
In CMS, the FBLOCK CMS Pipelines stage will do the trick.
For example,

   PIPE  KERNEL DEBIAN A1 | FBLOCK 80 00 |  KERNEL1 DEBIAN A1 F

This will create an output file with fixed-length 80-byte
records, padded as necessary at the end with null characters,
so that all records are exactly 80 bytes long.

I am looking for a way to do this padding in Linux.
A search of the internet using the keywords pad file Linux
did not seem to produce any useful results.  Does anyone know
how to accomplish this? 

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/173555076.1944854.1372523652842.javamail.r...@md01.wow.synacor.com



Re: How do I pad files in Linux? (SOLVED)

2013-06-29 Thread Stephen Powell
On Sat, 29 Jun 2013 13:19:22 -0400 (EDT), Tixy wrote:
 
 On Sat, 2013-06-29 at 12:34 -0400, Stephen Powell wrote:
 
 I have a need to pad a binary file with some character
 (probably a null character) so that its total length
 is a multiple of some number.  For example, I have a file
 called kernel.debian, whose size is 6319616 bytes.  I need
 to pad it with nulls until its length is a multiple of 80.
 The next higher multiple of 80 is 6319680, which can be
 obtained by padding the file with 64 null characters.
 In CMS, the FBLOCK CMS Pipelines stage will do the trick.
 For example,
 
PIPE  KERNEL DEBIAN A1 | FBLOCK 80 00 |  KERNEL1 DEBIAN A1 F
 
 This will create an output file with fixed-length 80-byte
 records, padded as necessary at the end with null characters,
 so that all records are exactly 80 bytes long.
 
 I am looking for a way to do this padding in Linux.
 A search of the internet using the keywords pad file Linux
 did not seem to produce any useful results.  Does anyone know
 how to accomplish this? 
 
 truncate -s %80 FILENAME
 
 Will pad with zero's to round size up to a multiple of 80.

Thank you, Tixy, that's exactly what I wanted to know!
I knew that there must be a way to do this, but I couldn't
figure out how.  By the way, I also tried the command

   apropos pad

But it didn't yield any useful results either.

   truncate

Who would have thought?  That would appear to be the opposite
of what I want to do.  I want to pad, not truncate.  But
truncate can also pad.  How about that!  Thanks again!

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1952171005.1945999.1372529697239.javamail.r...@md01.wow.synacor.com



Re: How do I pad files in Linux?

2013-06-29 Thread Stephen Powell
On Sat, 29 Jun 2013 14:23:51 -0400 (EDT), Stan Hoeppner wrote:
 On 6/29/2013 12:19 PM, Tixy wrote:
 
 truncate -s %80 FILENAME
 
 Will pad with zero's to round size up to a multiple of 80.
 
 That'll teach me to read all posts before replying.  Question:
 
 Does this append ASCII zeros to the end of the file, or nulls?  Stephen
 asked for nulls, and you state zero's above.

It appends hex zeros (0x00), or nulls.  Also known as ^@ characters.
The ASCII zero is 0x30.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/75239159.1946418.1372533440767.javamail.r...@md01.wow.synacor.com



Operation not permitted error when using su

2013-06-29 Thread Stephen Powell
I have discovered a problem recently when using su to switch to a user
other than root on a Gnome Terminal session.  Let's say I login to the
graphical desktop using a userid of fred.  When I launch a Gnome
Terminal session, I'm automatically logged in as fred.  Now, let's
suppose I switch to user barney by using

   su barney

After entering the password for user barney, my userid changes to
barney in that session.  (whoami reports barney.)  I then change
to barney's home directory with cd, issued with no operands.  Now,
certain commands will cause error messages to the terminal.  For example,
if I issue

   vi stuff

Then exit vi with :q, I am back to another shell prompt, but there is an
error message on the screen which looks like this:

   Error: messages not turned on: /dev/pts/0: Operation not permitted

(vi is actually nvi on my system.)
This problem does not occur in a virtual terminal (vt1-vt6).  It also
does not occur if I switch to root, instead of a non-root user.

A search of the internet seemed to suggest that the problem was the
presence of biff y in a bash profile.  However, I have looked, and
I cannot find biff y specified in any bash-related file.  (I am running
jessie.)  In fact, the biff package is not even installed.  Ideas anyone?

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/402356644.1946777.1372536041381.javamail.r...@md01.wow.synacor.com



Re: Operation not permitted error when using su

2013-06-29 Thread Stephen Powell
On Sat, 29 Jun 2013 16:07:54 -0400 (EDT), David Guntner wrote:
 
 Stephen Powell grabbed a keyboard and wrote:
 
Error: messages not turned on: /dev/pts/0: Operation not permitted
 
 (vi is actually nvi on my system.)
 This problem does not occur in a virtual terminal (vt1-vt6).  It also
 does not occur if I switch to root, instead of a non-root user.
 
 A search of the internet seemed to suggest that the problem was the
 presence of biff y in a bash profile.  However, I have looked, and
 I cannot find biff y specified in any bash-related file.  (I am running
 jessie.)  In fact, the biff package is not even installed.  Ideas anyone?
 
 Since it's complaining about messages not being turned on, try mesg y
 and see if that helps.

I just tried that.  mesg y produced no output and no error messages, but
a subsequent execution of vi produced the same error on exit as before.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/644172295.1946934.1372537018465.javamail.r...@md01.wow.synacor.com



Re: Operation not permitted error when using su

2013-06-29 Thread Stephen Powell
On Sat, 29 Jun 2013 16:26:56 -0400 (EDT), David Guntner wrote:
 
 No, it won't output a message when you set it y or n.  Not sure I
 understand why vi is doing something that needs a messages channel
 turned on.  And it's kind of hard to guess without seeing actual output. :-)
 
 You said you had done some su commands before invoking vi, if I recall
 correctly.  Did you try doing the mesg y command at the initial login
 point, before su'ing to the user where you're trying to run vi?

Yes, I tried that too.  No difference.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/7449658.1947240.1372538833179.javamail.r...@md01.wow.synacor.com



Re: the continuing disappointment of Debian 7

2013-06-29 Thread Stephen Powell
On Sat, 29 Jun 2013 18:07:14 -0400 (EDT), Jeff Shearer wrote:
 
 Iceweasel crashes all the time and cannot play flash

I'm sorry things aren't working well for you, but that has not
been my experience.  I'm running jessie now, but I was running
wheezy for a long time, and your experience does not match my
experience.  For me, iceweasel never crashed (except for a
power failure, which is hardly Debian's fault), and flash
played just fine.  (Of course, I was using flash-plugin-nonfree,
not the default free player.)

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1918330956.1947914.1372544285762.javamail.r...@md01.wow.synacor.com



Re: Operation not permitted error when using su

2013-06-29 Thread Stephen Powell
On Sat, 29 Jun 2013 18:39:32 -0400 (EDT), Chris Bannister wrote:
 
 Is there a difference if you  su - barney ?

No, there is no difference.  I still get the same error.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1462006945.1948292.1372547161473.javamail.r...@md01.wow.synacor.com



Re: GNOME 3 non-responsive?

2013-06-24 Thread Stephen Allen
On Sun, Jun 23, 2013 at 05:02:39PM +0100, MRH wrote:
 Hi,
 
 I run Debian wheezy/sid. After recent updates (resulting in mix of
 GNOME 3.4 / 3.8 the new gnome shell has became unresponsive. I mean
 I can log in, but then there is no top panel, no window top frames
 (so I cannot minimise / close windows), I cannot access windows /
 activities. To log off I need to use Alt-F2 and run
 gnome-session-quit, or just kill a session from a console.
 
 gnome-classic works though.
 
 Anyone else has experienced that problem, is it 'fixable' at the
 moment, or do I need to wait for some further sid updates?
 
 PS. I know, I run sid, so I'm not winging, but would be nice if
 there was a solution :)
 
 Kind regards,
 Michal

---end quoted text---

You probably were too hasty to do the upgrade. FWIU the transition to
Gnome 3.8 is ongoing and probably not finished. Wait a few days and try
again.

-- 
Cheers,
Stephen, Toronto
My Google+ Profile | http://goo.gl/JbQsq


-- 
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/20130624092202.ga30...@thunkpad.gateway.2wire.net



Debian Testing/Jessie

2013-06-24 Thread Stephen P. Molnar
I have installed 64 bit Testing on my laptop in an Oracle VB as a test
bed.

I used Debian-testing-amd64-netinst.iso Binary 1 20130623-09:47 and
installed the linux-image-3.9.1-amd6 kernel and all available drivers.

The installation went very smoothly, but when I ran dpkg
--add-architecture i386 as root, although I did not get any errors
or warnings, it did not appear in Synaptic when I rebooted the system.

I need some i386 libraries in order to be able to use some of my
computational chemistry programs.

I would appreciate any pointers in the right direction to solve this
problem.

Thanks in advance.


-- 
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/20130624115501.2734c...@inga.att.net



Re: Debian Testing/Jessie

2013-06-24 Thread Stephen P. Molnar
On Mon, 24 Jun 2013 17:10:49 +0100
Darac Marjal mailingl...@darac.org.uk wrote:

 On Mon, Jun 24, 2013 at 11:55:01AM -0400, Stephen P. Molnar wrote:
  I have installed 64 bit Testing on my laptop in an Oracle VB as a
  test bed.
  
  I used Debian-testing-amd64-netinst.iso Binary 1 20130623-09:47 and
  installed the linux-image-3.9.1-amd6 kernel and all available
  drivers.
  
  The installation went very smoothly, but when I ran dpkg
  --add-architecture i386 as root, although I did not get any errors
  or warnings, it did not appear in Synaptic when I rebooted the
  system.
 
 You didn't need to reboot, but you do need to update your package
 lists (whatever the Synaptic equivalent of 'apt-get update' is).
 

Thank for your answer.  Actually, I reload the package lists before
running.


-- 
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/20130624125926.38e55...@inga.att.net



Fw: Debian Testing/Jessie

2013-06-24 Thread Stephen P. Molnar


Begin forwarded message:

Date: Mon, 24 Jun 2013 11:55:01 -0400
From: Stephen P. Molnar s.mol...@sbcglobal.net
To: debian-user debian-user@lists.debian.org
Subject: Debian Testing/Jessie


I have installed 64 bit Testing on my laptop in an Oracle VB as a test
bed.

I used Debian-testing-amd64-netinst.iso Binary 1 20130623-09:47 and
installed the linux-image-3.9.1-amd6 kernel and all available drivers.

The installation went very smoothly, but when I ran dpkg
--add-architecture i386 as root, although I did not get any errors
or warnings, it did not appear in Synaptic when I rebooted the system.

I need some i386 libraries in order to be able to use some of my
computational chemistry programs.

I would appreciate any pointers in the right direction to solve this
problem.

Thanks in advance.


-- 
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/20130624115501.2734c...@inga.att.net

Wonder of wonders, suddenly I have multi-architecture!


-- 
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/20130624133319.4f6f6...@inga.att.net



Re: Debian is the best!

2013-06-20 Thread Stephen Powell
On Thu, 20 Jun 2013 11:09:27 -0400 (EDT), Dirk wrote:
 
 how does grub boot a kernel better than lilo?
 
 this is all [expletive deleted]... the linux community is now full of people 
 who 
 speak like some marketing shills...
 
 freedesktop reinvents windows badly..
 
 and now people are talking themselves into that they need features 
 /before/ the OS kernel has been loaded... so much [expletive deleted] fail...
 
 if i was younger and still more caring it would really hurt to see this 
 [expletive deleted]...
 
 we live in the age of aggressive reputation management now... forums and 
 mailing lists have become cancers..
 
 [expletive deleted] you all

I understand your frustration.  However, the use of foul language on
Debian mailing lists is prohibited.  Please refrain from using it.  See

   http://www.debian.org/MailingLists/#codeofconduct

If you have had it with grub2 and wish to switch back to lilo, see
my lilo web page at

   http://users.wowway.com/~zlinuxman/lilo.htm

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1992172927.1807993.1371770150034.javamail.r...@md01.wow.synacor.com



Re: shutdown and restart menu item disappeared from user menu

2013-06-09 Thread Stephen Allen
On Sun, Jun 09, 2013 at 04:38:40AM -0400, A Fascilla wrote:
 
 Kailash wrote: 
 
 You can install gnome-shell-extensions and you should have the power off 
 option available.
 https://extensions.gnome.org/
 
 Now I have understood it is the Alternative Status Menu extension
 
 https://extensions.gnome.org/extension/5/alternative-status-menu/
 
 and can be enable  or disabled from the link above or from
 
 https://extensions.gnome.org/local/
 
 (I write this here so that who has the same problem can easily find how to 
 make the change.)
 
 
 I have to conclude that I had it always been installed  (since transition 
 from squeeze) and I had never realized that what I see was not the normal 
 plain gnome.
 
 I am pretty sure I have not turned it off, so it is a little strange that the 
 menu changed (the only thing I remember I have done was to use the suspend 
 function, while I usually use the shutdown).
 
 I have struggled to look in the gnome options, but with no luck. And now I 
 can understand the reason: it is an extension not an option.
 Thank you very much, Kailash, this solve the mystery ...
 and many thanks to Antti too

If you install the Advanced Settings panel (Google for it re
Gnome-Shell) you can enable/disable all installed Gnome-Shell
extensions.

I love Gnome-Shell -- Didn't at first, but it grows on you. :)
 
 Sincerely,
 
 Andrea Fascilla
 
 

-- 
Cheers,
Stephen, Toronto
My Google+ Profile | http://goo.gl/JbQsq


-- 
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/20130609113811.ga10...@thunkpad.gateway.2wire.net



Re: Remove Evolution

2013-05-28 Thread Stephen Allen
On Mon, May 27, 2013 at 02:42:40PM +0100, Joe wrote:
 On Sun, 26 May 2013 20:14:49 -040
 
  I use aptitude from my shell, just not interactively. ;)
  
 
 Here's a tip I discovered yesterday, after having yet another go at
 making sense of the idiocies it was proposing. I use LibreOffice, for
 example, but it wanted to install OpenOffice, some of a total of 125 new
 packages I neither want nor need.
 
 If you've never actually used aptitude interactively in anger, your New
 Packages number may be large, possibly tens of thousands, and this
 appears to be the source of its insanity. Go to the Action menu, and
 Forget New Packages. Suddenly, my aptitude was sane and got on with the
 job in hand, which was just as well as a new Synaptic had started
 freezing X, and I really wasn't keen on fixing the current log-jam with
 apt-get. This is sid, by the way, which is currently an interesting
 place to be.

I bet -- Used to run SID myself once upon a time. Thanks for the tip. :)

-- 
Cheers,
Stephen, Toronto
My Google+ Profile | http://goo.gl/JbQsq


-- 
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/20130528102526.ga17...@thunkpad.gateway.2wire.net



Re: Handbrake Installation removes a lot

2013-05-28 Thread Stephen Allen
On Mon, May 27, 2013 at 12:12:04PM -0500, green wrote:
 Stephen Allen wrote at 2013-05-26 20:00 -0500:
  Was about to install Handbrake for Wheezy, but stopped when I saw the
  list of packages that were going to be removed. Screengrab here on my
  public dropbox fldr: http://goo.gl/Oow9T
  
  What the hell, kind of strange it wants to remove my chat clients and
  this other stuff.
  
  Expected behaviour? Thanks.
 
 Yes, if you are using handbrake from experimental.
 
 Aptitude's interactive dependency resolver is very useful for this.
 You can mark handbrake as manually installed, then press `e` and
 eg. reject (`r`) the proposed removal of the cheese package and `.` to
 go to the next suggested resolution.  Though probably handbrake has
 some dependency not compatible with installed packages, so there may
 be not acceptable solution without finding a backport or compiling
 yourself.
 
 http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s02s04.html

Damn! Forgot that I had experimental in my sources. Thanks Green, I'll
remove experimental and retry.

Sorry for the noise.

-- 
Cheers,
Stephen, Toronto
My Google+ Profile | http://goo.gl/JbQsq


-- 
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/20130528102926.gb17...@thunkpad.gateway.2wire.net



<    3   4   5   6   7   8   9   10   11   12   >