LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-14-2010, 08:39 AM   #1
axay_singh
LQ Newbie
 
Registered: Feb 2008
Location: Delhi
Distribution: Red Hat Linux
Posts: 8

Rep: Reputation: 0
Wink "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
 
Old 06-15-2010, 07:17 AM   #2
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
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
 
Old 06-15-2010, 03:10 PM   #3
axay_singh
LQ Newbie
 
Registered: Feb 2008
Location: Delhi
Distribution: Red Hat Linux
Posts: 8

Original Poster
Rep: Reputation: 0
Rit

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

Thanx alot !!!!
 
Old 06-16-2010, 12:09 AM   #4
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
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.
 
1 members found this post helpful.
Old 08-17-2010, 02:06 AM   #5
axay_singh
LQ Newbie
 
Registered: Feb 2008
Location: Delhi
Distribution: Red Hat Linux
Posts: 8

Original Poster
Rep: Reputation: 0
Hello Vikas,

My name is Akshay not ajay

Thanx
 
  


Reply

Tags
dialog, error



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Loading virtual machine" bitlet.org stops here youngstorm Linux - Software 2 04-29-2008 12:53 PM
converting shell script from "dialog" to "xdialog" kushalkoolwal Programming 1 02-25-2008 08:40 PM
wan't to run "Virtual Machine Installation (XEN)" on SuSE 10? AQG Linux - Software 1 02-08-2006 10:48 PM
"No Java virtual machine could be found from your PATH" - ignores bashrc shaider Linux - Software 7 10-09-2004 12:38 AM
How to install Suse 9.0 via ftp "as a virtual machine(vmware)" in windows-XP host megoon Linux - Networking 0 12-15-2003 04:53 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration