Re: [SLUG] Init script to start VNC server as user (Debian)

2004-10-13 Thread amos
Simon Wong wrote:
Okay, so know I'm trying to start a VNC server with an init script as a
given user (on Debian).
As root I have tried running:
[EMAIL PROTECTED] : ~
# start-stop-daemon --start --chuid simon --user simon --exec \
/usr/bin/vncserver --chdir /home/simon/  -- -geometry=800x600

vncserver: Could not create /root/.vnc.

It appears that this is not actually changing to my user BEFORE starting
the process as the man page states.
It seems to be trying to write to root's home dir.
Actually it appears that it DOES chuid to your user but doesn't update
the $HOME envariable and therefore tries to write to ~root/.vnc as the
user. Maybe try to prefix this command with env HOME=/home/simon
start-stop-daemon  Another option to set this might be hiden in
/etc/vnc.conf, maybe something to do with $vncUserDir.

I couldn't find a bug on this so I'm assuming I'm not doing it right.
Anyone know how to make this work, or do I need to make a script that
uses su?
This seems to work but it's not l337:

[EMAIL PROTECTED] : ~
# su simon -c 'vncserver -geometry 800x600'

New 'voyager:1 (simon)' desktop is voyager:1

Starting applications specified in /home/simon/.vnc/xstartup
Log file is /home/simon/.vnc/voyager:1.log

What does su simon -c 'echo $HOME' give? On my debian with tcsh it
gives /home/amos (i.e. the user's home dir), which would agree with my
explenation above.
Cheers,
--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] alsaconf query.

2004-10-13 Thread Bill Bennett
Has anyone had any experience with alsaconf?

I'm trying to get some sound out of my (IBM 600e) laptop
and, according to some people on LinuxQuestions, alsaconf
is the way to go.

Any help etc.,

Regards,

Bill bennett

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Virus Quarantine Notification

2004-10-13 Thread NetCarrier Virus Filter
Dear [EMAIL PROTECTED],

Do not reply to this message.
An email message you sent to [EMAIL PROTECTED] with the subject Mail Delivery 
(failure [EMAIL PROTECTED]) appears to contain a virus and has been quarantined for 
everyone's safety. If you have any questions, please contact us at [EMAIL PROTECTED]


NetCarrier
http://www.netcarrier.com/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] alsaconf query.

2004-10-13 Thread amos
Bill Bennett wrote:
Has anyone had any experience with alsaconf?
I'm trying to get some sound out of my (IBM 600e) laptop
and, according to some people on LinuxQuestions, alsaconf
is the way to go.
Any help etc.,
 

Regards,
Bill bennett
 

As far as I remember you just run it and it does its thing. At least on 
my Debian testing
system that's mostly the way it worked.

--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Scirpt Via browser Gives code=SERVER_RESPONSE_CLOSE !

2004-10-13 Thread Louis
Title: Message



The 
script can be also be executed from the command line. It can take 
anywhere
between 2 to 3 hrs to complete.

So 
does this mean that I cannot get it to run via browser ?

What 
about parsing the call via LWP ? If the browser times out would the LWP 

url 
called still run anyway ?

Louis.

  
  -Original Message-From: Roger Barnes 
  [mailto:[EMAIL PROTECTED] Sent: Wednesday, 13 October 2004 
  09:06To: LouisSubject: RE: [SLUG] Scirpt Via browser 
  Gives code=SERVER_RESPONSE_CLOSE !
  Assuming your web browser is apache, I believe there is a 
  Timeout parameter set in the httpd.conf file. Keep in mind that the 
  problem may be the browser timing out, and any web page request that runs for 
  more than a minute should really be optimised or delivered in a different 
  way.
  
  - R
  


From: Louis 
[mailto:[EMAIL PROTECTED] Sent: Tuesday, 12 October 
2004 8:21 PMTo: Roger BarnesCc: 
[EMAIL PROTECTED]Subject: RE: [SLUG] Scirpt Via browser Gives 
code=SERVER_RESPONSE_CLOSE !

Hi 
Roger:

The browser is Internet 
Explorer.

Red hat Linux 7.3

The script runs on the web server and I have root 
access for it.

Where do I check timeouts on the web server for cgi 
requests ?

Thanks

Louis.

  
  -Original Message-From: Roger Barnes 
  [mailto:[EMAIL PROTECTED] Sent: Tuesday, 12 October 2004 
  09:31To: LouisSubject: RE: [SLUG] Scirpt Via browser 
  Gives code=SERVER_RESPONSE_CLOSE !
  What browser, what server, what linux (trying to keep 
  it on topic)? Are you running the script locally or through a web 
  server? If web server, is the web server configured to time out CGI 
  requests? If you are not the system administrator, have you 
  contacted them?
  


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
LouisSent: Monday, 11 October 2004 8:27 PMTo: 
[EMAIL PROTECTED]Subject: [SLUG] Scirpt Via browser Gives 
code=SERVER_RESPONSE_CLOSE !


Hi Sluggers:
When I call a script via the browser that takes some times
to run I get this error from the browser and it stops
the script.

Server Error
The following error occurred:
[code=SERVER_RESPONSE_CLOSE] The server closed the connection while 
reading the response. Contact your system administrator. 
Please contact the administrator

How can I deal with this to get the script to run right to the end 
?
Thanks.
Louis.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Keyboard error with X.org server

2004-10-13 Thread Rod Butcher
I compiled  installed X.org 6.8.1 as per the instructions. On reboot I get
a X6.8.1 failure message 'Failed to load module Keyboard '. I included
keyboard and mouse in the XInputdrivers #include in host.def.
Any pointers ?
thanks
Rod

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Fixed - Keyboard problem with X.org 6.8.1

2004-10-13 Thread Rod Butcher
Seems the keyboard module starts with k in X.org, whereas with XFree86 
it must have started with K. So I just edited XF86Config and Hey 
Presto - Linux graphics that are now as good as or better than windows. 
Marvellous.
Rod
---
Brought to you by a thunderbird, penguin, gnu and a camel
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Rusya'da bir Türk okulu

2004-10-13 Thread Muhammed T.



Trke - English ? Arabic ? German - Danish
Rusya'da bir Trk 
okulu

PETERSBURGar I. Petro'nun 
kurduu ehirde bir Trk okulu... Trkiye'den a Eitim Vakf ile Rus Milli 
Eitim Bakanl ve Petersburg blge belediyesi bir anlama yapm, okul dokuz 
yl nce ona gre kurulmu.Okul ynetiminde en yetkili olan 'kurucu 
temsilcisi' Trk, okul mdr Rus... 18 Trk retmenin bei bayan. Rus retmen 
says yirmi. 210 renciye bu kadar retmen!Okulun kurucu temsilcisi Ali 
Trkeli, edebiyat retmeni. Edebiyat ve felsefe bilgisine hayran kaldm. 
Rusay ve Rus edebiyatn da ok iyi biliyor. O anlatt:- stanbul'da 1 
milyon 800 bin renci, 80 bin retmen var. Petersburg'da ise renci says 
800 bin, retmen says 70 bin. Bu ehirde her yl 43 bin lise mezunundan 39 
bini niversiteye giriyor?! Bizim mezunlarmzn tamam niversiteyi, hem de 
devlet niversitelerini kazanyor.Petersburg niversitesi 1818'de alm, 
bizim Darlfnun'dan 80 yl nce. sosyalizmin de eitim alannda ok baarl 
olduunu belirtmeliyim.* * *TRK okulunun bu ylki mezuniyet 
trenindeyiz. Petersburg blgesi Belediye Bakan Georgi Abeleyev, okulun 
eitimdeki baarsn ve Trk - Rus dostluunu ven bir konuma yapyor.a 
Eitim Vakf okullarnn Genel Koordinatr smail Tas, Trke ve Rusa 
konuuyor, okullarnn kurulu tarihesini ve rakamlarla baarsn 
anlatyor.stanbul Milli Eitim Mdr mer Balbey, Trkiye'de baz anadolu 
ticaret liselerinde Rusa dersinin okutulacan sylediinde salonda bir alk 
kopuyor.Salonda bir "Avrasya ruhu" seziyorum.Baarl rencilerden 
birine de ben diploma verdim. Ksa konumamda Trk ve Rus edebiyatndaki Dou - 
Bat atmasnn paralelliini hatrlatarak unu syledim:- Ben Trkiye'nin 
Avrupa Birlii'ne ye olmasn istiyorum ve bu gerekleecek. Ama Trklerle 
Ruslarn el ele vererek bir Avrasya ekonomisi ve dostluu yaratmas mmkndr ve 
gereklidir.Konuan Rus renci velileri okulu vdler, hem bilgi vermesi hem 
karakter terbiyesi bakmndan* * *RENC korosu Trke ve Rusa 
arklar sylyor, en ok Tarkan'la Bar Mano'yu seviyorlar. Sevimli Rus 
rencilerden "Glpembe..."yi dinlerken duygulandm, Bar' rahmetle, zlemle 
andm.Trk sanat mzii sanats Zara'nn nefis sesiyle syledii tempolu 
arklar, Trk - Rus herkesi coturuyor.rencilerin Trkesi gzel... Alina 
Bolakova TV sunucusu, Maa Kanderetava ngilizce retmeni olmak istiyor. rina 
Gutkova'nn amac Boazii niversitesi'nde iletme okumak.Okul yatl. Ali 
Trkeli diyor ki:- Yatl olmas, ngilizce ve Trke retimini 
kolaylatryor.Ve renciler bize muhteem bir vals gsterisi yapyorlar. O 
mzik, o ihtiam... Hele okulun maskotu haline gelmi be yalarndaki u kk 
kzla kk olann kuular gibi vals yapmas, grmeliydiniz.Bu okul burada 
Trk dilinin, kltrnn, Trk - Rus dostluunun ve ada eitimin bir burcu 
olmu.Fethullah Glen'in tevikiyle kurulan okullardan biri bu... Bu okullar 
Trk kltrnn mealeleridir.[EMAIL PROTECTED]
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Converting mpc files to ogg

2004-10-13 Thread Alexander Samad
Hi

Recently got some mpc audio files and I would like to be able to convert
these to ogg or something else similiar, but haven't been able to find
any thing that runs under linux


Alex


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Converting mpc files to ogg

2004-10-13 Thread amos
Alexander Samad wrote:
Hi
Recently got some mpc audio files and I would like to be able to convert
these to ogg or something else similiar, but haven't been able to find
any thing that runs under linux
Alex
Some googling quickly showed that these are probably Musepack files, and
here is a site which looks relevant: http://www.musepack.net
Cheers,
--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: returing control to script after ftp, was: [SLUG] scripting ftp login

2004-10-13 Thread Peter Rundle
unindent the
ftp  SCRIPT
.
.
.
SCRIPT
I think the closing SCRIPT needs to be at the beginning of the line.
Correct! or just unindent the final SCRIPT. SCRIPT tells it to look 
for SCRIPT. The indented  SCRIPT isn't a match.

P.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Mixing Desk Automation

2004-10-13 Thread Kevin Fitzgerald
Hi. No this is a Pre-MIDI Desk. I'm trying to get more details



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Erik de Castro Lopo
Sent: Monday, 11 October 2004 5:21 PM
To: [EMAIL PROTECTED]
Subject: Re: [SLUG] Mixing Desk Automation


On Mon, 11 Oct 2004 16:48:49 +1000
Kevin Fitzgerald [EMAIL PROTECTED] wrote:

 Hi all
  
 Bit of a Left field question for you. I have  amate who is an audio 
 engineer and an analogue purist. He wants automation for his sound 
 desk (Mimics the actions he makes with the faders etc) Anyway.

OK so far.

 His desk has the capability

What format does the desk send an receive? Its usually MIDI.

 and he can stripe the tape with SMPTE but needs some
 way of recording the movements and playing them back.

Well SMTPE is only the time base, you can't encode the automation that
way.

 There is a commercial software package called Disk Mix  by otari that 
 can do it but it is a $4000 price tag. Does anyone out there know of a

 linux alternative??

Well assuming that the desk uses MIDI automation, it is theoretically 
possible, but probably a bit of fiddling around.

Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
The growing and dangerous intrusion of this new technology, threatens
an entire industry's economic vitality and future security. -- Jack
Valenti (MPAA president) on the video cassette recorder, 1982.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 8/10/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 8/10/2004
 

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Apple 23

2004-10-13 Thread Ben de Luca
AL?
I think i set up those boxes, many moons ago. Didn't you sack your 
linux staff because you were going all mac?


On 13/10/2004, at 3:18 PM, Malik Jayawardena wrote:
Hi,
Does anyone have any clue about getting an Apple 23 display running 
at full res ([EMAIL PROTECTED]) on XFree86?

Haven't tried it yet, but I'd like to get a heads up.
I know it's old but we're using RH 7.3 at the mo.
Cheers,
-Mal
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Slow Name resolving

2004-10-13 Thread Peter Rundle
Sluggers,
Is anybody else noticing slow name resolves of late? I'm running bind on 
Rh7.3 at home and on Fedora 2 at work and at both sites I'm seeing slow 
name resolving when browsing. I've checked the named.ca files and both 
are dated January 2004.

Anyone aware of any other issues that might be causing this?
Cheers
P.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] asking about PHP and TWO FISH using Mcrypt

2004-10-13 Thread pesoy misak
Dear all

I am currently in the development for a website using PHP and Linux. the problem is we are getting the data from the server that we are working on in encrypted data using two fish algorithm and using 128 cipher in ECB mode. as I noticed in the PHP that the two fish only using 196 and 216 now the problem is I can't decrypt the data. 
Is there any hint

many thanks


		Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html