Re: a couple rpi problems

2024-03-05 Thread Mike McClain
On Mon, Mar 04, 2024 at 11:41:07PM +, ghe2001 wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> rpi5 and 4, standard Debian clone OS
>
> 1) The 5, pi5.slsware.lan, keeps sending me email saying,
> "*** SECURITY information for pi5 ***"
> and
> "pi5 : Mar  4 15:40:14 : root : unable to resolve host pi5: Name or service 
> not known"
> I have no idea why it's complaining or what's bent.

mike@DevuanPI4b:~> cat /etc/hostname
MikesDevuanPI
mike@DevuanPI4b:~> cat /etc/hosts

127.0.0.1   MikesDevuanPI


> 2) On both the 4 and 5, 'needrestart' says I'm running on an old kernel and 
> tells me that a reboot will start the newer version.  But it's just kidding 
> -- I reboot and I get the same message again.  The 4's been doing that for a 
> long time, and I've just let it keep running the old kernel because I'm 
> afraid I might break something if I try to delete the old kernel.  But I just 
> got the 5 a few days ago, it's doing the same thing, and I'd like to get this 
> dealt with.

I've never seen that either and have 2 RPI4bs running Devuan daedalus on this 
one,
Rasbian bookworm on the other.

I assume you ran apt update & apt upgrade before reboot.

One thing I have noticed is that reboot and 'shutdown -h now'
then toggling the power, don't always give the same results.

> --
> Glenn English

Be well,
Mike
--
For more information, please reread.



Re: a couple rpi problems

2024-03-04 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256


On Monday, March 4th, 2024 at 9:26 PM, Jeffrey Walton  
wrote:

> Here's what one looks like for a host named 'raptor' after the Intel ISA:

Yeah, I put it in there when I understood what it was looking for.  When I went 
to computer school, there was no Internet or IP anything, so I didn't know that 
"resolve" meant "what's your IP address" (I hit vi real quick to add an IP to 
hosts -- everybody seems to be happy with their resolution now).

Any thoughts on my kernel replacement notice problem?

--
Glenn English

-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAnBYJl5qQICZCf14YxgqyMMhYhBCyicw9CUnAlY0ANl5/XhjGC
rIwyAAAKfQgAygPy80F4EiZzWgfFviPK7woPLTJt0a/cfWKy9hWb7HAJJal5
iJCu5ptloZ0mbwKQehmfMlJK/Qfp4wIwhCm0X/Z5Ye4OqlJ972YQn/RyJZjO
QdrO4UjJ2biTqcc84iHjfeR9qBB/VTXZosLVM9Nd6Sl23fYckp7GQpAtYkNT
WVjz16rUT0t3xeXr7QXaSo2x/MMY2qcldRROxDZVAa8oH74HC5P4+mAC3EB7
Srk0ZKfu2IBFVurp8LbyzuEQVL3c5CdkYXNS3P/nc3Tl27S+yDN98Q5zrREL
iV7eMHdbw/QXzSVvbNxt0fZM5Bg3KLYmcgYp8LhiEwjBezRakt/UYw==
=OGEg
-END PGP SIGNATURE-



Re: a couple rpi problems

2024-03-04 Thread Jeffrey Walton
On Mon, Mar 4, 2024 at 11:07 PM ghe2001  wrote:
>
> On Monday, March 4th, 2024 at 5:01 PM, Greg Wooledge  
> wrote:
> [...]
> > So, "pi5" appears to be your hostname.
>
> Yup.
>
> > It can't resolve its own hostname. You're probably missing a line in
> > your /etc/hosts file.
>
> Oh!  It wants the IP!  You're right -- pi5 isn't in there.  Thanks.

Here's what one looks like for a host named 'raptor' after the Intel ISA:

$ cat /etc/hosts
# Loopback entries; do not change.
# For historical reasons, localhost precedes localhost.localdomain:
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4

# 127.0.1.1 is often used for the FQDN of the machine
127.0.1.1   raptor.home.arpa raptor

# The following lines are desirable for IPv6 capable hosts
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6



Re: a couple rpi problems

2024-03-04 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256








On Monday, March 4th, 2024 at 5:01 PM, Greg Wooledge  wrote:

> On Mon, Mar 04, 2024 at 11:41:07PM +, ghe2001 wrote:
> 
> > 1) The 5, pi5.slsware.lan, keeps sending me email saying,
> > 
> > "*** SECURITY information for pi5 ***"
> 
> 
> So, "pi5" appears to be your hostname.

