-   Programming (
-   -   "dialog --radiolist" distorted in Ubuntu-10.04 virtual machine (

axay_singh 06-14-2010 09: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


vikas027 06-15-2010 08: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 04:10 PM


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

Thanx alot !!!!

vikas027 06-16-2010 01:09 AM

Hi Ajay,

Glad you solved it out.

Request you to follow my signature :)
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 03:06 AM

Hello Vikas,

My name is Akshay not ajay


All times are GMT -5. The time now is 06:24 AM.