Re: Install MSWindz 7 as Virtual Machine on Debian 8

2015-11-10 Thread Himanshu Shekhar
As far as Windows 7 is concerned, I have used it on my laptop in
VirtualBox, with 1 of total 4 gb ram, and I can assure that t works
flawlessly.
I can't say anything about Windows 10 as I haven't given it a try on
Virtualbox, but Windows 7 does work well.

Good luck
Himanshu Shekhar


Re: Install MSWindz 7 as Virtual Machine on Debian 8

2015-11-10 Thread basti
I run some MS Server 2008 (R2) and some Win7 Hosts in KVM/Qemu since
years staring with Debian 6. 8 Weeks ago I upgrade the Host (Hypervisor)
to Debian 8 without any Problems.

A quick and dirty explanation I found here
http://serverfault.com/questions/631317/windows-7-as-kvm-guest-installation-with-virtio-drivers-detected-virtio-scsi-d


An other one in German
http://www.accso.de/wp/2012/07/windows-7-auf-kvm-mit-debian-6/

If you will use virtio drivers in windows you need virtio-driver
https://fedoraproject.org/wiki/Windows_Virtio_Drivers

Regards,
Basti


Am 10.11.2015 um 09:05 schrieb Himanshu Shekhar:
> As far as Windows 7 is concerned, I have used it on my laptop in
> VirtualBox, with 1 of total 4 gb ram, and I can assure that t works
> flawlessly.
> I can't say anything about Windows 10 as I haven't given it a try on
> Virtualbox, but Windows 7 does work well.
>
> Good luck
> Himanshu Shekhar



Re: Install MSWindz 7 as Virtual Machine on Debian 8

2015-11-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Nov 10, 2015 at 09:35:53AM +0100, basti wrote:
> I run some MS Server 2008 (R2) and some Win7 Hosts in KVM/Qemu since
> years staring with Debian 6. 8 Weeks ago I upgrade the Host (Hypervisor)
> to Debian 8 without any Problems.

Not a heavy user here, but also happy with KVM/Qemu. Thanks for the
links, btw!

- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZBsCQACgkQBcgs9XrR2kbneACfckaYMWJUKBv6gqqHD1u/hE+S
w48An0eBWJtyx9MirIle7JJHb6YFrzuU
=Gq+P
-END PGP SIGNATURE-



Re: I think I've found a kernel/sound driver bug

2015-11-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

(I'm CC'ing you because I don't know whether you are subscribed to the
list)

On Mon, Nov 09, 2015 at 10:48:45PM +, Patrick May wrote:
> Hello,
> 
> I think I've found a bug in a sound driver (snd-cs46xx) which causes a
> kernel panic when several sounds are played using the aplay command.

[1] and [2] are relevant here.

If you do an "dpkg -S snd-cs46xx", you can find out which package this
file comes from:

  tomas@rasputin:~$ dpkg -S snd-cs46xx
  linux-image-3.2.0-3-amd64: 
/lib/modules/3.2.0-3-amd64/kernel/sound/pci/cs46xx/snd-cs46xx.ko

Not surprising: it's part of the kernel (your version numbers will
almost surely be different). First, have a look at the bugs filed
against your kernel package. Ref [2] has a form which lets you do
that. If you don't find anything relevant, you can go on with reportbug:

> I tried to report this using reportbug, but I didn't know what package
> name to enter, so I'm contacting this address as directed by the
> reportbug instructions.
> 
> What should I do next?

Now I think you know your package and can invoke reportbug :-)

Hope this helps. Just ask if something's missing

regards
 - - - - - - - -

[1] https://www.debian.org/Bugs/Reporting
[2] https://www.debian.org/Bugs/

- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZBtTwACgkQBcgs9XrR2kZGdACfWjBgSRn8NBcvk2WFx3ysqVTf
SssAn11oho38lhFmp6RfeXuKfKoo6TyF
=MkYd
-END PGP SIGNATURE-



Re: umask for GUI applications?

2015-11-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Nov 10, 2015 at 08:27:26AM +0200, Tapio Lehtonen wrote:
> Is there a documented or supported way to set umask for GUI
> applications in Debian GNU/Linux?
> 
> I have project directory, where directories have +s and files and
> directories are group onwed by the project group. Users have umask set
> in .bashrc and creating files from command line creates the desired
> file permissions. But GUI applications, LibreOffice for example, do
> not use that umask and I must every now and then chmod -R g+w the
> project tree. 

I'd expect this to be the job ow whatever session manager you are
afflicted with. For example, if you're "on" Gnome, I'd look into
.gnomerc; I don't know whether Freedesktop has come up with a common
theme for that.

For desktopless users (like me, Fvwm), the "classic" X session mechanism
applies, rooted in /etc/X11/Xsession.

Regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZBt1oACgkQBcgs9XrR2kbWaQCffG48VrFDfJvb+rqY36e10G7P
4hMAnjDKBjYe5qCATCGmBacauKYjN0YW
=vctH
-END PGP SIGNATURE-



Re: Where is digikam?

2015-11-10 Thread maderios

On 11/09/2015 06:38 PM, Matthias Bodenbinder wrote:

Hi,

I see digikam in unstable for a very long time now. But it is not coming to 
testing. Why is that? Wasnt the push to testing supposed to be an automatic 
process? Or does digikam in unstable still have critical bugs? What is the 
reason for the delay?

Matthias


Hi
'Old' Digikam-4.4 is in Sid but  uninstallable.
Last Digikam 4.13 or 4.14 is uninstallable too, due to dependancies problem.
https://tracker.debian.org/pkg/digikam
https://qa.debian.org/developer.php?email=pkg-kde-extras%40lists.alioth.debian.org
New Digikam Qt5 based will be released next spring
https://www.digikam.org/about/releaseplan
https://www.digikam.org/download?q=download/GIT
--
Maderios



Re: Re: An UML editor for Linux

2015-11-10 Thread Vader



— could you please recommend me some decent UML editor for Linux?



I've been using umbrello for basic stuff - If you want to draft application
components and get basic set of classes generated.
I checked umbrello in KDE4+ and i improved, though for official commercial
use I would not recommend it.


Why not for official/commercial use?


There is UML support in Eclipse as well.


That's interesting. Thanks. I see, there is the UML Designer — free and good 
looking. Seems very promising.

Piyavkin




Installation

2015-11-10 Thread Christophe M
Bonjour

Je voudrais savoir qu'elle version de Debian je peux installer sur un Asus
Z53J, car après plusieurs essais la vidéo est correcte au départ mais quand
l'installation et fini je ne vois que des traits sur l'écran. Je pense que
c'est un pb du driver pour ma vidéo.

Dans l'attente  cordialement


Debian 8.1 ext4 directory sizes

2015-11-10 Thread Thomas Schmitt
Hi,

i am riddling about the size of directories in Jessie's ext4,
as listed with ls -ld. They always grow and never shrink, even
if they become completely empty. My record holder had 7.5 MB,
currently i am having an empy one of 1.5 MB.

Command mount reports
  /dev/sd... on /... type ext4 (rw,relatime,data=ordered)

Processing times of programs which interpret the directory
content are very long, as if the directories would contain
tenthousands of files (which they probably once did).
My extreme specimen all have the job to buffer large numbers
of files until they get processed and deleted.


Is this a known property of ext4 directories ?

If so: Are there other means to shrink them except rmdir ?

I read about a hash tree in
  https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Directory_Entries
but this text does not say that such a tree cannot shrink.
Does anybody know how to inquire inode properties like
EXT4_INDEX_FL ?


Have a nice day :)

Thomas



Re: Debian 8.1 ext4 directory sizes

2015-11-10 Thread Eduardo M KALINOWSKI

On Ter, 10 Nov 2015, Thomas Schmitt wrote:

i am riddling about the size of directories in Jessie's ext4,
as listed with ls -ld. They always grow and never shrink, even
if they become completely empty.

Is this a known property of ext4 directories ?


Yes, and also of its predecessors ext2 and ext3.


If so: Are there other means to shrink them except rmdir ?


There's the -D option for fsck that optimizes directories, this should  
make them return to the smallest size, but the filesystem must be  
unmounted.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Installation

2015-11-10 Thread Richard Owlett

On 11/10/2015 6:56 AM, Christophe M wrote:

Bonjour

Je voudrais savoir qu'elle version de Debian je peux installer
sur un Asus Z53J, car après plusieurs essais la vidéo est
correcte au départ mais quand l'installation et fini je ne vois
que des traits sur l'écran. Je pense que c'est un pb du driver
pour ma vidéo.

Dans l'attente  cordialement



If you are more comfortable in French, you may wish to consider
https://lists.debian.org/debian-user-french/ .



Re: Debian 8.1 ext4 directory sizes

2015-11-10 Thread Thomas Schmitt
Hi,

Eduardo M KALINOWSKI wrote:
> Yes, and also of its predecessors ext2 and ext3.

Thanks for the info.

As i failed to find it myself: Do you know a link or man page
where this is specified ?

After all it imposes massive performance penalties which made
me suspicious on the first hand. Does nobody else complain ?

What do the big guys use instead ?
(I used Reiser FS for the last years. My older ext2 instances
 never had to stand that workload.)


> There's the -D option for fsck that optimizes directories, this should make
> them return to the smallest size, but the filesystem must be unmounted.

Thanks again.
It would last a while to find all pwd pointing into it,
but elsewise it is a mere data partition and could be
umounted without reboot.


Have a nice day :)

Thomas



Re: Debian 8.1 ext4 directory sizes

2015-11-10 Thread Dan Ritter
On Tue, Nov 10, 2015 at 04:36:56PM +0100, Thomas Schmitt wrote:
> Hi,
> 
> Eduardo M KALINOWSKI wrote:
> > Yes, and also of its predecessors ext2 and ext3.
> 
> Thanks for the info.
> 
> As i failed to find it myself: Do you know a link or man page
> where this is specified ?
> 
> After all it imposes massive performance penalties which made
> me suspicious on the first hand. Does nobody else complain ?

You have several options:

1. Enable the following features on your ext4 fs:

- dir_index
- extent

these are probably both on by default.

2. When you make gigantic directories and later empty them,
   delete them. Re-create them when you need them.

3. Use btrfs or ZFS (these both have advantages and
   disadvantages and are not to be entered into lightly.

The size of the directory inode structures is not excessive; you
really need that to handle lots of files, and it dynamically
grows. The fact that it does not dynamically shrink is,
generally, a feature.

-dsr-



Re: Install MSWindz 7 as Virtual Machine on Debian 8

2015-11-10 Thread Patrick Bartek
On Tue, 10 Nov 2015, Alan Chandler wrote:

> On 10/11/15 01:47, Patrick Bartek wrote:
> > On Mon, 09 Nov 2015, Alan Chandler wrote:
> >
> >> On 09/11/15 18:58, D&P Dimov wrote:
> >>> I need to install MS Windows 7 as a Virtual Machine on a computer
> >>> that is running Debian 8. To do that, I'd like to use software
> >>> that is not proprietory (I know, I know - this may sounds a bit
> >>> ridiculous...). This Debian page:
> >>> https://wiki.debian.org/SystemVirtualization recommends Qemu, KVM,
> >>> VirtualBox, and Zen. Does anyone have recommendations for which
> >>> one is easiest to install for a novice? I tried the first one,
> >>> Qemu, but didn't really find a good guide how to install MS Win 7
> >>> with it. Thanks!
> >> Up until last April, I ran Windows 7 under virtual Box on my Debian
> >> machine for my daily work almost every day for about 2 years.  I
> >> have cut down now to one day a week, and generally do that on a
> >> Macbook Air, also running Virtual Box.  It worked perfectly.
> >>
> >> I updated to Windows 10, through the upgrade program, and that was
> >> a little dodgy until I updated Virtual Box to version 5 and
> >> removed 3d Video acceleration.
> >>
> >> The only issue to be careful of, is that the drivers get properly
> >> rebuilt when the linux kernel changes.
> >>
> > Installing dkms (Dynamic Kernel Modules Support) and the appropriate
> > kernel headers will take care of that auto-magically.  Never had it
> > fail.  Of course, you  need the gcc compiler and its related files,
> > too.
> >
> > Also, I'd suggest the OP download VirtualBox directly from their web
> > site, and NOT from the Debian Repo.  When you do the former, the
> > VirtualBox repo automatically is set up and configured.
> >
> > B
> >
> >
> 
> I have switched back and forth between the virtual box debian
> repository and the normal repository at various times.  Currently
> using the normal Debian repository (testing), but a few months ago I
> was running Debian stable and trying to get Windows 10 to work and
> had to switch to a more recent release - so then used the virtual box
> one.
> 
> [snip]

I use the VirtualBox repo now simply because it's more up-to-date than
the Debian one.

Originally, the Debian repo versions of VB lacked certain features like
USB support which were consider proprietary code. And so I downloaded
VB directly from their site.  But that's been sorted out now.  I think
VB put all the proprietary stuff on the Extras disk.

B



Re: Debian 8.1 ext4 directory sizes

2015-11-10 Thread Thomas Schmitt
Hi,

Dan Ritter wrote:
> 1. Enable the following features on your ext4 fs:
> - dir_index
> - extent

That would have to happen at mkfs time ?


> these are probably both on by default.

My /etc/mke2fs.conf begins by

  [defaults]
base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr

and later has

ext4 = {
features = 
has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize

How can i inquire whether these features are in effect ?
The memory of my hardware provider, who created the filesystems,
will probably not be of any help after 5 months.


(Somehow my /var/log files are only a few weeks old.
 Where would i set a longer retention time ?)


> 3. Use btrfs or ZFS

I have the latter with Solaris and heartfully hate it.
Not that it would eat data, but its administration is a pain
for the elderly self-admin.


Well, one has to accomodate to modern regressions.
After concurrent SG_IO slowdown and failure of media recognition
with automatic CD tray loading, this is the third blooper.
(None of them is yet proven to be caused by systemd, to my
 big surprise. :))


Have a nice day :)

Thomas



Re: Debian 8.1 ext4 directory sizes

2015-11-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Nov 10, 2015 at 06:49:08PM +0100, Thomas Schmitt wrote:
> Hi,
> 
> Dan Ritter wrote:
> > 1. Enable the following features on your ext4 fs:
> > - dir_index
> > - extent
> 
> That would have to happen at mkfs time ?
> 
> 
> > these are probably both on by default.
> 
> My /etc/mke2fs.conf begins by
> 
>   [defaults]
> base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr
> 
> and later has
> 
> ext4 = {
> features = 
> has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
> 
> How can i inquire whether these features are in effect ?
> The memory of my hardware provider, who created the filesystems,
> will probably not be of any help after 5 months.

I think it is:

  tune2fs -l 

regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZCLygACgkQBcgs9XrR2kaBAACfc4KUL+HpqY0JgrIeSuI/uhRu
lvUAn1Kd3NhEQcQGRgQNqQL5E5auX6xB
=auaI
-END PGP SIGNATURE-



Re: Re: umask for GUI applications?

2015-11-10 Thread Tapio Lehtonen
> I'd expect this to be the job ow whatever session manager you are
> afflicted with. For example, if you're "on" Gnome, I'd look into
> .gnomerc; I don't know whether Freedesktop has come up with a common
> theme for that.

There seems to be no .gnomerc file anywhere.

Display Manager is gdm3. Window manager (or is it session manager?) is
Gnome.


> 
> For desktopless users (like me, Fvwm), the "classic" X session mechanism
> applies, rooted in /etc/X11/Xsession.
> 
> Regards
> - -- tomás

/etc/X11/Xsession would affect all users. Unless there is some stuff
there that executes a script from users home directory.

I am still looking for a documented or supported way to make GUI
applications use the umask I want.

I have tested Libreoffice. When started from terminal window it honors
the umask that is shown with umask -S in there. But started from the GUI
menu it uses some other umask.


Tapio Lehtonen



Re: Re: umask for GUI applications?

2015-11-10 Thread Sven Arvidsson
On Tue, 2015-11-10 at 20:06 +0200, Tapio Lehtonen wrote:
> > I'd expect this to be the job ow whatever session manager you are
> > afflicted with. For example, if you're "on" Gnome, I'd look into
> > .gnomerc; I don't know whether Freedesktop has come up with a
> > common
> > theme for that.
> 
> There seems to be no .gnomerc file anywhere.
> 
> Display Manager is gdm3. Window manager (or is it session manager?)
> is
> Gnome.

There's an ancient bug about gdm overriding umask:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683815

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





signature.asc
Description: This is a digitally signed message part


Re: Re: umask for GUI applications?

2015-11-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Nov 10, 2015 at 08:06:16PM +0200, Tapio Lehtonen wrote:
> > I'd expect this to be the job ow whatever session manager you are
> > afflicted with. For example, if you're "on" Gnome, I'd look into
> > .gnomerc; I don't know whether Freedesktop has come up with a common
> > theme for that.
> 
> There seems to be no .gnomerc file anywhere.
> 
> Display Manager is gdm3. Window manager (or is it session manager?) is
> Gnome.
> 
> 
> > 
> > For desktopless users (like me, Fvwm), the "classic" X session mechanism
> > applies, rooted in /etc/X11/Xsession.
> > 
> > Regards
> > - -- tomás
> 
> /etc/X11/Xsession would affect all users. Unless there is some stuff
> there that executes a script from users home directory.

It's the root. I usually follow the breadcrumbs from there: typically
it sources things from the user directories. That's the mechanism to
allow per-user configuration. As an example, I want a per-user Xmodmap:
in /etc/X11/Xsession.d/80x11xmodmap (which didn't exist) I have:

  # 2015-01-10 tomas: why did they steal my xmodmap?
  # Snarfed from 
  
  # This file is sourced by Xsession(5), not executed.
  
  SYSMODMAP="/etc/X11/Xmodmap"
  USRMODMAP="$HOME/.Xmodmap"
  
  if [ -x /usr/bin/X11/xmodmap ]; then
  if [ -f "$SYSMODMAP" ]; then
  xmodmap "$SYSMODMAP"
  fi
  
  if [ -f "$USRMODMAP" ]; then
  xmodmap "$USRMODMAP"
  fi
  fi

...the rest is in $HOME/.Xmodmap.

Debian ships those things partially disabled (as was the case with
Xmodmap), so I enable them in /etc first and put the relevant per-user
configuration bits in the user's home, of course.

This should work independently of the desktop, AFAIK. But I can't tell
from first-hand experience.

> I am still looking for a documented or supported way to make GUI
> applications use the umask I want.
> 
> I have tested Libreoffice. When started from terminal window it honors
> the umask that is shown with umask -S in there. But started from the GUI
> menu it uses some other umask.

Yes, this is to be expected, since in the former case it inherits the
settings of the shell and in the latter case it inherits whatever the
X session/the desktop environment has.

Regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZCMZkACgkQBcgs9XrR2kYzlQCfUeyhH1HsjXNr3s4UsibaODxH
0SAAn02wWn15eFCHB4k3YXMXO/n8fnIT
=zdpB
-END PGP SIGNATURE-



Re: Re: umask for GUI applications?

2015-11-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Nov 10, 2015 at 07:36:53PM +0100, Sven Arvidsson wrote:

[...]

> There's an ancient bug about gdm overriding umask:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683815

Oh, noes. Now the question is -- is Xsession reloaded after gdm?
If yes, that could still work.

Everytime glad I kicked DEs out long time ago.

Regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZCMoMACgkQBcgs9XrR2kZCAgCeIwLDHSVK9WBbcZwfTBiU9HLw
VrsAn3I5HzmPMe40tQLEnotgCkXm3YSA
=mWwV
-END PGP SIGNATURE-



Re: Debian 8.1 ext4 directory sizes

2015-11-10 Thread Steve McIntyre
Thomas wrote:
>Hi,
>
>Dan Ritter wrote:
>> 1. Enable the following features on your ext4 fs:
>> - dir_index
>> - extent
>
>That would have to happen at mkfs time ?
>
>
>> these are probably both on by default.
>
>My /etc/mke2fs.conf begins by
>
>  [defaults]
>base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr
>
>and later has
>
>ext4 = {
>features = 
> has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
>
>How can i inquire whether these features are in effect ?
>The memory of my hardware provider, who created the filesystems,
>will probably not be of any help after 5 months.

tack:~$ sudo tune2fs -l /dev/dm-1 | grep features
Filesystem features:  has_journal ext_attr resize_inode dir_index filetype 
needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg 
dir_nlink extra_isize

tune2fs has lots of extra information available...

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"Further comment on how I feel about IBM will appear once I've worked out
 whether they're being malicious or incompetent. Capital letters are forecast."
 Matthew Garrett, http://www.livejournal.com/users/mjg59/30675.html



Re: Debian 8.1 ext4 directory sizes

2015-11-10 Thread Thomas Schmitt
Hi,

to...@tuxteam.de wrote:
>  tune2fs -l 

"You can tune a filesystem, but you cannot tune a fish."

It says:

  tune2fs 1.42.12 (29-Aug-2014)
  ...
  Filesystem features:  has_journal ext_attr resize_inode dir_index 
filetype needs_recovery extent flex_bg sparse_super large_file huge_file 
uninit_bg dir_nlink extra_isize
  Filesystem flags: signed_directory_hash 
  Default mount options:user_xattr acl
  ...


Steve McIntyre wrote:
> tack:~$ sudo tune2fs -l /dev/dm-1 | grep features

/dev/dm-1 ? Google ... man dmsetup ... gulp.


Ok. I have features "dir_index" and "extent".
But the directories don't shrink when being emptied.
So proposed option 1 by Dan Ritter does not work for me.

I still wonder for what a 3.8 GHz Xeon needs 2 seconds
when scanning 7.5 MB of invalid directory entries in RAM.


Have a nice day :)

Thomas



i3 Window manager without any other desktop environment

2015-11-10 Thread Dwijesh Gajadur
Hello guys.

I have installed Debian wheezy 7.9 on my PC. I have not installed any
desktop environment during the installation.

After installing debian, I have installed the i3 window manager from the
console. However after restarting the system, i don't get i3. I get the
console.

What should I do to start i3 when the system starts?

I want to use only i3 and not any other desktop environment.

Please help.


With kind regards,

Dwijesh


Re: i3 Window manager without any other desktop environment

2015-11-10 Thread Pete Orrall
> After installing debian, I have installed the i3 window manager from the
> console. However after restarting the system, i don't get i3. I get the
> console.
>
> What should I do to start i3 when the system starts?
>
> I want to use only i3 and not any other desktop environment.

Howdy Dwijesh,

After logging into the console as yourself (not root), what happens
when you type startx  ?

Thanks and I look forward to hearing from you.

-- 
Pete Orrall
p...@cs1x.com
www.peteorrall.com
"If there isn't a way, I'll make one."



Re: i3 Window manager without any other desktop environment

2015-11-10 Thread Brian
On Tue 10 Nov 2015 at 23:57:04 +0400, Dwijesh Gajadur wrote:

> I have installed Debian wheezy 7.9 on my PC. I have not installed any
> desktop environment during the installation.
> 
> After installing debian, I have installed the i3 window manager from the
> console. However after restarting the system, i don't get i3. I get the
> console.
> 
> What should I do to start i3 when the system starts?
> 
> I want to use only i3 and not any other desktop environment.

After the system boots you will get a terminal. Log in and type 'startx'.

What happens?



Re: i3 Window manager without any other desktop environment

2015-11-10 Thread Dwijesh Gajadur
When I type 'startx' it says 'command not found'

On Wed, Nov 11, 2015 at 12:08 AM, Brian  wrote:

> On Tue 10 Nov 2015 at 23:57:04 +0400, Dwijesh Gajadur wrote:
>
> > I have installed Debian wheezy 7.9 on my PC. I have not installed any
> > desktop environment during the installation.
> >
> > After installing debian, I have installed the i3 window manager from the
> > console. However after restarting the system, i don't get i3. I get the
> > console.
> >
> > What should I do to start i3 when the system starts?
> >
> > I want to use only i3 and not any other desktop environment.
>
> After the system boots you will get a terminal. Log in and type 'startx'.
>
> What happens?
>
>


Re: i3 Window manager without any other desktop environment

2015-11-10 Thread Martin Read

On 10/11/15 20:19, Dwijesh Gajadur wrote:

When I type 'startx' it says 'command not found'


Install the 'xorg' package.



Re: i3 Window manager without any other desktop environment

2015-11-10 Thread Dwijesh Gajadur
On Wed, Nov 11, 2015 at 12:23 AM, Martin Read  wrote:
>
>
> Install the 'xorg' package.
>


Yes it worked. After installing Xorg and typing 'startx' , i3 session
started.

That Great ! 😁

Thank you very much all for your quick replies.


With kind regards,

Dwijesh

On Wed, Nov 11, 2015 at 12:30 AM, Dwijesh Gajadur 
wrote:

> On Wed, Nov 11, 2015 at 12:23 AM, Martin Read  wrote:
>>
>>
>> Install the 'xorg' package.
>>
>
>
> Yes it worked. After installing Xorg and typing 'startx' , i3 session
> started.
>
> That Great ! 😁
>
> Thank you very much all for your quick replies.
>
>
> With kind regards,
>
> Dwijesh
>
>


Re: i3 Window manager without any other desktop environment

2015-11-10 Thread Felix Miata
Dwijesh Gajadur composed on 2015-11-11 00:19 (UTC+0400):

> When I type 'startx' it says 'command not found'

startx seems to be owned by the xinit .deb, so your i3 installation must not
have triggered complete, or maybe even any part of, installation of Xorg.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Debian 8.1 ext4 directory sizes

2015-11-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Nov 10, 2015 at 08:19:10PM +0100, Thomas Schmitt wrote:
> Hi,
> 
> to...@tuxteam.de wrote:
> >  tune2fs -l 
> 
> "You can tune a filesystem, but you cannot tune a fish."

Ah, oldies but goldies :-)

> Ok. I have features "dir_index" and "extent".
> But the directories don't shrink when being emptied.
> So proposed option 1 by Dan Ritter does not work for me.

I think those don't shrink directories.

> I still wonder for what a 3.8 GHz Xeon needs 2 seconds
> when scanning 7.5 MB of invalid directory entries in RAM.

This is pretty unfortunate, yes :-(

Seems you'll have to go with re-creating the dir. Or sneak in -D in the
regular file system check, if that's possible.

regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZCTGQACgkQBcgs9XrR2kZ5KgCcCMfQ+9qkz8dIwYZ1xT1F2S1m
v6cAn1gK61S/pNign3+whMs4mOtopRLS
=wqPL
-END PGP SIGNATURE-



Re: i3 Window manager without any other desktop environment

2015-11-10 Thread Dwijesh Gajadur
On Wed, Nov 11, 2015 at 12:23 AM, Martin Read  wrote:
>
>
> Install the 'xorg' package.
>


Yes it worked. After installing Xorg and typing 'startx' , i3 session
started.

That Great ! 😁

Thank you very much all for your quick replies.


With kind regards,

Dwijesh

On Wed, Nov 11, 2015 at 12:30 AM, Dwijesh Gajadur 
wrote:

> On Wed, Nov 11, 2015 at 12:23 AM, Martin Read  wrote:
>>
>>
>> Install the 'xorg' package.
>>
>
>
> Yes it worked. After installing Xorg and typing 'startx' , i3 session
> started.
>
> That Great ! 😁
>
> Thank you very much all for your quick replies.
>
>
> With kind regards,
>
> Dwijesh
>
>


Fwd: i3 Window manager without any other desktop environment

2015-11-10 Thread Dwijesh Gajadur
On Wed, Nov 11, 2015 at 12:23 AM, Martin Read  wrote:
>
>
> Install the 'xorg' package.
>


Yes it worked. After installing Xorg and typing 'startx' , i3 session
started.

That Great ! 😁

Thank you very much all for your quick replies.


With kind regards,

Dwijesh


Re: i3 Window manager without any other desktop environment

2015-11-10 Thread Dwijesh Gajadur
Yes it worked. After installing Xorg and typing 'startx' , i3 session
started.

That Great !  😁

Thank you very much all for your quick replies.


With kind regards,

Dwijesh


On Wed, Nov 11, 2015 at 12:35 AM, Dwijesh Gajadur 
wrote:

> On Wed, Nov 11, 2015 at 12:23 AM, Martin Read  wrote:
>>
>>
>> Install the 'xorg' package.
>>
>
>
> Yes it worked. After installing Xorg and typing 'startx' , i3 session
> started.
>
> That Great ! 😁
>
> Thank you very much all for your quick replies.
>
>
> With kind regards,
>
> Dwijesh
>
>
>


Re: Debian 8.1 ext4 directory sizes

2015-11-10 Thread Thomas Schmitt
Hi,

to...@tuxteam.de wrote:
> Seems you'll have to go with re-creating the dir.

Yes. I suffer on an elevated luxury level.

My Reiser FS showed substantial slowdown with mass file reading
after a few years. Inode lookup and data file opening both
dropped below half of the performance of a young filesystem.
Possibly the price for storage size efficiency.

But as said ... 2 seconds for "total 0" ...
Slaves ! Bring me my tear bottle !


Have a nice day :)

Thomas



Re: Debian 8.1 ext4 directory sizes

2015-11-10 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Nov 10, 2015 at 10:25:58PM +0100, Thomas Schmitt wrote:
[...]
> Slaves ! Bring me my tear bottle !
 ;-)

- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZCXF0ACgkQBcgs9XrR2kZbJQCfR6swnVbus8r9lW0yNOMxO2CO
AggAn1nFX3M/RkouLVFlIGwQxCvJubgX
=3vQ4
-END PGP SIGNATURE-



Re: i3 Window manager without any other desktop environment

2015-11-10 Thread Brian
On Tue 10 Nov 2015 at 15:32:55 -0500, Felix Miata wrote:

> Dwijesh Gajadur composed on 2015-11-11 00:19 (UTC+0400):
> 
> > When I type 'startx' it says 'command not found'
> 
> startx seems to be owned by the xinit .deb, so your i3 installation must not
> have triggered complete, or maybe even any part of, installation of Xorg.

startx is indeed in the xinit package (provided by xorg) but nothing
went wrong with Dwijesh Gajadur's install  or the installation of the
software. Window managers do not depend on xorg being installed.



Re: LXDE Display Coordination

2015-11-10 Thread ray
Felix,

Thank you for following up.
 
> what is output from
> 
>   # 
# cat /proc/cmdline
placeholder root=/dev/mapper/mycomp--vg-root ro initrd=/install/gtk/initrd.gz 
quiet

 
> what is output from
> 
>   # fbset
# fbset
bash: fbset: command not found

 
> Is your desired desktop result persisting across reboots?
This is interesting.  It is persistent for the user this was setup under.  The 
other users have not changed to 1920x1080.  Note, root has 1920x1080 desktop 
from the original session shell command.  Note 2, the boot paramters for 
1290x1080 have been removed.


> Pastebin your current /boot/grub/grub.cfg

# cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
insmod all_video
  else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod lvm
insmod ext2
set 
root='lvmid/zdQL0Z-RLB5-BQfF-G9pl-k1DK-crrL-RlIP5a/jksGDx-tjSk-o6Ri-neGR-Hh8t-lpVF-vfXcZ6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/zdQL0Z-RLB5-BQfF-G9pl-k1DK-crrL-RlIP5a/jksGDx-tjSk-o6Ri-neGR-Hh8t-lpVF-vfXcZ6'
  a9b6175b-77e2-4a39-ad51-6de45fb11cb5
else
  search --no-floppy --fs-uuid --set=root a9b6175b-77e2-4a39-ad51-6de45fb11cb5
fi
font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=3
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
set timeout=3
  fi
fi
play 480 440 1
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod lvm
insmod ext2
set 
root='lvmid/zdQL0Z-RLB5-BQfF-G9pl-k1DK-crrL-RlIP5a/jksGDx-tjSk-o6Ri-neGR-Hh8t-lpVF-vfXcZ6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/zdQL0Z-RLB5-BQfF-G9pl-k1DK-crrL-RlIP5a/jksGDx-tjSk-o6Ri-neGR-Hh8t-lpVF-vfXcZ6'
  a9b6175b-77e2-4a39-ad51-6de45fb11cb5
else
  search --no-floppy --fs-uuid --set=root a9b6175b-77e2-4a39-ad51-6de45fb11cb5
fi
insmod png
if background_image /usr/share/images/desktop-base/lines-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/08_linux_xen ###
menuentry 'Debian GNU/Linux, with Xen hypervisor' --class debian --class 
gnu-linux --class gnu --class os --class xen $menuentry_id_option 
'xen-gnulinux-simple-a9b6175b-77e2-4a39-ad51-6de45fb11cb5' {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 
--hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  
4c9659eb-cae9-4a32-b155-8fd958a59d62
else
  search --no-floppy --fs-uuid --set=root 
4c9659eb-cae9-4a32-b155-8fd958a59d62
fi
echo'Loading Xen 4.4-amd64 ...'
if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
xen_rm_opts=
else
xen_rm_opts="no-real-mode edd=off"
fi
multiboot   /xen-4.4-amd64.gz placeholder   ${xen_rm_opts}
echo'Loading Linux 3.16.0-4-amd64 ...'
module  /vmlinuz-3.16.0-4-amd64 placeholder 
root=/dev/mapper/mycomp--vg-root ro initrd=/install/gtk/initrd.gz quiet
echo'Loading initial ramdisk ...'
module  --nounzip   /initrd.img-3.16.0-4-amd64
}
submenu 'Advanced options for Debian GNU/Linux (with Xen hypervisor)' 
$menuentry_id_option 'gnulinux-advanced-a9b6175b-77e2-4a39-ad51-6de45fb11cb5' {
submenu 'Xen hypervisor, version 4.4-amd64' $menuentry_id_option 
'xen-hypervisor-4.4-amd

Persistence

2015-11-10 Thread Matilda Fins
Is there a way to create a Debian live usb flash drive with persistence? If
so, how?


Re: LXDE Display Coordination

2015-11-10 Thread Felix Miata
>> Pastebin your current /boot/grub/grub.cfg

Pastebin means upload the information to

http://paste.debian.net/

or

http://pastebin.com/

or

http://paste.opensuse.org/

or

http://paste.ubuntu.com/

or equivalent, or to your own personal web space, and put a link thereto in
your mailing list reply.

Pasting logs and configs into email puts it wasting space in the mailing list
archive forever.

Pastebinning is temporary, a week or month or whatever the particular paste
host is configured for.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Persistence

2015-11-10 Thread Himanshu Shekhar
On Wed, Nov 11, 2015 at 7:09 AM, Matilda Fins  wrote:

> Is there a way to create a Debian live usb flash drive with persistence?
> If so, how?
>

The following article illustrates this
Linux Community Blogs


Regards
Himanshu Shekhar


Re: LXDE Display Coordination

2015-11-10 Thread Chris Bannister
On Tue, Nov 10, 2015 at 09:23:38PM -0500, Felix Miata wrote:
> >> Pastebin your current /boot/grub/grub.cfg
> 
> Pastebin means upload the information to
> 
>   http://paste.debian.net/
> 
> or
> 
>   http://pastebin.com/
> 
> or
> 
>   http://paste.opensuse.org/
> 
> or
> 
>   http://paste.ubuntu.com/
> 
> or equivalent, or to your own personal web space, and put a link thereto in
> your mailing list reply.
> 
> Pasting logs and configs into email puts it wasting space in the mailing list
> archive forever.
> 
> Pastebinning is temporary, a week or month or whatever the particular paste
> host is configured for.

So that means that searches through the archive will get a 404 instead
of the info which they're looking for. Seems a bit silly, don't you
think?

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X



Re: LXDE Display Coordination

2015-11-10 Thread Brian
On Tue 10 Nov 2015 at 21:23:38 -0500, Felix Miata wrote:

> >> Pastebin your current /boot/grub/grub.cfg
> 
> Pastebin means upload the information to
> 
>   http://paste.debian.net/
> 
> or
> 
>   http://pastebin.com/
> 
> or
> 
>   http://paste.opensuse.org/
> 
> or
> 
>   http://paste.ubuntu.com/
> 
> or equivalent, or to your own personal web space, and put a link thereto in
> your mailing list reply.
> 
> Pasting logs and configs into email puts it wasting space in the mailing list
> archive forever.

No log or config which helps in solving a problem is wasted space.
A grub.cfg is not large.

> Pastebinning is temporary, a week or month or whatever the particular paste
> host is configured for.

Temporary means context is lost.



Re: Install MSWindz 7 as Virtual Machine on Debian 8

2015-11-10 Thread Stuart Longland
On 10/11/15 04:58, D&P Dimov wrote:
> I need to install MS Windows 7 as a Virtual Machine on a computer that
> is running Debian 8. To do that, I'd like to use software that is not
> proprietory (I know, I know - this may sounds a bit ridiculous...). This
> Debian page: https://wiki.debian.org/SystemVirtualization recommends
> Qemu, KVM, VirtualBox, and Zen. Does anyone have recommendations for
> which one is easiest to install for a novice? I tried the first one,
> Qemu, but didn't really find a good guide how to install MS Win 7 with it.
> Thanks!

The others have recommended VirtualBox, but an alternative suggestion:
install libvirt-bin and virt-manager.

The former is a management interface for KVM/Xen/LXC and a few others,
and handles the logic of setting up the virtualisation for you.

The latter is a GUI front-end for libvirt.  Using it is much like using
VirtualBox.  Not quite as polished, but VirtualBox isn't as nice to use
on a headless machine either.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



signature.asc
Description: OpenPGP digital signature


Re: LXDE Display Coordination

2015-11-10 Thread Felix Miata
Chris Bannister composed on 2015-11-11 19:38 (UTC+1300):

> On Tue, Nov 10, 2015 at 09:23:38PM -0500, Felix Miata wrote:

>> Pasting logs and configs into email puts it wasting space in the mailing list
>> archive forever.

>> Pastebinning is temporary, a week or month or whatever the particular paste
>> host is configured for.

> So that means that searches through the archive will get a 404 instead
> of the info which they're looking for. Seems a bit silly, don't you
> think?

Not at all, as they're typically obsolete quickly, unlikely useful other than
for solving an OP's particular issues dependent on his unique hardware
configuration, looking for one or two short strings typically hard to
describe so that the help requester could ID and provide them within concise
context to prospective helpers.

When I'm doing the mailing list Googling, I skip those with long pastes or
attachments, trying to make my search time more effective by limiting
attention to those written with concision.

When stuff like full logs or grub.conf rather than snippits are attached to
or pasted in an email, I'm more likely to ignore them than work with them.
Typically, line wrapping done on an email sent makes a mess of things.
They're much more manageable in browser windows than email windows, and
separately from reply composition. And in this thread, the OP kept starting
his posts as if I were the only one he was writing to, so with no one else
continuing to try to help him, opportune time to make a request more likely
to enable me to do a better, or any, job helping further.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: LXDE Display Coordination

2015-11-10 Thread Felix Miata
ray composed on 2015-11-10 17:22 (UTC-0800):

>> what is output from

>>  # 
> # cat /proc/cmdline
> placeholder root=/dev/mapper/mycomp--vg-root ro initrd=/install/gtk/initrd.gz 
> quiet

Rather sparse, with nothing attempting to impact display configuration, other
than hiding init messages (quiet). Did you do that as user instead of root?
If not as root, do again as root.

>> what is output from

>>  # fbset

> # fbset
> bash: fbset: command not found

# apt-get install fbset and try again.

>> Is your desired desktop result persisting across reboots?

> This is interesting.  It is persistent for the user this was setup under.  
> The other users have not changed to 1920x1080.  Note, root has 1920x1080 
> desktop from the original session shell command.  Note 2, the boot paramters 
> for 1290x1080 have been removed.

How best to proceed depends on whether you want configuration done for only
individual user(s), or globally. If you want global, then everything done in
$HOME needs to be migrated out or eliminated.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/