LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   "dialog --radiolist" distorted in Ubuntu-10.04 virtual machine (http://www.linuxquestions.org/questions/programming-9/dialog-radiolist-distorted-in-ubuntu-10-04-virtual-machine-814045/)

axay_singh 06-14-2010 08:39 AM

"dialog --radiolist" distorted in Ubuntu-10.04 virtual machine
 
My shell script is running fine when I am login in Virtual Machine(Ubuntu-10.04) but it is distorted when I keep it in /etc/init.d/rc.local for running it in startup.
1. At startup in radiolist it is showing stars are going outside the dialog box when selected
2. Few time if I select other option then the previous selection is still appearing ie showing multiple selection

dialog --backtitle "VM" --radiolist " Advance Configuration Menu" 25 60 10 1 "Network Configuration" on 2 "Restart" off 3 "Shutdown" off 4 "Return to Main Menu" off 5 "Exit" off 2> /tmp/error.err

Any one !!!!!
Thanx in advance

Akshay

vikas027 06-15-2010 07:17 AM

I do not know at which point in boot process are you trying to run this script. I believe the script is not getting the right environment.

I would recommend you append this script in /etc/rc.local

axay_singh 06-15-2010 03:10 PM

Rit

I have resoled the issue using the following entry in /etc/rc.local
openvt -s -w <script>

Thanx alot !!!!

vikas027 06-16-2010 12:09 AM

Hi Ajay,

Glad you solved it out.

Request you to follow my signature :)
i.e.
Please go to top of your thread and in the Thread Tools click on "Mark this thread as solved". This is very useful for others.

axay_singh 08-17-2010 02:06 AM

Hello Vikas,

My name is Akshay not ajay

Thanx


All times are GMT -5. The time now is 03:26 PM.