how I could run a command before logging on, in addition, the command needs to run as root.
This is going back to some few weeks months ago, shortly after I upgraded to Karmic Koala. Since then, the sound device doesn't work automatically. I donno why, but alsa doesn't seem to detect the audio device.
Once I have booted the machine, I can access sound by doing:
sudo alsa force-reload
Needless to say, that's pretty annoying and I posted two or three threads to find a solution to this problem, but never got anywhere.
Failing that I get the issue resolved, running the 'alsa force-reload' command at boot up, so that when I'm logged in, it's already working.
I would like to log into my router to get the status page programmatically. I have a dynamic IP address and need to update my dynamic dsl service. The router will not display its address with traceroute (all I get is * * *. Once I am logged into the router I can retrieve the status page with wget and parse the resulting file. I cannot seem to get logged into it with wget. Does anyone know how this might be done? If I posted the HTML page that I log into (from wget of the login page) could someone tell me what I need to code. The router is a Trendnet TEW-652BRP. I can get it off the internet but if my connection is down it will fail.
I would like to know if it's possible to create a continual log for a network interface card's status. That is whether it's up or down and time and date stamped if possible.I'm wondering if there is a cli command that exists to do this I've looked at "ethtool" but this only sets the parameters of the nic.Also looked at the log files that I could find /dev/log var/log, but there is no mention of a status for eth0.
I've tried to find a solution on other posts but can't find one.Karmic keeps logging me out automatically. Sometimes there are less than five minutes between logouts.Initially I upgraded from Jaunty, so, in case that was at fault, I then did a clean install, but that hasn't worked either.I've been hoping one of the updates will fix it, but no joy ye
Why does Ubuntu 9.10 keep logging me out? This only started about a week ago and it seems to be getting worse. I have not installed any new hardware or software. The only thing that's been installed recently are the routine Ubuntu updates. I just got logged out 4 times in less than 10 minutes while I was trying to type a reply to a message in another forum. I had to reboot into WinXP to post this message and finish my reply in the other forum. This is getting REAL annoying and I can't find any solutions. Someone suggested that uninstalling Compiz would fix it so I did that, but it seems to have gotten worse. I've really liked Ubuntu until now, but I'm on the verge of trashing it if this problem can't be fixed.
after finally managing to install perfect world international rising tide on my ubuntu 9.04 and after i fixed the cursor problem ,i finally managed to run the game however when i wanted to enter my account to actually play the game ,just after logging in the game crushes ,i really want to play the game ,plz help me.i ran it through wine in the console and i got this: fixme:ntdll:find_reg_tz_info Can't find matching timezone on a side note is there a way to get rid of the black flashing boxes on the screen.
I installed Ubuntu Studio 9.0.4., as a VMWare virtual machine in OSX to check it out. I specified a password to 'root', did not add any other users. (I run the whole show as "admin" in OSX and Windows as well. If some kid wants my files - The mp3's are under "Music".)
Anyhow, the Ubuntu Studio install went through, the nifty login splash screen came up. I tried to login in a "root" with my password, and got the following thing into my face:
"The system administrator is not allowed to login from this screen"
OK, so what "other" login screen does Ubuntu have, then?
Ever since I upgraded to Ubuntu 10.10 on my laptop, I've been having this problem. Every now and then, for seemingly no reason at all, the screen will go black and after a few seconds I find myself at the login screen. I've kept track of when it happens and there is seemingly no pattern to it; sometimes it will happen when I'm watching a video, sometimes it just happens when I'm browsing the internet, and sometimes it happens when I'm not doing anything.
I've been using Jaunty since its launch. And i've installed Ubuntu 9.04 on dual boot with XP.Since the past week i am facing this problem,after i enter my username and password , Ubuntu proceeds to load the account.But hangs in midway...i.e the appln bar on the top and task bar at the bottom appear, and that's it..hangs up,the cursor also freezes.I've tried the recovery mode,by fixing broken packages and dpkg.Also The terminal appears with ctrl+alt+f2 at the login screen...I've also tried autoclean and configure -a during this...with no success.
I have a program for my Nokia E52 smartphone called Joikuspot. It creates a ad-hoc network and acts as internet gateway. But Ubuntu has a really hard time logging on to the network. Most times it takes several minutes before the network even shows up in the network manager applet, and when it does it might take many tries before the computer get a DHCP address from the phone. When it finally does happen, everything works great and the connection is fast and stable. There is no problems when i try to access the ad-hoc network with a XP machine. I'm running Ubuntu 9.10 on a Dell Inspirion 6400 with proprietary Broadcom STA driver for the network card.
I need to create a simple way to change the language of my system without logging out. I would like to make it so that a user can just click on something and the language of the whole system will change.
I've disabled the traditional gdm gui login screen by adding the keyword 'text' to the kernel line so that it boots to a command line. I then start gnome by using startx and I've noticed that I can log out of gnome back into the command line, then change the environment LANG variable to the new desired language, run startx again and everything is in the new desired language.
I need a programmable way to only restart gnome(not a reboot) so that I can make a script that a user can just click on and it will set the LANG variable then restart gnome(preferably preserving all open applications, but if not, doesn't matter).
I am running a remote login server where I have multiple users. I am using No Machine NX for the remote login software. I also used Ubuntu Tweak and did some editing in gconf-editor in order to lockdown the machine. In the end the user has some files on their desktop they can view and one panel with a logoff button. This system has been in place for about 2 years now and running pretty smoothly.
I am not sure if this is an NX problem or Gnome problem. I have just one user, all of a sudden, that has nothing on the desktop and no panel when they login. The system was set for each user to have their /home folder as their desktop folder. I am not sure where to start trouble shooting this. I have looked a quite at few of the gconf.xml fiels for the user, but do not see anything out of the ordinary (comparing to other user's gconf.xml files)
my first install was 10.04, and everything was working fine. Only last night, and this morning, when I tried logging into Ubuntu, I entered my username, password, but after it accepted it, it only showed my cursor and the login wallpaper. Sometimes it gets to my desktop wallpaper, but shows nothing else. I have a dual-boot with Vista, if that helps at all.
this is extremely annoying, the entire screen goes black, then i see the login screen.its happened on different sites so i have no way to pinpoint whats causing thisand ubuntu doesnt display anything that makes it seem like its a crash.is there any logs that would show me whats going on?
I am using Lucid lynx, 1 partition, Linux is the only OS, and I am the only user. Everything is working fine until I click on "Places> File Browser" the system ask for root password.
Then I enter the Root password and I can then go where ever I want. ( It does not do this every time, just most of the time.)
When I open File Browser the first things listed in the left pane are ROOT, DESKTOP, (which is the root desktop), then FILE SYSTEMS, etc.
I think all the little differences I am experiencing are a result of logging on as ROOT user. I think that when I open File Browser (I use this a lot) and it ask for the ROOT password I am then ROOT and remain ROOT until I log off (I never do, because I am the only user). When I am root, things will look and feel different than when I am logged on as Wayne, but there are some things that I cannot do as Wayne (such as open File Browser). I opened K3b to burn a disk and a window poped up saying "it is not wise to run K3b as root..."
I used System->Preferences->Startup Applications to start up a shell script (application) when I login. How do I stop this application when I log out?
I've tried creating a ~/.logout file, where I determine the PID of the application I want killed (so that I can kill it), however it would appear that this file is never referenced when I log out of my Gnome session.
P.S. I'm using Ubuntu 10.10 (or whatever the last release of 2010 is designated as).
I am running ubuntu 11.04, and recently installed slim to be able to change my login screen theme. After changing it, I restarted my computer, typed in my username/password and it just brought me to an image of my background with no icons or the sidebar. When I press Ctrl+Alt+F1 it brings me to a command prompt. Also, after the log in I get an error displaying Enter password to unlock your login keyring. After entering my password nothing happens.
Perhaps there is something on the net about this, however I couldn't find the correct keywords (and there are many other but similar problems) and didn't find anything. You know that when logging in, if you enter a wrong password, you'll have to wait a few seconds before giving it another try to avoid bruteforcing. However, when I enter the correct password in 11.04, it makes me wait a few seconds and then loads my desktop (fluxbox in my case, but the same problem remains in Unity).
Having some trouble with a new install of Ubuntu 11.04. I use it for work, so I do tend to run quite a few programs at a time. Namely Pidgin, Firefox, Thunderbird, Chrome, Osmo, LibreOffice Calc, Calculator and Text Editor. Sometimes I'll listen to music using VLC. Sometimes (and I can't figure out when), I will be suddenly logged out without warning. Just BAM, black screen then back to the login screen. I've lost work from this happening.
My only clue is that it hasn't happened when I was not running VLC, but then again it doesn't happen consistently while running VLC. Also, it happened today when I wasn't running VLC but was using Calibre (along with my usual programs). Maybe I'm doing too much at one time? Maybe it's the RAM? How do I view an error log about what happened?
i'm on Ubuntu, running Mozilla Thunderbird 3.1.10 (I installed it in the last few weeks, so its a recent version)...I'm having regular / ongoing problems with emails not sending. or LOOOONG delays before i press the 'send' button & when its actually sent (Usually i 'send later' & it gets sent when i next login...)At the bottom right of the screen - I see a 'line' thats moving - Constantly, I gather this shows up when Thunderbird is actually doing something....QUESTION :- How do I find out what Thunderbird is actually doing / waiting for ? QUESTION :- How can i *FORCE* thunderbird to tell me whats happening ?- Incorrect password- Is it looking for a server ?- Has it found the server ? - tried a password - Is password incorrect ?- if the password is incorrect, Or server is incorrect, force it to tell me an error message (other than an ambiguous "problem found..." error..)Also, tell me within MINUTES or as soon as the problem is identified - rather than waiting 20+30+60+2 hours (until i give up andf manually force it to stop...)
I don't like about it is the fixation of avoiding root login. I read in the sticky post at the top of this forum that logging into a GUI interface as root is nearly always a bad idea. Why is this? If I have access to the root password, and can simply sudo commands as root, what is the functional difference? The only difference I can see is that I have to continually type in my root password for pretty much everything I do. Elevating a user to root status seems to require a call to the almighty.
I'm usually the only one with access to this system, and I generally like to add in user accounts for any other people that will use the system, and leave root for myself. What is the benefit of requiring 'sudo' all the time?
When my wife tries to login to her computer, Gnome usually freezes. Nothing in Gnome responds to the mouse or keyboard and all I can do is go to a console and restart gdm. I can always log into Gnome under my username. I am not sure how to troubleshoot this problem. Presumably it is something in the startup apps or a config file. The quick and dirty method would be to create another user and move her data but this would be a lot of work and the problem might come back.
I have a suspicion that it is related to gnome-keyring. This is because (against my advice) she insisted on an automatic login without entering a password. This was a waste of time as gnome-keyring promptly complained and demanded a password. Many times I changed her settings to ask for a login password but it does not always change the behaviour. When it tries to log in automatically without a password Gnome locks up around the time that gnome-keyring asks for its password. The default language for her is Portuguese and mine is English if that makes any difference.