Yup.

> It can't resolve its own hostname. You're probably missing a line in
> your /etc/hosts file.

Oh!  It wants the IP!  You're right -- pi5 isn't in there.  Thanks.

--
Glenn English

-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAnBYJl5mNYCZCf14YxgqyMMhYhBCyicw9CUnAlY0ANl5/XhjGC
rIwyAAANBwgAq7nMSAqNTRA7YRx9vW/7JkI/ely4QL6xYUrQ9g7+JWLvi5Do
Qu2vfEKrPuidVahKp3YRcXMNXIryAKS9mO5ghUieiEUMTSH3M+aXiSC7m3CO
Xu7qR5YPdKRM58iMkxHLN2IW2ioDGWAkQo9IdKxFNQvKP7KDhGleWmscFtjC
nbD7kfkKZNShC3s/woEdctrqx2HlJQrbcU4pm6VUNsX0xAL71xPV/jro1Tr3
zPEnAy1Gq5VbcspMShUngaKEFn686GLlyaTaVR5ZWZJZOpEeRf2K/Qf8fZSt
sR/orl0tSGZO2BJdGrZUu9vjkdNwHiSMLC7wkiKU9HdtM58f7PtYRw==
=u7/T
-END PGP SIGNATURE-



Re: a couple rpi problems

2024-03-04 Thread Greg Wooledge
On Mon, Mar 04, 2024 at 11:41:07PM +, ghe2001 wrote:
> 1) The 5, pi5.slsware.lan, keeps sending me email saying, 
> 
> "*** SECURITY information for pi5 ***" 

So, "pi5" appears to be your hostname.

> "pi5 : Mar  4 15:40:14 : root : unable to resolve host pi5: Name or service 
> not known"
> 
> I have no idea why it's complaining or what's bent.  

It can't resolve its own hostname.  You're probably missing a line in
your /etc/hosts file.



a couple rpi problems

2024-03-04 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

rpi5 and 4, standard Debian clone OS

1) The 5, pi5.slsware.lan, keeps sending me email saying, 

"*** SECURITY information for pi5 ***" 

and 

"pi5 : Mar  4 15:40:14 : root : unable to resolve host pi5: Name or service not 
known"

I have no idea why it's complaining or what's bent.  


2) On both the 4 and 5, 'needrestart' says I'm running on an old kernel and 
tells me that a reboot will start the newer version.  But it's just kidding -- 
I reboot and I get the same message again.  The 4's been doing that for a long 
time, and I've just let it keep running the old kernel because I'm afraid I 
might break something if I try to delete the old kernel.  But I just got the 5 
a few days ago, it's doing the same thing, and I'd like to get this dealt with.

IIRC (I'm 81, and that's no longer a given), I never saw this with the rpi2s or 
3s or the real Debian boxen. 

Any thoughts/suggestions would be appreciated...

--
Glenn English
-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAnBYJl5lv0CZDmyitW0WqrdxYhBMRG7aHlwXhPX67r9+bKK1bR
aqt3AAAKKwf/QpSQ5LbO3FflxshXl0s+7TZWnW1dWw3XmWHuhuLM904ie6vL
DdaZWr2C/7ZuVN0iKvwpX5Z+8AwtyUTNfrxV7yMKvZw+Gzuc8ZZ2NN/7oGI4
7o8Ua/OXYlwIeKVL8agb3frMvz7Flsh3C9eOqvv7WJTmhkLE23ZKN84VHPcz
GpaSi/K7l6bpHDrC50F1HvgtYzGZIp7bJVY930+IRv1BYLJI7EwLDiC5JjeN
37T1s/Ul7460FFM0J49LMZYUEQKkWqBPw8wqf6zK0WNJ8DYJ6dHA+6Hqf6Xz
CZyPRL2E1Zd0wAtrHPrl+JMHxfMblwyZMu0vkI+h6HHzfbcaEkwMBg==
=BPuV
-END PGP SIGNATURE-



Re: a couple of problems after upgrading to bookworm

2023-07-23 Thread John Covici
hmm, I thought I had this correct, but I will recheck and try again.
Thanks for the hint.

On Sun, 23 Jul 2023 09:35:44 -0400,
Greg Wooledge wrote:
> 
> On Sun, Jul 23, 2023 at 09:27:18AM -0400, John Covici wrote:
> > i915 :00:02.0: Direct firmware load for i915/skl_dmc_ver1_27.bin
> > failed with error -2 ...:  4 Time(s)
> > 
> > Where can I find this firmware -- isn't it in the firmware-linux-free
> > package?
> 
> unicorn:~$ dpkg -S /lib/firmware/i915/skl_dmc_ver1_27.bin
> firmware-misc-nonfree: /lib/firmware/i915/skl_dmc_ver1_27.bin
> 
> Remember, in bookworm, the non-free firmware has moved to a newly
> created section in the repositories.  Make sure your sources.list
> has been updated appropriately.
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: a couple of problems after upgrading to bookworm

2023-07-23 Thread Greg Wooledge
On Sun, Jul 23, 2023 at 09:27:18AM -0400, John Covici wrote:
> i915 :00:02.0: Direct firmware load for i915/skl_dmc_ver1_27.bin
> failed with error -2 ...:  4 Time(s)
> 
> Where can I find this firmware -- isn't it in the firmware-linux-free
> package?

unicorn:~$ dpkg -S /lib/firmware/i915/skl_dmc_ver1_27.bin
firmware-misc-nonfree: /lib/firmware/i915/skl_dmc_ver1_27.bin

Remember, in bookworm, the non-free firmware has moved to a newly
created section in the repositories.  Make sure your sources.list
has been updated appropriately.



a couple of problems after upgrading to bookworm

2023-07-23 Thread John Covici
Hi.  I upgraded to bookworm and it went pretty well, but I have some
strange errors (what's a not strange error).

I use logwatch and I am getting apache2 level error and then a number
of times, but I cannot find what its complaining about.  I did not get
these under bullseye.  I am running with kernel 6.1.0-10.

Also, I am getting the following:

i915 :00:02.0: Direct firmware load for i915/skl_dmc_ver1_27.bin
failed with error -2 ...:  4 Time(s)

Where can I find this firmware -- isn't it in the firmware-linux-free
package?


Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: Debian for the first time, a couple of problems

2004-07-27 Thread Grischa Stegemann
Kent West wrote at Monday 26 July 2004 17:20:

 First strange thing is that during boot time there are lots
 of FATAL messages about modules cannot be loaded, because
 operation not permitted.

 This seems really odd.

Yes, indeed ;-)


 My guess is that those FATAL error messages you're getting is causing a
 big part of your grief. I'd spend my effort on tracking those down.

I'm just about to build an own 2.6.7 kernel, if I'm not able to boot with this
own kernel without getting these strange errors then I have to think again.
Unfortunately so far I've forgotten to to build ATA support directly into the
kernel (the default 2.6 config seems to build every more or less basic thing as
a module) and thus I was not able to boot with it yesterday. On the other hand
I have the strong feeling that compiling a 2.6 kernel takes a LOT more time
than a late 2.4 one.. but OK, I'll see.


Whenever I use a program which draws an user interface by
ascii line characters (e.g. aptitude) instead of all the
border lines this strange 'oe' character is printed.

 I'm suspecting the framebuffer here, but I'm not sure. Check
 /etc/lilo.conf (assuming lilo and not grub, etc) to see what your video
 settings are; maybe set it to vga=ask and rerun lilo and then reboot
 and try different settings.

Since grub comes automatically as the boot manager with Sarge I'm on this one
now and actually quite happy with it. It's convenient not needing to reinstall
the boot loader after each kernel modification.
Thanks for the framebuffer hint, usually I never activate it in my own kernels,
so I'm curious if the problem might be gone once my own kernel is running.


 It sounds like your installation had some serious issues and did not
 complete properly. I'm not sure why this would be the case (a bad
 snapshot of the installer? esoteric hardware? buggy RAM?).

Great news. ;-)
An old fashioned BX board and a G550 Matrox card are not considered to be
esoteric, I guess.  Maybe I'm going to update my installation DVD and try the
installation once again, probably with a trusted (at least by me) 2.4 kernel
then.


 I've never installed from a DVD; if it were me, I'd use the 100MB
 net-installer image, and then pull the rest down from the net, but
 you've got an ISDN network, and I don't even know what that means, so I
 can't address it.

I'll tell you, what that means: most important it means a bandwidth of 128kBit/s
max.;-) thus pulling anything bigger than a hand full of MBytes from the net
really is out of question. Furthermore it means that you have to twiddle on a
completely new interface in the 2.6 kernel with many important drivers only
available via CVS... :-(


Grischa


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Debian for the first time, a couple of problems

2004-07-26 Thread ein grosser
Well, I tried to post this to the newsgroup
linux.debian.user yesterday and wondered why my posting
never appears in there. Didn't know that this is actually a
kind of a mail-to-news-backend. Isn't there a reasonable
Debian-newsgroup? I find these groups much more convenient
than mailinglists...

But OK, here's my yesterdays question:

Since a couple of days I am fiddling with my new Sarge
installation. It's the first time I've installed a Debian
system and there is quite a lot of stuff which does not
work properly and about which I'm not able to find the
essential
hints on the web. And since yet I've not managed to make
the ISDN system work (which seems to be a major problem
with 2.6 kernels) and therefore without an internet
connection it's extra hard looking for the appropriate
information somewhere else, than returning home and finding
out that this probably doesn't solve the problem.

First of all, I've created the Sarge DVD images on July,
5th and so my installation uses only packages up to this
date. The kernel package is 2.6.6-1-686.

First strange thing is that during boot time there are lots
of FATAL messages about modules cannot be loaded, because
operation not permitted. Nevertheless after booting lsmod
shows that quite a couple of modules got loaded anyway. But
for instance the module 'psmouse' did not, therefore X does
not start ('no core pointer found') and I have to do a
'modprobe psmouse' by hand first, which works.

OK, next very annoying thing is about the text console.
Whenever I use a program which draws an user interface by
ascii line characters (e.g. aptitude) instead of all the
border lines this strange 'oe' character is printed. I've
tried 'dpkg-reconfigure locales' but without any success.

Now concerning X and especially KDE. Some programs complain
about 'locales not configured for xserver' or vice versa
'xserver not configured for locales' or something, cannot
remember exactly.
Allmost ALL kde-programs give lots of error messages about
misconfigured icon directories in /usr/share/icons/...
'.xsession-errors' is spammed with this.
Some programs do not start at all saying something like 'QT
pixmap cannot be used without a GUI'.
And worst of all, allthough 'xfontsel' shows all the
standart fonts I expect of a common XFree-installation KDE
does not seem to see them, e.g. the standart Helvetica,
Times and Courier fonts are completely missing in KDEs
configuration dialogues.

Well if anyone could point me to a solution of one or more
of these problems I would be very happy.

Thanks a lot in advance,
Grischa





___
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian for the first time, a couple of problems

2004-07-26 Thread Gabriel Ebner
ein grosser [EMAIL PROTECTED] writes:

 Isn't there a reasonable
 Debian-newsgroup?

Yes, there is:
  http://gmane.org/
  nntp://news.gmane.org/gmane.linux.debian.user (this list)

  Gabriel.


pgpcjop95qbLh.pgp
Description: PGP signature


Re: Debian for the first time, a couple of problems

2004-07-26 Thread Kent West
ein grosser wrote:
Since a couple of days I am fiddling with my new Sarge
installation.
snip
And since yet I've not managed to make
the ISDN system work (which seems to be a major problem
with 2.6 kernels)
Sorry; don't have a clue on this one.
First of all, I've created the Sarge DVD images on July,
5th and so my installation uses only packages up to this
date. The kernel package is 2.6.6-1-686.
First strange thing is that during boot time there are lots
of FATAL messages about modules cannot be loaded, because
operation not permitted.
This seems really odd.
Nevertheless after booting lsmod
shows that quite a couple of modules got loaded anyway. But
for instance the module 'psmouse' did not, therefore X does
not start ('no core pointer found') and I have to do a
'modprobe psmouse' by hand first, which works.
 

You can add the modules manually to /etc/modules so they'll load up on 
future boots.
or
You could use modconf, which will do that for you.
or
You can install/fix the discover (or equivalent) hardware detection utility.

My guess is that those FATAL error messages you're getting is causing a 
big part of your grief. I'd spend my effort on tracking those down.

OK, next very annoying thing is about the text console.
Whenever I use a program which draws an user interface by
ascii line characters (e.g. aptitude) instead of all the
border lines this strange 'oe' character is printed. I've
tried 'dpkg-reconfigure locales' but without any success.
 

I'm suspecting the framebuffer here, but I'm not sure. Check 
/etc/lilo.conf (assuming lilo and not grub, etc) to see what your video 
settings are; maybe set it to vga=ask and rerun lilo and then reboot 
and try different settings.

Now concerning X and especially KDE. Some programs complain
about 'locales not configured for xserver' or vice versa
'xserver not configured for locales' or something, cannot
remember exactly.
 

IIRC, apt-get install locales (or dpkg-reconfigure locales), then 
select US English (all three) or whatever is appropriate for you.

Allmost ALL kde-programs give lots of error messages about
misconfigured icon directories in /usr/share/icons/...
'.xsession-errors' is spammed with this.
Some programs do not start at all saying something like 'QT
pixmap cannot be used without a GUI'.
And worst of all, allthough 'xfontsel' shows all the
standart fonts I expect of a common XFree-installation KDE
does not seem to see them, e.g. the standart Helvetica,
Times and Courier fonts are completely missing in KDEs
configuration dialogues.
 

It sounds like your installation had some serious issues and did not 
complete properly. I'm not sure why this would be the case (a bad 
snapshot of the installer? esoteric hardware? buggy RAM?).

Well if anyone could point me to a solution of one or more
of these problems I would be very happy.
 

I've never installed from a DVD; if it were me, I'd use the 100MB 
net-installer image, and then pull the rest down from the net, but 
you've got an ISDN network, and I don't even know what that means, so I 
can't address it.

--
Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Couple of problems here... ;)

2003-10-17 Thread csj
At Thu, 16 Oct 2003 10:58:08 -0400,
Roberto Sanchez wrote:
 
 Martin Hooper wrote:

  Using Woody 3.0r0 here...
  
  First Problem USB Printing using CUPS
  
  I have a HOWTO which tells me how to set up CUPS with a
  parallel port printer but I have a USB printer.  In the CUPS
  web setup I can add a printer but when I try to print the
  test page I get the following error:
  
  Unable to open USB port device file /dev/usb/lp0: No such
  device
  
  How do I tell which port device to use?  Also can anyone
  point me to a HOWTO for setting up CUPS and a USB device The
  error message pops up whenever I change the USB Printer
  #Whatever
  
  /var/log/dmesg seems to indicate that the USB ports and the
  things that are connected to it are detected at boot.  I have
  a Microsoft Steering wheel as well as my printer.  I am using
  a stock bf24 kernel from the install disc.
  
 Oddly enough, I solved this problem my making sure the printer
 was plugged to the computer and turned on *before* turning on
 the computer.

I believe you can achieve the same effect by just turning on the
printer, then invoking as root:

/etc/init.d/cupsys restart

You might also need to Start the printer via:

http://localhost:631/printers/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Couple of problems here... ;)

2003-10-16 Thread Roberto Sanchez
Martin Hooper wrote:
Using Woody 3.0r0 here...

First Problem USB Printing using CUPS

I have a HOWTO which tells me how to set up CUPS with a parallel port printer 
but I have a USB printer.  In the CUPS web setup I can add a printer but when 
I try to print the test page I get the following error:

Unable to open USB port device file /dev/usb/lp0: No such device

How do I tell which port device to use?  Also can anyone point me to a HOWTO 
for setting up CUPS and a USB device  The error message pops up whenever I 
change the USB Printer #Whatever

/var/log/dmesg seems to indicate that the USB ports and the things that are 
connected to it are detected at boot.  I have a Microsoft Steering wheel as 
well as my printer.  I am using a stock bf24 kernel from the install disc.  

Oddly enough, I solved this problem my making sure the printer was
plugged to the computer and turned on *before* turning on the computer.
-Roberto



pgp0.pgp
Description: PGP signature


Re: Couple of problems here... ;)

2003-10-16 Thread Rob Weir
On Thu, Oct 16, 2003 at 03:42:11PM -0100, Martin Hooper said
 Oct 14 11:43:26 mats-pc-1 xfs: ignoring font path element 
 /usr/X11R6/lib/X11/fonts/ttf/ (unreadable)
 
 The problem is that the perms on the directory are the same as the perms on 
 the other font directories:
 
 mats-pc-1:/usr/X11R6/lib/X11/fonts# ls -al
 total 108
 drwxr-xr-x   10 root root 4096 Oct 15 09:55 .
 drwxr-xr-x9 root root 4096 Oct 15 09:10 ..
 drwxr-xr-x2 root root28672 Oct 15 09:55 100dpi
 drwxr-xr-x2 root root28672 Oct 15 09:55 75dpi
 drwxr-xr-x2 root root 4096 Oct 15 09:55 Speedo
 drwxr-xr-x2 root root 4096 Oct 15 09:55 Type1
 drwxr-xr-x3 root root 4096 Oct 15 09:55 encodings
 -rw-r--r--1 root root  138 Oct 15 09:55 fonts.cache-1
 drwxr-xr-x2 root root 8192 Oct 15 09:55 misc
 drwxr-xr-x2 root root16384 Oct 15 13:07 ttf
 drwxr-xr-x2 root root 4096 Oct 15 09:55 util
 
 How would I go about fixing this one?? ;)

How do the permissions of the fonts *inside* the ttf directory look?

-- 
Rob Weir [EMAIL PROTECTED] | [EMAIL PROTECTED]  |  Do I look like I want a CC?
Words of the day: UOP JPL Watergate computer terrorism revolution Arnett quiche
Hi, VeriSign!  [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: A couple of Problems

1996-09-09 Thread Vadik Vygonets
On Sun, 8 Sep 1996, Jim Worthington wrote:

 I tried echoing messages from the /etc/X11/Xsession file.  I found that
 this
 file only gets invoked from xdm.  It does not get invoked from xstart or
 xinit.

You meant startx, not xstart.

 Since /etc/X11/Xmodmap is called from /etc/X11/Xsession, it also would
 not be
 invoked from xinit.

Same here.  Just put the line xmodmap /etc/X11/Xmodmap in your
.xsession, that's all you can do :)

 I prefer using xinit over xdm since I use several different windows
 managers.

So what?  Do you want to execute X without any window manager?  Just make
your .xsession look like this:

xmodmap ~/.anything
xterm -geometry +0+0

That's all!

Vad.

++_ 
Vadik V. (_`[EMAIL PROTECTED]  http://www.nether.net/~legolas/
Vygonets (_.lf  PGP public key (ID 9FC1DED9) available from surfnet.nl
User Failure: Please Insert a Bootable Brain



Re: A couple of Problems

1996-09-08 Thread Vadik Vygonets
On Sat, 7 Sep 1996, Jim Worthington wrote:

 It looks as if my /etc/X11/Xsession file is not being read.  Where
 does this get called from?  I suspect that whatever is causing this
 problem is also responsible for my xdm problem. /etc/X11/config also
 looks OK.

Oh I forgot...  it must be called from xdm or xinit.  All the output of
this file must go to ~/.xsession-errors, so try to echo some debug info
from /etc/X11/Xsession and look wether it's in the file.  The permissions
and owner of this file are:
marvin:/etc/X11 ls -lFd /etc /etc/X11 /etc/X11/Xsession
drwxr-xr-x  28 root root 3072 Sep  7 04:14 /etc/
drwxr-xr-x   9 root root 1024 Jun 29 22:54 /etc/X11/
-rwxr-xr-x   1 root root 1534 May  7 18:00 /etc/X11/Xsession*

Good luck.
Vad.

++_ 
Vadik V. (_`[EMAIL PROTECTED]  http://www.nether.net/~legolas/
Vygonets (_.lf  PGP public key (ID 9FC1DED9) available from surfnet.nl
User Failure: Please Insert a Bootable Brain



Re: A couple of Problems

1996-09-08 Thread Susan G. Kleinmann
Hi Jim --
You said:
 I tried adding the line to /etc/X11/Xmodmap -- It didn't work.
 I also tried creating  ~/.Xmodmap and ~/.xmodmaprc files with the 
 same data.  These did not work either.

Did you run xmodmap ~/.xmodmaprc after you changed it?  If not, then the
edits you made wouldn't have any effect. 

Edits to the system file (/etc/X11/Xmodmap) are meant to be read in 
during X initialization, either by the system xinitrc or by the system
Xsession file, both of which are in /etc/X11.

Good luck,
Susan Kleinmann




Re: A couple of Problems

1996-09-08 Thread Jim Worthington
Vadik Vygonets wrote:
 
 On Sat, 7 Sep 1996, Jim Worthington wrote:
 
  It looks as if my /etc/X11/Xsession file is not being read.

After several hours of floundering, I got xdm working. xdm was not
running, I believe because some of the xdm startup files including
/etc/X11/Xsession were not executable.
One of the files in the /etc/X11/xdm directory was missing.

I've found that if there is an installation problem, that merely
rerunning dpkg -i on the .deb package won't necessarily resolve the
problem even if no error messages are reported on the second try.  I've
found that the bad install must first be removed before trying a
reinstall.  This has been the cause of most the installation problems
that I have encountered.
 
 Oh I forgot...  it must be called from xdm or xinit.  All the output of
 this file must go to ~/.xsession-errors, so try to echo some debug info
 from /etc/X11/Xsession and look wether it's in the file.

I tried echoing messages from the /etc/X11/Xsession file.  I found that
this
file only gets invoked from xdm.  It does not get invoked from xstart or
xinit.
Since /etc/X11/Xmodmap is called from /etc/X11/Xsession, it also would
not be
invoked from xinit.

I prefer using xinit over xdm since I use several different windows
managers.  I ended up putting the statement xmodmap .Xmodmap in my
.xinitrc file.  I don't care for the long script provided in the system
xinitrc file.  It is actually a link to the /etc/X11/Xsession file.  I
don't include the script in my .xinitrc file since it makes maintenance
of my desktop difficult. I like to use the save desktop module thats
provided with fvwm2-95.  If the script is present, I have to do a lot of
editing.  It would be nice if both the system xinitrc and the ~/.xinitrc
could be called.  The system file for the scripts and the .xinitrc for
the desktop.  The system file, however is not invoked if the user's file
is present.

Thanks for the help,

Jim



Re: A couple of Problems

1996-09-08 Thread Shaya Potter

netscape is a motif application, and all motif application will show that 
behavior, there is a program written by one of the people at netscape 
that is included in some X distributions.  If you want it look at the 
netscape faq at netscape site, it will give you a link to the program.

Hope this helps,

Shaya
--
Shaya Potter
[EMAIL PROTECTED]


On Sat, 7 Sep 1996, Jim Worthington wrote:

 I'm having the following problems, any suggestions woulg be greatly
 appreciated.
 
 Jim
 
 (1) Netscape 3.0B7 - non debian
 
 The backspace key doesn't work.  Is this a setup problem?
 I'm using TCSH shell
 
 (2) xdm - Debian 1.1.0 release
 
 The Debian login window appears, After a correct login it tries
 to do something (a few horizontal bars across the root window) 
 and then the login window re-appears. Same process repeats
 resulting in an endless loop. 
 
 An incorrect login produces a red incorrect login message as
 it should. Any Ideas?
 
 startx works fine.
 
 



Re: A couple of Problems

1996-09-08 Thread Brian C. White
 (1) Netscape 3.0B7 - non debian
 
 The backspace key doesn't work.  Is this a setup problem?
 I'm using TCSH shell

You need to tell Netscape how to find the XKeySymDB file.  Try this:

setenv XKEYSYMDB /usr/X11R6/lib/X11/XKeysymDB

Or, use the Debian package.
 
  Brian
 ( [EMAIL PROTECTED] )
 
---
In theory, theory and practice are the same.  In practice, they're not.




A couple of Problems

1996-09-07 Thread Jim Worthington
I'm having the following problems, any suggestions woulg be greatly
appreciated.

Jim

(1) Netscape 3.0B7 - non debian

The backspace key doesn't work.  Is this a setup problem?
I'm using TCSH shell

(2) xdm - Debian 1.1.0 release

The Debian login window appears, After a correct login it tries
to do something (a few horizontal bars across the root window) 
and then the login window re-appears. Same process repeats
resulting in an endless loop. 

An incorrect login produces a red incorrect login message as
it should. Any Ideas?

startx works fine.



Re: A couple of Problems

1996-09-07 Thread Vadik Vygonets
On Sat, 7 Sep 1996, Jim Worthington wrote:

 (1) Netscape 3.0B7 - non debian
 
 The backspace key doesn't work.  Is this a setup problem?

Put the following line in your /etc/X11/Xmodmap:
keycode 22 = BackSpace

Vad.

++_ 
Vadik V. (_`[EMAIL PROTECTED]  http://www.nether.net/~legolas/
Vygonets (_.lf  PGP public key (ID 9FC1DED9) available from surfnet.nl
User Failure: Please Insert a Bootable Brain



Re: A couple of Problems

1996-09-07 Thread James A. Robinson
 On Sat, 7 Sep 1996, Jim Worthington wrote:
  The backspace key doesn't work.  Is this a setup problem?
 
 Put the following line in your /etc/X11/Xmodmap:
 keycode 22 = BackSpace


I've found that I need to do a bit more then this because I use
emacs.

.Xmodmap
keycode 22  = BackSpace
keycode 107 = Delete

.Xresources
! Make VT100 Backspace send ^?, and MetaKeyBackspace send ^[^?.
*VT100.Translations: #override ~MetaKeyBackSpace: string(0x7F)\n\
 MetaKeyBackSpace: string(0x1B) string(0x7F)\n\

XTerm*eightBitInput:   False
XTerm*eightBitOutput:  True


.emacs
;;; Add a DELETE key if possible.
(define-key function-key-map [delete] nil)
(global-set-key [delete] 'delete-char)



Jim



Re: A couple of Problems

1996-09-07 Thread Jim Worthington
Vadik Vygonets wrote:
 
 On Sat, 7 Sep 1996, Jim Worthington wrote:
 
  (1) Netscape 3.0B7 - non debian
 
  The backspace key doesn't work.  Is this a setup problem?
 
 Put the following line in your /etc/X11/Xmodmap:
 keycode 22 = BackSpace
 
 Vad.
 
I tried adding the line to /etc/X11/Xmodmap -- It didn't work.
I also tried creating  ~/.Xmodmap and ~/.xmodmaprc files with the 
same data.  These did not work either.

I tried typing xmodmap -e keycode 22 = BackSpace   This worked for
the session.  I suppose I could put it in the .cshrc file but something
is still broken. 

It looks as if my /etc/X11/Xsession file is not being read.  Where
does this get called from?  I suspect that whatever is causing this
problem is also responsible for my xdm problem. /etc/X11/config also
looks OK.

Jim



Re: A couple of Problems

1996-09-07 Thread Vadik Vygonets
On Sat, 7 Sep 1996, Jim Worthington wrote:

 It looks as if my /etc/X11/Xsession file is not being read.  Where
 does this get called from?  I suspect that whatever is causing this
 problem is also responsible for my xdm problem. /etc/X11/config also
 looks OK.

I'm sending you my /etc/X11/Xsession, install it with permissions 755,
owned by root.root, of course.  This is the standard debian Xsession
(maybe it's corrupted on your system).  Run xmodmap /etc/X11/Xmodmap or
re-login after installing this file...  But I can see you're not a newbie
:)

All the best,
Vad.

++_ 
Vadik V. (_`[EMAIL PROTECTED]  http://www.nether.net/~legolas/
Vygonets (_.lf  PGP public key (ID 9FC1DED9) available from surfnet.nl
User Failure: Please Insert a Bootable Brain
#! /bin/sh
#
# /etc/X11/Xsession
#
# This is the global Xsession file.  It is used by both xdm and xinit.

# If /etc/environment is present, source it. It's useful to put default
# environment settings in this file, and then source it both here and in
# /etc/profile.
if [ -f /etc/environment ] ; then
  . /etc/environment
fi

sysmodmap=/etc/X11/Xmodmap
usrmodmap=$HOME/.Xmodmap
sysresources=/etc/X11/Xresources
usrresources=$HOME/.Xresources

startup=$HOME/.xsession

for errfile in \
  $HOME/.xsession-errors ${TMPDIR-/tmp}/xses-$USER /tmp/xses-$USER
do
  if ( cp /dev/null $errfile 2 /dev/null )
  then
chmod 600 $errfile
exec  $errfile 21
break
  fi
done

case $# in
1)
  case $1 in
  failsafe)
if grep -q ^allow-failsafe /etc/X11/config
then
  exec xterm -geometry 80x24-0-0
fi
;;
  esac
esac

if [ -f $sysresources ]
then
  xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]
then
  xmodmap $sysmodmap
fi

if grep -q ^allow-user-resources /etc/X11/config
then
  if [ -f $usrresources ]
  then
xrdb -merge $usrresources
  fi
fi

if grep -q ^allow-user-modmap /etc/X11/config
then
  if [ -f $usrmodmap ]
  then
xmodmap $usrmodmap
  fi
fi

if [ -x $startup ]  grep -q ^allow-user-xsession /etc/X11/config
then
  exec $startup
else
  xterm -ls 
  if [ -e /etc/X11/window-managers ]
  then
for i in `cat /etc/X11/window-managers`
do
  if [ -x $i ]
  then
exec $i
  fi
done
  fi
  if [ -x /usr/X11R6/bin/fvwm ]
  then
exec fvwm
  fi
  exec twm
fi


Re: A couple of Problems

1996-09-07 Thread Vadik Vygonets
On Sat, 7 Sep 1996, James A. Robinson wrote:

 .Xmodmap
 keycode 22  = BackSpace
 keycode 107 = Delete

107 is Delete by default.

 Jim

The .xresources and .emacs code is nice, thanks, I copied it to my
configs.

Vad.

++_ 
Vadik V. (_`[EMAIL PROTECTED]  http://www.nether.net/~legolas/
Vygonets (_.lf  PGP public key (ID 9FC1DED9) available from surfnet.nl
User Failure: Please Insert a Bootable Brain