access to local Xserver?

2001-09-15 Thread Egon Willighagen

Hi all,

first of all i want to congratulate the packagers for their
great effort in packaging KDE2.2!

I do have a problem though... when I 'su' as a regular user
i do not have access to the local Xserver to run X-programs.
This worked before i upgraded to KDE2.2. I'm sure it is just
a setting somewhere, but i really do not know where to look...

Additionally, i would like to run software on a server at our
university and view to output on my screen... this, ofcourse,
does not work as well...

Can anyone help me out?

regards,

Egon




Re: access to local Xserver?

2001-09-15 Thread Oswald Buddenhagen
> I do have a problem though... when I 'su' as a regular user
> i do not have access to the local Xserver to run X-programs.
> This worked before i upgraded to KDE2.2. I'm sure it is just
> a setting somewhere, but i really do not know where to look...
> 
it may be related to the Authorize setting in the [X-:*-Core]
section of kdmrc - set it to false, if you want no X security.
since i don't like the above solution, i have this script in my
root's .profile:

ppid=`ps ho ppid $$`
whose=`COLUMNS=1 ps heo user,ucmd $ppid`
if test -n "$whose" -a "${whose%% *}" != root; then
  eval $(echo "$whose"|sed -ne 's/.*\.*/export 
DISPLAY=\1/p; t end; d; :end q')
  test "$DISPLAY" && xauth merge $(echo "$whose"|sed -ne 's/.*\.*/\1\/\.Xauthority/p; t end; d; :end q')
fi
unset ppid whose

> Additionally, i would like to run software on a server at our
> university and view to output on my screen... this, ofcourse,
> does not work as well...
> 
as long, as these systems are in one nis-/nfs-domain, there should be no
problem. for random hosts, you need something like that:

delphi$ xauth nextract - delphi:0.0 | rsh is2101 /usr/X11R5/bin/xauth nmerge -
delphi$ rsh is2101
is2101$ xterm -display delphi:0.0

you could automate this by extending your xon script.

btw, the simplest solution for transporting xauth data is to use ssh with
X forwarding enabled ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Nothing is fool-proof to a sufficiently talented fool.




Re: access to local Xserver?

2001-09-15 Thread Egon Willighagen
On Saturday 15 September 2001 10:19, Oswald Buddenhagen wrote:
> btw, the simplest solution for transporting xauth data is to use ssh with
> X forwarding enabled ...

Yes, this is what i do when i remote login to the server at the university,
but since the upgrade that did not work no more...

I'll try your code now...

Egon




Unix "lifetime-mail"

2001-09-15 Thread J . R . ter Haseborg
Hi,
does anyone know the kind of mail shown below?
It seems to be the unix time.
I receive this mails now and then and don't know which system service sends 
this mails and why.

Jan Remmer t.H.


Example:
--
Content-Type: 
Status: RO
X-Status: O

1 1000502681.9146
--




_Probably_ unrelated, but... (Re: Unix "lifetime-mail")

2001-09-15 Thread Chris Boyle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 15 Sep 2001 1:53 pm, J.R. ter Haseborg wrote:
> does anyone know the kind of mail shown below?
> It seems to be the unix time.
> I receive this mails now and then and don't know which system service sends
> this mails and why.

Are you using KMail? I am, and I've very occasionally received mails looking 
something like that which may have been caused by a bug in KMail (or kio_pop3 
or another component). It hasn't happened for quite a while now.

> Example:
> --
> Content-Type:
> Status: RO
> X-Status: O
>
> 1 1000502681.9146
> --

I don't have an example available, but I think the ones I got looked more 
like responses to the LIST command (hence my thinking it was a bug...), i.e.

1 2913
2 3101


Re: access to local Xserver?

2001-09-15 Thread Ben Burton

> I do have a problem though... when I 'su' as a regular user
> i do not have access to the local Xserver to run X-programs.

Check /etc/kde2/kdm/Xservers.  If you see "-nolisten tcp" on the server
line then you have TCP/IP access to the Xserver disabled.  This became the
default some time recently; I had the same problem also.

Try deleting "-nolisten tcp" and see if things work for you.

Ben.




RE: Problems with kdevelop 1.4

2001-09-15 Thread Jarno Elonen
> I just installed kdevelop on my potato machine and have a problem
> with the help system. kdevelop-setup tells me that it cannot find 
>   htsearch
> and therefor not create the index for the documentation.

"apt-get install htdig" installs htsearch in "/usr/lib/cgi-bin/", from where 
kdevelop can't find it. Here's a quick fix:

  cd /usr/bin/
  ln -s ../lib/cgi-bin/htsearch htsearch

I'm not sure wether this should be fixed in htdig's package or in 
htdevelop's. My vote goes for htdig. Opinions?

- Jarno




objprelink

2001-09-15 Thread Maximilian Reiss

 qt-x11 (2:2.3.1-13) unstable; urgency=low
 .
   * Due to better sense don't use objprelink..wait for the proper prelinker
 stuff to show up   

Does this means it is compiled _without_ objprelink?

Max




objprelink and lintian errors

2001-09-15 Thread Ben Burton

Hi.. I'm building packages using objprelink and getting lintian errors
similar to the following:

E: noatun-plugins: shlib-with-non-pic-code usr/lib/libnoatunluckytag.so.0.0.0
E: noatun-plugins: shlib-with-non-pic-code usr/lib/libnoatunmadness.so.0.0.0
E: noatun-plugins: shlib-with-non-pic-code usr/lib/libnoatunwakeup.so.0.0.0

I build without objprelink and there's no problems.

The new error messages are due to a change in lintian - packages I built a
few weeks ago that were lintian clean now give similar errors.

Is anyone else running into this?  Does anyone know if it's lintian being
over-zealous or if objprelink is causing policy violations in the packages
that use it?  Or am I just abusing objprelink?

Ben.




Re: Problems with kdevelop 1.4

2001-09-15 Thread Norman Jordan
It doesn't matter if KDevelop 1.4 can find htsearch. It will still not be able
+to index the documentation if you are using the Debian package of htdig.

As for the problem of finding htsearch, that can be fixed in KDevelop.

On Sat, Sep 15, 2001 at 09:36:47PM +0300, Jarno Elonen wrote:
> > I just installed kdevelop on my potato machine and have a problem
> > with the help system. kdevelop-setup tells me that it cannot find 
> >   htsearch
> > and therefor not create the index for the documentation.
> 
> "apt-get install htdig" installs htsearch in "/usr/lib/cgi-bin/", from where 
> kdevelop can't find it. Here's a quick fix:
> 
>   cd /usr/bin/
>   ln -s ../lib/cgi-bin/htsearch htsearch
> 
> I'm not sure wether this should be fixed in htdig's package or in 
> htdevelop's. My vote goes for htdig. Opinions?
> 
> - Jarno
> 

-- 
Norman Jordan <[EMAIL PROTECTED]>
GnuPG public key available at http://rtfm.phpwebhosting.com/gnupg_key.txt
Fingerpring: 1024D/095918D0 807B A7C5 0D7D 81C0 C21F  1D36 775A C806 0959 18D0




Re: objprelink

2001-09-15 Thread Ivan E. Moore II
On Sat, Sep 15, 2001 at 11:07:29PM +0200, Maximilian Reiss wrote:
> 
>  qt-x11 (2:2.3.1-13) unstable; urgency=low
>  .
>* Due to better sense don't use objprelink..wait for the proper prelinker
>  stuff to show up 
> 
> Does this means it is compiled _without_ objprelink?

Well I would htink that "don't use objprelink" would me don't use it. :)

-- 

Ivan E. Moore II
[EMAIL PROTECTED]
http://snowcrash.tdyc.com
GPG KeyID=90BCE0DD
GPG Fingerprint=F2FC 69FD 0DA0 4FB8 225E 27B6 7645 8141 90BC E0DD




Re: objprelink and lintian errors

2001-09-15 Thread Ivan E. Moore II
yes...that's a side effect of using objprelink.  

On Sat, Sep 15, 2001 at 04:17:12PM -0500, Ben Burton wrote:
> 
> Hi.. I'm building packages using objprelink and getting lintian errors
> similar to the following:
> 
> E: noatun-plugins: shlib-with-non-pic-code usr/lib/libnoatunluckytag.so.0.0.0
> E: noatun-plugins: shlib-with-non-pic-code usr/lib/libnoatunmadness.so.0.0.0
> E: noatun-plugins: shlib-with-non-pic-code usr/lib/libnoatunwakeup.so.0.0.0
> 
> I build without objprelink and there's no problems.
> 
> The new error messages are due to a change in lintian - packages I built a
> few weeks ago that were lintian clean now give similar errors.
> 
> Is anyone else running into this?  Does anyone know if it's lintian being
> over-zealous or if objprelink is causing policy violations in the packages
> that use it?  Or am I just abusing objprelink?
> 
> Ben.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
---end quoted text---

-- 

Ivan E. Moore II
[EMAIL PROTECTED]
http://snowcrash.tdyc.com
GPG KeyID=90BCE0DD
GPG Fingerprint=F2FC 69FD 0DA0 4FB8 225E 27B6 7645 8141 90BC E0DD




Re: objprelink and lintian errors

2001-09-15 Thread Ben Burton

> yes...that's a side effect of using objprelink.

So does this mean package maintainers should stop using objprelink because
it's causing policy violations?  Or is the lintian check slightly broader
than policy and objprelink within the margin of error?

Ben.




Re: access to local Xserver?

2001-09-15 Thread Jason Boxman
On Saturday 15 September 2001 03:59 am, Egon Willighagen wrote:
> Hi all,
>
> first of all i want to congratulate the packagers for their
> great effort in packaging KDE2.2!
>
> I do have a problem though... when I 'su' as a regular user
> i do not have access to the local Xserver to run X-programs.
> This worked before i upgraded to KDE2.2. I'm sure it is just
> a setting somewhere, but i really do not know where to look...

I have the ultra insecure "xhost + &" in my .xsession file.  Root can access 
the X server fine.

I do have notcp for X though.

> Additionally, i would like to run software on a server at our
> university and view to output on my screen... this, ofcourse,
> does not work as well...
>
> Can anyone help me out?
>
> regards,
>
> Egon




Re: objprelink

2001-09-15 Thread Jason Boxman
On Saturday 15 September 2001 06:03 pm, Ivan E. Moore II wrote:
> On Sat, Sep 15, 2001 at 11:07:29PM +0200, Maximilian Reiss wrote:
> >  qt-x11 (2:2.3.1-13) unstable; urgency=low
> >  .
> >* Due to better sense don't use objprelink..wait for the proper
> > prelinker stuff to show up
> >
> > Does this means it is compiled _without_ objprelink?
>
> Well I would htink that "don't use objprelink" would me don't use it. :)

D'oh.  I compiled the whole slew of KDE 2.2.0 Sid sourc packages on Woody 
with objprelink since stuff was blowing up without it.  I compiled a Sid 
binutils and everything, too.  Was that bad?




Re: access to local Xserver?

2001-09-15 Thread Tom Joseph
Another hack to do this that is less insecure is (assuming you're logged in 
as "somebody" and running X):

[EMAIL PROTECTED]:~$ su
Password:
[EMAIL PROTECTED]:/home/somebody# cp ~somebody/.Xauthority ~

--Tom Joseph

On Saturday 15 September 2001 06:54 pm, Jason Boxman wrote:
> On Saturday 15 September 2001 03:59 am, Egon Willighagen wrote:
> > Hi all,
> >
> > first of all i want to congratulate the packagers for their
> > great effort in packaging KDE2.2!
> >
> > I do have a problem though... when I 'su' as a regular user
> > i do not have access to the local Xserver to run X-programs.
> > This worked before i upgraded to KDE2.2. I'm sure it is just
> > a setting somewhere, but i really do not know where to look...
>
> I have the ultra insecure "xhost + &" in my .xsession file.  Root can
> access the X server fine.
>
> I do have notcp for X though.
>
> > Additionally, i would like to run software on a server at our
> > university and view to output on my screen... this, ofcourse,
> > does not work as well...
> >
> > Can anyone help me out?
> >
> > regards,
> >
> > Egon