General :: Run Script After Auto Login On Graphical System?
Oct 8, 2009
I was wondering if there is a way to run a script after the autologin (don't shoot me, I'll explain why) on a restart of a server.The reason I'm asking this is that I need to execute a command to start a process on the server whenever the system is rebooted BUT this command can ONLY be run from a graphical interface.. If possible I'd like to prevent any "user-action" if the server was rebooted so
View 5 Replies
ADVERTISEMENT
Feb 21, 2011
I already have two other threads open for a dysfunctional system. Thread 1: Boot hangs at logon sound - no video signal - appears drive is still working [URL]..Thread 2: Where are boot log files and how I can see those? [URL]...Basically both of those are for not able to complete the boot (hanging up in the middle of booting) in Karmic. I had Karmic since it came out but suddenly about two weeks ago just stopped booting. Except for the battery and resetting BIOS, I had checked all the hardware - and all appear to be okay. Following a tip from x1a4, I started looking into logs (admittedly not knowing exactly what I am looking for) and I ran into auth.log. Following is the code. The highlighted part is confusing (to me) and I am wondering if this may cause to stop booting (or completing the boot process) since I was using auto logon. I do not know if there is anything else (logs) you may need, please advise and I will provide those.
[Code]...
View 1 Replies
View Related
Mar 18, 2010
I'm looking for a way to set arbitrary environment variables for my graphical login on linux. I am not talking about starting a terminal and exporting environment variables within the terminal, because those variables only exist within that one terminal. I want to know how to set an environment variable that will apply to all programs started in my graphical session.
In other words, what's the Xorg equivalent of ~/.bash_login?
View 2 Replies
View Related
May 24, 2011
I am facing the problem that when I login to the machine in graphical mode the machine get reboot and same time when I login to the same machine through ssh using another machine, it is successfully login to that machine,and also ,if I do ctr+lalt+f1 and login to the machine in text mode it also works,
I am using Centos 5
View 1 Replies
View Related
Apr 15, 2010
Does any body knows how to disable the root login to the GUI , like i am running my redhat server on runlevel 5 and i dont need tht root to get login to the GUI , i ma talking about redhat 5.
View 2 Replies
View Related
Jun 14, 2010
I was in the middle of deleting the Xine movie player, and clicked a box wrong. I lost everything possible on the graphical desktop as well as a log in screen for Ubuntu 9.10 (karmic). Since then I did a few things:1. apt-get install ubuntu-desktop2. apt-get install kubuntu-desktop3. apt-get remove kubuntu-desktopAfter all this, I still have the login screen for Kubuntu. But I don't want that. I want to get back to the Ubuntu login screen, and the orange colored desktop. Right now -- after I log in -- I only have a terminal to use. And I have the blue background of Kubuntu. What do I need to do to get rid of the Kubuntu graphics and back to my original login screen, plus the Ubuntu (karmic) graphics and toolbars / menus?
View 2 Replies
View Related
Sep 30, 2015
I have an iMac G4 that I installed Jessie on successfully. However, when it boots, one of the last messages is:
[FAILED] Failed to start Load Kernel Modules.
Last line is something along the lines of:
fb: switching to nouveaufb from OFfb NVDA,NVMac
And then the text starts dissolving, and the entire screen cycles through different colors. I presume it is sitting at the graphical login prompt but it's not displaying correctly.
Based on some Google searches, it seems like I should be able to resolve this by editing /etc/modules but I can't get to that point. I have tried to get to a terminal using ctrl-alt-F1 through ctrl-alt-F12. No luck. I tried different yaboot options that were supposed to avoid using the video driver. No luck. How do I get the machine to boot straight to a regular text login instead of the X one?
This machine worked fine running Mac OS X this morning, so I don't think it's the hardware. What I can do.
View 10 Replies
View Related
Jul 21, 2011
I am trying to load up the NVidia driver in Fedora 15 and am stuck. After boot up the graphical login screen comes up fine but when I go to log in I get an error message and it asks me to try to login again. I need to be able to get into text mode so I can edit some files but I do not know how to do this other that starting in multi-uder mode by editing /etc/inittab (or in FC15, editing some links in /etc/systemd/system/). Is there a way to get to text mode from the graphical loginscreen or do I need to get a rescue disk and startup in rescue mode to change files?
View 4 Replies
View Related
Dec 14, 2010
I'm seeing really bad user login format under a standard installation and am wondering why ubuntu does this as default. I have noticed that the graphical login for gnome sizes itself to accommodate a user's exact password length. This indicates to me that somewhere on the unencrypted part of a standard installation with user encryption contains at least some indication of the content of the password length which seems a security flaw even if not a complete hole, it majorly reduces the number of attempts a cracker would have to cycle through.
And that's assuming that *only* the length is contained. Furthermore it seems that it would be MUCH better to simply display the number of characters entered into the pw field and allowing the gui to expand itself from an fixed size as the field is filled out so the the user still receives visual feedback for entering characters. Either a simple character count display should be entered into the field or a 10 dot to new line so that one can visually quickly count the number enter by multiplying from a 10base graphical observation.
View 9 Replies
View Related
May 1, 2010
I just installed 10.04, and its taking me to the console login, rather than the graphical login. When I tried the live cd, the graphical environment was good. But after installation, I dont get the graphical login , so that I can get into the desktop.
I have a ATI Mobility Radeon X1400 card on ThinkPad T60. Everything was working on 8.10, and I decided to install 10.04 and now it doesnt work.
View 3 Replies
View Related
Jan 6, 2011
I recently installed 32bit maverick and wanted to make it login automatically. I tried enabling auto login from Admin > Login but that didnt work and I was still prompted for my password. Then I went to Users & Groups and changed the password option to Do Not ask for password at login now after I reboot, the user list is shown (only 1 user) and it doesnt ask for password after I click on my username.
However, then it gives a few errors (as i vaguely recall):
1. cannot load .ICE directory in my home directory
2. some error 256 about a gconf-sanity-2 file
3. nautilus cannot load my home directory etc
and then it gets stuck without loading anything (blank wallpaper). i ve tried navigating to my home directory using Alt F2, gksudo nautilus and my home dir contents are encrypted by the ecryptfs (there is a readme.txt file and a shortcut). i have tried to decrypt but it doesnt work... i ve also tried to start/stop gdm, and startx but nothing works. if i stop gdm, then the prompt doesnt recognize my password and keeps on rejecting the commands i enter... I think this has something to do with the home dir not being decrypted due to the dont ask for paswd option... how can i disable the dont ask for pwd without the gui (i can access my / by booting through an external usb).
View 4 Replies
View Related
Jun 3, 2010
I press On-button, Debian boots, logs in and automatically connects to the Wireless network AND! to my local pc via LAN. It runs an ssh server, so I can ssh into debian over internet and communicate with the local pc (send a magic packet).Here are my problems:
1) I don't how to log in automatically. This and this doesn't work.
2) I need a network tool that can manage multiple connections and has a reconnect feature. With the default network manager I cannot even connect to more than one network simultaneously although I have two network devices of course.
And I guess I can run all that in console mode, right?
View 10 Replies
View Related
Aug 1, 2011
Before there was a way to use gdmsetup for auto-login. But now in Fedora 15 i cant do auto-login anymore. Anyone know how i can do this?
This is the problem i cant solve to not show any kind of login prompt (Tried this):
TimedLoginEnable=true
TimedLogin=user1
it shows still the user1/password login prompt and wait for few seconds and then auto login. But i want it straight goes to the desktop.
View 1 Replies
View Related
May 20, 2011
I am using Debian 6.0 and I am trying to auto login into Debian 4.0. I generated rsa keys with ssh-keygen on Debian 6.0 and I copied id_rsa on Debian 4.0 in /root/.ssh/authorized_keys. When I tried to ssh from Debian 6.0, ssh is giving the following error and asking for password. how can I solve the problem to perform autologin?
Error: Agent admitted failure to sign using the key.
View 1 Replies
View Related
Jul 27, 2010
I have been sat in front of this PC for hours now trying different ways to get Fedora Core 12 to automatically login. This hangs it up at the splash screen
etc/gdm/custom.conf
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=*username*
[code]....
View 3 Replies
View Related
May 4, 2010
I'm in the process of trying Sabayon 5.2. After the initial install, I had 800 packages to install to upgrade - went very smooth - but on re-booting, the auto login was gone. No problem, I reset using 'run command' 'kdm' and the 'convenience' screen. Checked all the correct places, and re-booted - no auto login, and I can't get it to 'stick'?
View 2 Replies
View Related
Mar 26, 2010
I am using Fedora and trying to auto run a script soon after the unit boots to desktop. I found many suggestions and finally decided to use the Sessions->Startup Programs option (under System->Preferences->Personal->Sessions menu). I added my script in the Startup Programs with the command 'sh myscript.sh'. Now I have two questions here:1. When I use the command 'gnome-terminal -e myscript.sh', I get 'There was an error creating the child process for this terminal' message after logging into the desktop. Can any one tell if I am missing something here?2. Even if I use sh instead of gnome-terminal, I still want to see the script executing. In other words, my script has certain echo statements indicating the flow of the script. But I don't see any shell opening up with these echo statements showing up, after the unit boots to desktop. But the script was still executed with no problem
View 1 Replies
View Related
Apr 20, 2010
I'm hoping someone can help me out.I made configurations changes to/etc/pam.d/system-auth and /etc/pam.d/login. When these files are configured the way they are, I can't login and/or I can't login in the GUI interface and a terminal. Contents of /etc/pam.d/login
Code:
#%PAM-1.0
#line added per security guide
[code]....
View 2 Replies
View Related
Feb 22, 2010
I have program that work like Fedora Firstboot it's run only one time after finish installation. I have two questions to ask.
1. How can I start this application before gdm start (login screen or auto login)
2. How can I start this application in fix display resolution (800x600)
My method now is
(This is a part of script , this script execute from /etc/init.d/myfirstboot , I create symlink to /etc/rc2.d/S1myfirstboot for start it before anything)
gdm-stop # first time I use /etc/init.d/gdm stop
DISPLAY=:1
export DISPLAY
/usr/bin/Xorg :1 &
[Code]...
I don't understand why first time firstboot start the system will auto loging in but not complete yet and then my script is start and it's work does not fine I think that is another user is already login , but if I re run my firstboot again and again (by setting something that can revoke my firstboot and restart) it's work before auto login and every things is ok!
View 3 Replies
View Related
Jul 19, 2010
I recently installed fedora 13, everything was going great, now when my computer boots it shows the slash screen and then a blank screen and nothing. its been doing it the past few days, after a few reboots it'll work but i'm unable to figure out what is causing it and today it won't show the graphical login screen at all. after the Fedora slash screen the screen goes black the power button shuts it down as normal. ctrl - alt - F2 works and lets me login text wise but I can't get the graphical login to work. nor can I boot to KDE or gnome.I do have Nvidia drivers installed, normall it'll show the nvidia slash screen before the graphical login prompt comes up and that doesn't happen. I did try init 5 and it says Nvidia drivers are loaded. 3d was working just fine I haven't done anything that I can think of to provoke this.
View 3 Replies
View Related
Feb 9, 2010
i was having problems with filesharing with virtualbox, so in another thread someone told me to uninstall the OSE additions and install the vbox additions on virtualbox. I have uninstalled the OSE additions and now i can't get graphical login, it is all on runlevel 3.
View 3 Replies
View Related
Oct 3, 2010
I used (openoffice, firefox, vlc) my acer 5920g this afternoon without any problem and without making any strange operations.When I tried to restart it an hour ago it didn't start correctly: i get a screen full of commands like
Code:
Start Unicode mode done
Starting brld done
[code]...
View 9 Replies
View Related
Mar 3, 2010
Recently my Ubuntu has started dropping to bash shell instead of starting the graphical login. It first asks me login name and password(in the shell) then gives me a command line. I can then type startx to start it. It seems to start alright but that is not how it is supposed to work.
Doed anyone know how I can get it back to default behavior?
View 2 Replies
View Related
Jun 28, 2010
I was reading /usr/share/kde4/config/kdm/kdmrc and see this 3 lines:
# Allow root logins?
# Default is false
#AllowRootLogin=false
this doesn't mean that root can't login in a graphical mode? (I can login as root)
[Code]...
View 5 Replies
View Related
May 8, 2010
It used to be that this was a service that could just be disabled in System>Preferences>Startup Services, but this is no longer the case it seems. I've tried tinkering with the runlevels in gdm.conf, but haven't had any success with it so far. I've tried commenting out the startup code in the gdm.conf as well. Also no luck.
Most of what I've found are older guides for Karmic and earlier, so if anyone has a more up-to-date solution for how to disable the gdm so I can auto-login to a terminal in Lucid
View 4 Replies
View Related
Mar 23, 2011
I'm having a problem booting Ubuntu. Last time I used Ubuntu I did 2 things that might have caused this:1- I added a repository to my software sources:
Code:
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu (lucid main #xorg-edgers PPA)
deb src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu (lucid main #xorg-edgers PPA)
[code]....
View 1 Replies
View Related
Apr 30, 2011
I've updated my ubuntu from 10.10 ==> 11.04. Now I can't login using graphical inerface. System is loading but it stops right before I should see screen with login credentials. When I use ctrl+alt+del it's going to reboot properly, the same when i push the power button it's shutting down. System works fine in failsafex mode so I can assume there's a problem with xserver etc. Using Nvidia 9500GS.
View 7 Replies
View Related
Jul 13, 2010
I have a smoothwall linux box that I need to setup an automatic reboot daily. Can anyone point me in the right direction to begin.
View 1 Replies
View Related
Jun 3, 2010
I'm using debian etch and I've installed some automatic updates, after that some programs weren't running. So I restarted the pc. Now that the computer boot up normally but when it reaches the login screen it just emit a sound in the pc's speaker,he login screen flickers and is showed another login screen again and again and again (it's automatic). I can logon using the option single-user mode in the grub options, any idead on how can I fix it?
View 5 Replies
View Related
Feb 5, 2011
I had an old SuSE installation (v9 or 10, I forget) on which I used to remotely login to a kde session using xdmcp. I blew this away and installed 11.3, and I just can't get it to work. I'm pretty sure I've enabled all the things I should have. there a bug?(Incidentally, I had the same problem with Ubuntu 10.10 (with Gnome), and eventually found I needed an updated version of gdm. With X tunneled through a PuTTy ssh session I can display individual X windows no probs. Also, a VNC session is rejected out of hand.)
View 9 Replies
View Related