Ubuntu :: Autostart Program As Root After Autologin?

May 5, 2011

my system has an autologin as root defined by custom.conf which is located in /etc/gdm : Code: [daemon]

TimedLoginEnable=false
AutomaticLoginEnalbe=true
TimedLogin=root
AutomaticLogin=root
TimedLoginDelay=30

And I would like to have the program "expfit_spifunc2" executed after the auto login. So, I have added "xterm_expfit.desktop" inside of /root/.config/autostart

"xterm_expfit.desktop" code:
Code: [Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=xterm_expfit
code....

View 7 Replies


ADVERTISEMENT

General :: Fedora Autologin In Runlvel 3 And Autostart Application?

Jul 6, 2010

I have a single kernel with 2 menu entries in grub like following:

Boot(gfx)
Boot(text)

First entry boot the fedora in graphical mode running the gnome.
Second entry boot the fedora in text mode.

First thing is working fine but i want to know how to do the second thing. i added 3 at the end of second entry in syslinux.cfg and after booting it dropped me at console asking for login.

So how to autologin in runlevel 3 and start autostart an application(e.g python script)?

View 1 Replies View Related

Fedora :: Autologin On Console (FC13) / Enable Autologin On Desired Tty For Certain User?

Aug 8, 2010

Code:
# cat /etc/init/tty.conf
# This service maintains a getty on the sepcified device.

stop on runlevel [016]
respawn
instance $TTY
exec /sbin/mingetty $TTY
exec /sbin/mingetty --autologin user tty1
when i use this conf I'm auto logged back in again , and cant't execute any command
commenting pre-last line has no effect.

How to enable autologin on desired tty for certain user?

View 6 Replies View Related

OpenSUSE Install :: Inconsistent Autologin / Can't Get Autologin To Work Consistently?

Nov 29, 2009

I've been on 11.2 KDE for about a week (clean install). Previously on 11.1 Gnome. Everything's great except I can't get Autologin to work consistently. It worked perfectly in 11.1 Gnome! In 11.2 KDE sometimes it works and sometimes it doesn't. I set it up as root in both Yast and System Settings.

View 6 Replies View Related

OpenSUSE Install :: Autologin Xfce 4 / Can Not Enable Autologin?

Feb 17, 2010

I use Xfce 4.I can not enable autologin.I make the necessary changes:

Yast
system
editor / etc / sysconfig /
desktop
display manager
and put my name in
DISPLAYMANAGER_AUTOLOGIN
code....

View 9 Replies View Related

Debian :: Autologin Not Working / Get It To Autologin At Startup?

Dec 1, 2010

I've built a system and installed Debian 5.0.7 on it, the one thing I'd like to do is to get it to autologin at startup. I've changed my /etc/inittab and ~/.bash_profile as per the instructions in this thread:

viewtopic.php?f=16&t=29333

so that they look like this:
/etc/inittab:
# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $
code....

View 3 Replies View Related

Ubuntu :: Autostart Program Not Working?

May 23, 2010

I have a java application that is in this path: java -jar /home/jbo10/.stuff/run.jar

If I type that command the gui comes up and it's ready to run. I want this program to autostart with ubuntu, so I went into gnome-session-properties and put that command in there.

But it's not starting. I'm not sure what I'm doing wrong or if there's another way to autostart programs?

View 5 Replies View Related

Ubuntu Multimedia :: Autostart A Script As A Program?

Mar 7, 2011

How can I make a script file a runnable thread auto-start program. the script is: executable permission I add: #! bin/sh -e at the first of the code I add /home/sok/Scripts/check.sh at the end of /etc/rc.local before exit 0 I add /home/sok/Scripts/check.sh in Autostart as program. I restart the system. no effect.

View 4 Replies View Related

Ubuntu :: How To Autostart Processes As Root

May 21, 2010

How do I get processes to run as root during startup? I have a random script and a package which both need to run as root in the background, but I can't find a way to do this automatically.

View 1 Replies View Related

CentOS 5 :: Can't Autostart Program At Boot

Jan 1, 2011

CentOS 5.5, I've installed Synergy to share my keyboard/mouse and it works fine. Now I'm trying to get it to load automatically at boot.

The command is simple, "synergyc <computername>".

I've tried putting the command (see above) into rc.local I've tried putting the command in a script and referencing in in rc.local I've followed the instructions for building it into init levels (2-5) with chkconfig

Quote:chkconfig --list
synergy.sh 0:off 1:off 2:on 3:on 4:on 5:on 6:off

View 19 Replies View Related

General :: Autostart Program In Lubuntu LXDE (on Boot)?

Jan 17, 2011

I've got it to the point it will run when you login by adding a line to the /etc/xdg/lxsession/Lubuntu/autostart file. Added "synergyc 111.111.1.11" and it works perfect. So the main question is, how can I add that line somewhere, somehow to start on boot and not by login?

View 1 Replies View Related

Ubuntu :: How To Run Program As Root

Jul 6, 2011

In 11.04 natty, I can't find a way to run a program with Administrator privileges.Specifically, I'm trying to configure sbackup by using the Simple Backup Configuration frontend. I always used to run this manually, set my backup schedules, and then let the program carry out backups in the background. In the new version, the scheduling options are greyed out unless you're logged in as Admin.

I've asked the question in the sbackup forum (no answer so far!) but in general terms, how do I run an application with Administrator/root privileges?

View 6 Replies View Related

Ubuntu :: Run A Program As Super User (root)?

Feb 15, 2011

I have been trying to run the program unrevoked so that I can flash and root my phone. I want to do this on Linux, but this requires me to run the program as root and I don't know how to do this. I looked it up online and it told me to simply type sudo reflash or gksudo reflash and I tried both, sudo says it can't find the program and gksudo does something then nothing appears to happen.

View 4 Replies View Related

Fedora :: Run Program As Root?

Apr 19, 2011

How do I run a program as root? I want to run BleachBit as root, on Ubuntu I did "sudo bleachbit" what do I type on Fedora?

View 14 Replies View Related

Ubuntu :: After A Crash The GDM Wan't Autologin?

Mar 14, 2011

Sometimes(after a crash??) the GDM wan't autologin, is there a way to always autologin? The pc is running in a kiosk environment so it is really annoying that the machine are left in the login shell after a restart/boot.

View 2 Replies View Related

Ubuntu :: Difference: Run Program From Rc2.d Or From Root Command Line?

Mar 26, 2010

Example: In rc2.d I have S99test. In it: Code: #!/bin/sh mplayer -playlist "/music/Thom Yorke - The Eraser" Reboot; hear the loveliness; press pause (lirc setup)...still loveliness.

Login as root; "pkill mplay";hear nothing; "/etc/rc2.d/S99test"; more loveliness; press pause...silence! I know that i the former case, mplayer is assigned (for lack of a proper term) to a session, e.g. tty1. Not so in the latter. But why should a program like mplayer not receive (or ignore?) input from lircd, simply because it doesn't have a session? And how can I get mplayer (or any program run from boot scripts) to work with other programs (like lircd)?

View 1 Replies View Related

Ubuntu :: Make A Program Start On Boot, But Not Under Root?

Jul 7, 2010

I need to make my website autostart after reboot. I may just add it to rc.local but i don't want it to start under root

View 1 Replies View Related

Ubuntu :: 10.04 - How To Autologin Default User After Log Out

May 12, 2010

In 9.04 this worked. Log out and in 10 seconds a default user logs in if no keys are pressed. I need this in 10.04. This is great for my Mom's PC. When one of her grandchildren visits for the weekend they can log Mom out and use their ID, bookmarks games etc. Then when they finish they logout and the PC logs Mom back in. Mom doesn't have to fish around for a password. She's 81 and I try to make things easy for her. In both 10.04 and 9.04 I have /etc/gdm/custom.conf with

Code:
AutomaticLoginEnable=true
AutomaticLogin=ridgeland
TimedLoginEnable=true
TimedLogin=ridgeland
TimedLoginDelay=10

In 9.04 log out and in 10 seconds it does an autologin. With 10.04 log out and it goes to the select a user screen and stays there. Where is the configuration file? What do I change? Disable something like SELinux?

View 5 Replies View Related

Ubuntu :: Added A Program That Requires Login To Have Root Privileges?

Jul 6, 2010

I'm using ubuntu 9.04 at the moment and have added a program that requires my login to have root privileges, how do i set these up

View 1 Replies View Related

Ubuntu :: Editing Root Owned Folders With A User Program?

Apr 10, 2011

I'm using the IDE Netbeans (text editor) on my /home/michael Ubuntu account. I'm trying to open a file with Netbeans that's owned by root, I can't do this as I expected. So is there a way to run NetBeans as root, or is there a way to give netbeans permission to open/save files owned by root

View 1 Replies View Related

Ubuntu Security :: Is The Root Password In 11.04 For A Single Program Or For All Programs

Sep 1, 2011

I have ubuntu 11.04 installed along side windows. And I often share files with windows computers. If I am installing a new package from ubuntu software center, and consquently I have to log in as root to do so, which means I have given the system 'privileges' as the program is being installed, I decide to go open mozilla, and surf suspicious sites on the net. Is it possible in that case for me to get a virus?

When we enter the password for the root user in order to run one program such as ubuntu software center, does that mean that all programs have root privileges for the time being (as the software center is installing the program)?

View 3 Replies View Related

Fedora :: Start Program Without Root Password

Apr 12, 2011

I have a couple of encrypted external hard drives that I have to mount with realcrypt.The thing is, to start realcrypt I always need to put in my root password, which is kind of a drag.I have combed the internet for information and the most sensible solutions always pointed to do a visudo edit.There were a few things I tried, but none of them seem to work.This is the last iteration - I put in all realcrypt files i could find, which I suppose shouldn't be necessary but desperate times call for desperate measures, right?

View 4 Replies View Related

Ubuntu :: Autologin Hangs At Shell For A Few Seconds?

Jan 20, 2011

I created a ubuntu distro that originated from ubuntu server and have an xserver installed with openbox and am having problems getting autologin working. I had slim installed and everything seemed to be working except as soon as the monitor went into sleep mode and I moved the mouse to get it back it just came up to the shell again. With that problem I decided to remove slim and go with NODM and that worked perfectly for what I wanted but I was messing around with a few other configuration stuff and when I rebooted everything was fine until after the splash when it would normally boot into X it would show the shell for a about 10 seconds before it would boot to X.

View 2 Replies View Related

Ubuntu :: Autologin And Networking Fails To Start

Jan 21, 2011

I've got a couple of nagging issues that may or may not be related to each other. First, although I have this machine set to log me on automatically (I'm the only user ever and there's no public access) it doesn't; I get the standard login welcome screen. In the system menu (from Applications) I have two login managers: "Login Screen" and "Login Screen (GDM2)". The first of these shows I'm configured for automatic login, as does the custom.conf file in /etc/gdm. However when I click its "unlock" button, it flashes orange momentarily but nothing else happens. The second manager doesn't seem to have any effect on the problem...

The other issue is that my networking fails to start during boot-up; I'm not using the network manager applet and am not starting it; instead I have the three NICs in the machine (which serves as the router and gateway for my LAN) configured in /etc/network/interfaces. Once I am logged in, I can run "sudo service networking start" from a Terminal window and everything works properly, but adding that same line to /etc/rc.local (minus the "sudo" of course) had no effect on the problem. Both issues happen only at boot time, and since this machine normally runs 24/7 except immediately after certain updates or when troubleshooting they're not show-stoppers, but I greatly prefer to have my systems working the way I've configured them rather than going off in other directions!

View 9 Replies View Related

Ubuntu :: Upon Reboot Autologin Doesn't Work

Jun 1, 2011

I saw that Evolution 3.0 was available for 11.04 so I decided to give it a shot. I installed it via ppa following these directions:

[URL]

There were a bunch of dependencies that installed and required a restart. Upon reboot, autologin doesn't work and graphically the desktop is uglier with a different theme. Unity is not working properly, the wallpaper does not exist and many, many artefacts are present.

Screenshots:

Based on my description and the posted instructions, is there a way to undo what I did short of a format and re-install?

View 2 Replies View Related

Ubuntu :: Adding A Line To Sudoers File So That Every User Can Run A Particular Program As Root?

Mar 27, 2010

is it possible to do so? I mean, I want every user to be able to run '/bin/x' for example, as root without entering a password. I know the security risks, but I'm trying this in a risk-free environment which security does not matter very much.

View 2 Replies View Related

OpenSUSE Install :: Set Up An Autologin On X - 11.2

Jan 4, 2010

I'm trying to set up an autologin on an OpenSuse minimal install of 11.2. So, no Gnome or KDE, just X and TVWM. I tried setting this up in via the Display Manager setings in the SysConfig editor, but that didn't work.

View 1 Replies View Related

General :: Autologin With Timeout ?

Sep 14, 2009

I am geting a bit confused regarding the autologin of a user , and in need of help desperately. Could anybody please help me with the below queries :

How can we set autologin for any normal user in RHEL5 ? Also, How can we then logout such a user later, as we can't logout such user normally ? How to set timeout for such autologin users ?

View 1 Replies View Related

Applications :: Program Works As Root But Fails As User

Jan 21, 2010

I can't get a program (wbar) to run directly from my user account, it fails saying "Image not found -> maybe using a relative path?". But if I run su -c "wbar", it shows up and manages to load the image. I think it has something to do with ImLib2 or whatever loads the image. I checked permissions on libImlib2.so.1 and it's world-readable and executable. Can libImlib2.a be causing this problem, set to 644? What else should I be checking?

View 2 Replies View Related

General :: Program Run As Root, Configfiles Writable By 'user'?

Mar 5, 2010

If I have a program running as root, can I have the config files as follow :Code:-rw------- 1 user user 50310 Mar 5 15:16 configfile.confRoot will be able to read the config-files, right ??And only the user 'user' will be able to change the config-files, right ?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved