Discussion:
[Grml] where is ~/.xsession-errors
Peter
2009-04-22 08:18:28 UTC
Permalink
Hi
I was wondering where the ~/.xsession-errors file is on my
grml-medium-2008.11
It there on my debian lenny install, and I could not find any google
saying where the logging to .xsession-errors
has to be enable.
Has it been disabled in grml ?

Thanks for your help
Peter
Michael Prokop
2009-04-22 11:40:57 UTC
Permalink
Post by Peter
I was wondering where the ~/.xsession-errors file is on my
grml-medium-2008.11
It there on my debian lenny install, and I could not find any google
saying where the logging to .xsession-errors
has to be enable.
Has it been disabled in grml ?
Depends on how you start X.
With a configured X system for example you can get it running:

% startx 2>~/.xsession-errors

regards,
-mika-
--
http://grml.org/ # Linux for texttool-users and sysadmins
http://wiki.grml.org/ # share your knowledge
http://grml.supersized.org/ # the grml development weblog
#grml @ irc.freenode.org # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.mur.at/pipermail/grml/attachments/20090422/07a1fa6b/attachment.pgp
Peter
2009-04-24 19:34:40 UTC
Permalink
Hi
I am setting a swap space to work with hibernate ( pm-utils ) on
grml-medium2008.11

I did:
aptitude install pm-utils uswsusp

I created a swap partition ( type 82) with cfdisk and did:

mkswap -L SWAP /dev/sda2
dpkg-reconfigure uswsusp
pm-hibernate

This works on suspend, but on resume , there is a message related to the
swapspace-signature and the resume fails ( i.e. boot proceeds normally
but without resume ).

/etc/fstab ( relevant part ):


/dev/disk/by-uuid/11be6ca6-1cc8-4082-90d6-30adaabaa4ad / ext3
errors=remount-ro 0 1
/dev/sda2 none swap defaults 0 0
# Added by GRML
LABEL=SWAP /mnt/SWAP suspend noauto,user,dev,suid,exec 0 0 # /dev/sda2

I wonder why GRML added un entry to mount point /mnt/SWAP ?
swapon -s says nothing and swapon -a says invalid argument.

Is the LABEL a problem in conjunction with the swap space ?

What would be the best way to configure swap for pm-hibernate ?

Thanks for your help
Peter
Peter
2009-04-24 20:33:36 UTC
Permalink
Sorry , my mail below about the swap issue was somehow confused, so I
try to be more precise.

I noticed , that the command
pm-hibernate
breaks the existing swap space , because according to ubunutu Bug #66637
, hibernate exspects a file

/etc/initramfs-tools/conf.d/resume
that contains the UUID of the swap space:
RESUME=UUID=424385834....

it does not succeed with device form:
RESUME=/dev/sda2 # this did not work for me

So perhaps, the question I should ask is: what is the recommended
hibernation flavor for grml ?


Thanks
Peter








-------------------------------------------


Hi
I am setting a swap space to work with hibernate ( pm-utils ) on
grml-medium2008.11

I did:
aptitude install pm-utils uswsusp

I created a swap partition ( type 82) with cfdisk and did:

mkswap -L SWAP /dev/sda2
dpkg-reconfigure uswsusp
pm-hibernate

This works on suspend, but on resume , there is a message related to the
swapspace-signature and the resume fails ( i.e. boot proceeds normally
but without resume ).

/etc/fstab ( relevant part ):


/dev/disk/by-uuid/11be6ca6-1cc8-4082-90d6-30adaabaa4ad / ext3
errors=remount-ro 0 1
/dev/sda2 none swap defaults 0 0
# Added by GRML
LABEL=SWAP /mnt/SWAP suspend noauto,user,dev,suid,exec 0 0 # /dev/sda2

I wonder why GRML added un entry to mount point /mnt/SWAP ?
swapon -s says nothing and swapon -a says invalid argument.

Is the LABEL a problem in conjunction with the swap space ?

What would be the best way to configure swap for pm-hibernate ?

Thanks for your help
Peter
Peter
2009-04-24 19:34:40 UTC
Permalink
Hi
I am setting a swap space to work with hibernate ( pm-utils ) on
grml-medium2008.11

I did:
aptitude install pm-utils uswsusp

I created a swap partition ( type 82) with cfdisk and did:

mkswap -L SWAP /dev/sda2
dpkg-reconfigure uswsusp
pm-hibernate

This works on suspend, but on resume , there is a message related to the
swapspace-signature and the resume fails ( i.e. boot proceeds normally
but without resume ).

/etc/fstab ( relevant part ):


/dev/disk/by-uuid/11be6ca6-1cc8-4082-90d6-30adaabaa4ad / ext3
errors=remount-ro 0 1
/dev/sda2 none swap defaults 0 0
# Added by GRML
LABEL=SWAP /mnt/SWAP suspend noauto,user,dev,suid,exec 0 0 # /dev/sda2

I wonder why GRML added un entry to mount point /mnt/SWAP ?
swapon -s says nothing and swapon -a says invalid argument.

Is the LABEL a problem in conjunction with the swap space ?

What would be the best way to configure swap for pm-hibernate ?

Thanks for your help
Peter
Peter
2009-04-24 20:33:36 UTC
Permalink
Sorry , my mail below about the swap issue was somehow confused, so I
try to be more precise.

I noticed , that the command
pm-hibernate
breaks the existing swap space , because according to ubunutu Bug #66637
, hibernate exspects a file

/etc/initramfs-tools/conf.d/resume
that contains the UUID of the swap space:
RESUME=UUID=424385834....

it does not succeed with device form:
RESUME=/dev/sda2 # this did not work for me

So perhaps, the question I should ask is: what is the recommended
hibernation flavor for grml ?


Thanks
Peter








-------------------------------------------


Hi
I am setting a swap space to work with hibernate ( pm-utils ) on
grml-medium2008.11

I did:
aptitude install pm-utils uswsusp

I created a swap partition ( type 82) with cfdisk and did:

mkswap -L SWAP /dev/sda2
dpkg-reconfigure uswsusp
pm-hibernate

This works on suspend, but on resume , there is a message related to the
swapspace-signature and the resume fails ( i.e. boot proceeds normally
but without resume ).

/etc/fstab ( relevant part ):


/dev/disk/by-uuid/11be6ca6-1cc8-4082-90d6-30adaabaa4ad / ext3
errors=remount-ro 0 1
/dev/sda2 none swap defaults 0 0
# Added by GRML
LABEL=SWAP /mnt/SWAP suspend noauto,user,dev,suid,exec 0 0 # /dev/sda2

I wonder why GRML added un entry to mount point /mnt/SWAP ?
swapon -s says nothing and swapon -a says invalid argument.

Is the LABEL a problem in conjunction with the swap space ?

What would be the best way to configure swap for pm-hibernate ?

Thanks for your help
Peter
Peter
2009-04-24 19:34:40 UTC
Permalink
Hi
I am setting a swap space to work with hibernate ( pm-utils ) on
grml-medium2008.11

I did:
aptitude install pm-utils uswsusp

I created a swap partition ( type 82) with cfdisk and did:

mkswap -L SWAP /dev/sda2
dpkg-reconfigure uswsusp
pm-hibernate

This works on suspend, but on resume , there is a message related to the
swapspace-signature and the resume fails ( i.e. boot proceeds normally
but without resume ).

/etc/fstab ( relevant part ):


/dev/disk/by-uuid/11be6ca6-1cc8-4082-90d6-30adaabaa4ad / ext3
errors=remount-ro 0 1
/dev/sda2 none swap defaults 0 0
# Added by GRML
LABEL=SWAP /mnt/SWAP suspend noauto,user,dev,suid,exec 0 0 # /dev/sda2

I wonder why GRML added un entry to mount point /mnt/SWAP ?
swapon -s says nothing and swapon -a says invalid argument.

Is the LABEL a problem in conjunction with the swap space ?

What would be the best way to configure swap for pm-hibernate ?

Thanks for your help
Peter
Peter
2009-04-24 20:33:36 UTC
Permalink
Sorry , my mail below about the swap issue was somehow confused, so I
try to be more precise.

I noticed , that the command
pm-hibernate
breaks the existing swap space , because according to ubunutu Bug #66637
, hibernate exspects a file

/etc/initramfs-tools/conf.d/resume
that contains the UUID of the swap space:
RESUME=UUID=424385834....

it does not succeed with device form:
RESUME=/dev/sda2 # this did not work for me

So perhaps, the question I should ask is: what is the recommended
hibernation flavor for grml ?


Thanks
Peter








-------------------------------------------


Hi
I am setting a swap space to work with hibernate ( pm-utils ) on
grml-medium2008.11

I did:
aptitude install pm-utils uswsusp

I created a swap partition ( type 82) with cfdisk and did:

mkswap -L SWAP /dev/sda2
dpkg-reconfigure uswsusp
pm-hibernate

This works on suspend, but on resume , there is a message related to the
swapspace-signature and the resume fails ( i.e. boot proceeds normally
but without resume ).

/etc/fstab ( relevant part ):


/dev/disk/by-uuid/11be6ca6-1cc8-4082-90d6-30adaabaa4ad / ext3
errors=remount-ro 0 1
/dev/sda2 none swap defaults 0 0
# Added by GRML
LABEL=SWAP /mnt/SWAP suspend noauto,user,dev,suid,exec 0 0 # /dev/sda2

I wonder why GRML added un entry to mount point /mnt/SWAP ?
swapon -s says nothing and swapon -a says invalid argument.

Is the LABEL a problem in conjunction with the swap space ?

What would be the best way to configure swap for pm-hibernate ?

Thanks for your help
Peter

Peter
2009-04-22 08:18:28 UTC
Permalink
Hi
I was wondering where the ~/.xsession-errors file is on my
grml-medium-2008.11
It there on my debian lenny install, and I could not find any google
saying where the logging to .xsession-errors
has to be enable.
Has it been disabled in grml ?

Thanks for your help
Peter
Michael Prokop
2009-04-22 11:40:57 UTC
Permalink
Post by Peter
I was wondering where the ~/.xsession-errors file is on my
grml-medium-2008.11
It there on my debian lenny install, and I could not find any google
saying where the logging to .xsession-errors
has to be enable.
Has it been disabled in grml ?
Depends on how you start X.
With a configured X system for example you can get it running:

% startx 2>~/.xsession-errors

regards,
-mika-
--
http://grml.org/ # Linux for texttool-users and sysadmins
http://wiki.grml.org/ # share your knowledge
http://grml.supersized.org/ # the grml development weblog
#grml @ irc.freenode.org # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20090422/07a1fa6b/attachment-0002.pgp>
Peter
2009-04-22 08:18:28 UTC
Permalink
Hi
I was wondering where the ~/.xsession-errors file is on my
grml-medium-2008.11
It there on my debian lenny install, and I could not find any google
saying where the logging to .xsession-errors
has to be enable.
Has it been disabled in grml ?

Thanks for your help
Peter
Michael Prokop
2009-04-22 11:40:57 UTC
Permalink
Post by Peter
I was wondering where the ~/.xsession-errors file is on my
grml-medium-2008.11
It there on my debian lenny install, and I could not find any google
saying where the logging to .xsession-errors
has to be enable.
Has it been disabled in grml ?
Depends on how you start X.
With a configured X system for example you can get it running:

% startx 2>~/.xsession-errors

regards,
-mika-
--
http://grml.org/ # Linux for texttool-users and sysadmins
http://wiki.grml.org/ # share your knowledge
http://grml.supersized.org/ # the grml development weblog
#grml @ irc.freenode.org # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20090422/07a1fa6b/attachment-0003.pgp>
Loading...