Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need for mozilla to autorun after the system boots. I am running an input program through a browser and do not want ANY user interaction with the OS. The machines actually have no keyboard or mouse, just a bc scanner.
Also, is there any way to get VNC or Xwin to share the same desktop as the locally logged in user like Windowz does with VNC. This way if I need to see that actual desktop I can see what the user is doing.
Originally posted by anthjaz
I need for mozilla to autorun after the system boots. I am running an input program through a browser and do not want ANY user interaction with the OS. The machines actually have no keyboard or mouse, just a bc scanner.
You could make init 3 the default runlevel,
create a user mozilla,
give the user mozilla a ~/.xinitrc
with exec mozilla as the last line
and then, from rc.local,
do a
su -c startx mozilla
I was just trying to add "mozilla" to the end of the rc.local file. I created a special user called "track" that I am using but I also need that user to autologin to the system. How would I have the user autologin to run level "init 3"?
Also, I am not sure what you meant by:
"give the user mozilla a ~/.xinitrc
with exec mozilla as the last line"
Are you saying create a file /home/track/.xinitrc
and inserting "exec mozilla"? Sorry, I am not completely sure what you are suggesting.
My rc.local file isn't running at boot automatically. If I run it manually it works and mozilla comes up. If I don't run it manually then nothing happens. The only thing that is in the rc.local file is:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
su -c startx tracking
If I run /etc/rc.d/rc.local I get an error saying permission denied and promted for a password. After I enter the password for the user "track" then the mozilla browser comes up?
successfully with no password prompt and go directly into mozilla, but user "tracking" gets prompted for password. But I still have to run the command manually.
Sorry m8, but I'm at loss here ... that root/tracking
should be denied permission to run startx
can only mean that this is a DeadRat (Fedora)
specific feature ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.