The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Error Message chapmana UNIX for Dummies Questions & Answers 5 11-29-2006 07:41 AM
Error Message RDM00 UNIX for Dummies Questions & Answers 2 10-06-2006 03:43 PM
getting last error message tttttt UNIX for Dummies Questions & Answers 1 07-26-2006 11:07 AM
Error message ghuber UNIX for Advanced & Expert Users 1 11-14-2005 02:04 AM
error message alisev UNIX for Dummies Questions & Answers 3 01-08-2002 01:01 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-20-2004
Registered User
 

Join Date: Apr 2004
Location: /FRANCE/Nantes
Posts: 38
error message vnc

The vncpasswd command was launched.
Running vncserver on AIX 5.2 works fine as root. But I want execute it in the inittab I get this error message:

Can't get password: not a tty?

Any ideas what's up?

Thinks!
__________________
AIX 5.2


C@stelior
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-20-2004
Registered User
 

Join Date: Sep 2003
Location: Canada
Posts: 56
Re: error message vnc

Quote:
Originally posted by Castelior
The vncpasswd command was launched.
Running vncserver on AIX 5.2 works fine as root. But I want execute it in the inittab I get this error message:

Can't get password: not a tty?

Any ideas what's up?

Thinks!
Not sure if the inittab thing is right, but I think you should double check if the the password was set for that user (check its ~/.vnc/passwd file).
Reply With Quote
  #3 (permalink)  
Old 10-20-2004
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Could you post the line from inittab?

Personally, I'd stick a script in /etc/init.d (this is linux - change this to whatever AIX uses), and then place the appropriate K* and S* scripts in the runlevel directories, rather than trying to fire this up through /etc/inittab directly.

Cheers
ZB
Reply With Quote
  #4 (permalink)  
Old 10-21-2004
Registered User
 

Join Date: Apr 2004
Location: /FRANCE/Nantes
Posts: 38
Quote:
Originally posted by zazzybob
Could you post the line from inittab?

In my inittab, I launch this command:
toto1:2nce:sh /tools/system/job/inittab.sh >/dev/console 2>&1



and in my script inittab.sh I have :
/usr/local/bin/vncserver 1>/tools/system/log/vnc.log 2>&1


The error message is in /tools/system/log/vnc.log



NB: in inittab.sh, I have others scripts launched in the boot
I want absolutly used a script and not write the other scripts in inittab...


I hope it's clear....??
__________________
AIX 5.2


C@stelior
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:00 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0