Ubuntu :: Restarting Gcin With A Sudo Script?
Feb 19, 2011
I would like to run a sudo script on startup. Is it possible to run it without typing in a password?
The script is simply "sudo killall gcin". This restarts the Chinese input method gcin. My understanding is that gcin has a bug, doesn't load properly upon startup, and only behaves correctly after a reset.
Thus, I would like to have a script that executes the command "sudo killall gcin" upon startup without my typing in a password. Or even better, an easier workaround for gcin.
View 2 Replies
ADVERTISEMENT
Sep 18, 2010
I install Ubuntu 10.04 this afternoon, and I also install gcin and qt4-module. But I can't use it. I can get the following message by "ps aux | grep gcin".
joegen 1333 0.0 0.2 161748 9296 ? S 22:13 0:00 /usr/bin/gcin
View 2 Replies
View Related
Jun 12, 2009
I was stupidly trying to setup apache for virtual hosts using two different tutorials and something got mucked up along the way. Apache will now not start and I just need a some help fixing it. My error logs show nothing and running "sudo apache2ctl configtest" said "syntax ok".
View 3 Replies
View Related
Jun 10, 2010
explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?
Code:
sudo ifconfig eth0 down
sudo /etc/init.d/networking stop
View 3 Replies
View Related
Jan 2, 2011
I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:
Code:
ldd /usr/bin/passwd
and
[code]....
View 4 Replies
View Related
Sep 16, 2010
A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.
View 1 Replies
View Related
Jul 2, 2011
I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password
View 8 Replies
View Related
Jan 6, 2011
Kernel 2.6.21.5, Slackware 12.0
Code:
Code:
On the other hand
Code:
So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.
View 3 Replies
View Related
Oct 11, 2009
Where is the SUDO file at, and remind me how do I add myself as a SUDO'er?
View 3 Replies
View Related
Jun 19, 2011
It is my understanding that they do the same: they ask for my password (if I am allowed in /etc/sudoers), and give me a login shell as root.
Is there any difference between them?
sudo su -
sudo -i
Also, what's the difference between
sudo su
sudo -s
I think that they both ask for my password, and give me a shell with my old environment variables.
View 1 Replies
View Related
Jun 18, 2010
I am having trouble running commands by using sudo. I configured visudo file with localuser ALL=(ALL) ALL but I can't run any command, it tells me command not found.
View 8 Replies
View Related
Jul 11, 2010
On Xubuntu Lucid, How do I kill Xfce's desktop (xfdesktop) without it restarting almost immediately? Right now, when I kill it (using built-in kill; /bin/kill; pkill) it restarts. I don't want that. Xfce seems to no longer have the option to choose if I want a desktop or not.
View 1 Replies
View Related
Oct 14, 2010
I installed UNE on my desktop pc just to see what it's like. It starts okay, but whenever i moved my cursor over the left side app bar the entire interface closes and restarts. I therefore can't use the app bar at all. Has anyone else encountered this? Any recommendations?
View 1 Replies
View Related
May 29, 2010
I am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.
The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo
I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?
View 14 Replies
View Related
Aug 25, 2010
I am new using Fedora. When ever I am installing fedora 13, it is not getting ip address. Everytime manually I am opening gui mode for network as system-config-network and then checking activate when system starts option manually. After then if I restart, it is getting ip address. without doing like this, cant we do something like ifdown eth0, ifupeth0 like this so that without restart it takes ip address? Is there any command like this do get ip without restart?
View 4 Replies
View Related
Jan 6, 2010
I'm wanting my linux machine to set it's network settings during boot, so I've done the following Changed my /etc/network/interfaces to
Code:
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet static
[code]....
Ok so it boots up ok and it's sitting on the login screen, when I try to ping it however it doesn't reply!
View 8 Replies
View Related
Apr 30, 2010
I just finished a fresh install of Lucid netbook remix on my new Sony Vaio netbook. Everything seemed to go fine until a restart was required after installation was complete, when the monitor went black and the netbook just hung. The only way I could restart was to manually power off and on again. The installation seems to have completed fine and everything works after boot up. However, the netbook continues to freeze if I select restart from the power options. I know its not critical, but it is annoying. Does anyone have any ideas on how to solve this?
View 2 Replies
View Related
May 16, 2010
After upgrading to 10.04 I've had to run /etc/init.d networking restart to get my internet connection to work after startup on my desktop computer. Any ideas on how to find out what's wrong and how to fix it? I didn't uprage my laptop yet and it still works just fine so I'm thinking this is related to the upgrade. Softwarewise the only relevant networking related difference between my desktop and laptop is the ubuntu version and that I have openvpn set up on the desktop for work related stuff.
View 2 Replies
View Related
Sep 4, 2010
What happens if I restart GDM? And how do I do it? I think I did it once and I lost all my configurations, or maybe that was something else. i just dont want to have to redo all my customizations.
View 4 Replies
View Related
Nov 1, 2010
I have upgraded a friends notebook from 10.04 to 10.10. Everything was fine with 10.04.The upgrade process runed smoothly but after booting 10.10 the X system randomly restarts. It seems to not be able to run for more than 10 minutes without X abruptly restarting and the login page being presented. I still couldn't even identify some pattern nor relate the restarts with some specific software.I've looked in /var/log/messages but there is nothing registered there that seems to be related to this issue.Despite being an old notebook, I don't think it's hardware related because the problem appeared for the first time after Ubuntu upgrade and it keeps repeating itself after that.
View 2 Replies
View Related
Nov 12, 2010
I dual boot my ubuntu 10.04 with my windows 7, I had 4 partitions on my machine, 2 ntfs and 2 ext4 partitions. But I noticed I still had an unallocated 10gb on my hdd, I couldn't see this unallocated space from ubuntu, fdisk, gparted etc. So I used diskmgmt in windows to create the 10gb ntfs partition, when I restarted I couldn't boot into either windows or ubuntu. I used my livecd to reinstall grub and everything was fine until I booted into windows 7 and restarted. Again my grub has been messed up.
View 5 Replies
View Related
Nov 28, 2010
I just installed the newest version of ubuntu on my Alienware desktop. It installed fine and I was running everything perfectly. Then I restarted the computer, just to test that out, and now it won't let me get back in.
It takes me to a screen which asks me to select the OS. I select "Ubuntu with Linux 2.6.35-23-generic-pae", but then it goes to a black screen with the blinking cursor, and nothing happens (even after waiting >10 minutes)
I'm booting off of the internal hard drive, since that is where I installed Ubuntu initially.
View 1 Replies
View Related
Dec 4, 2010
I have Xubuntu 10.10 installed on my PC. On language bar in panel I have installed 2 languages - English and Slovak. But always after restart, only default language remains - Slovak. Also Num Lock is default turned off after restarting. Can anybody help me with this?
View 1 Replies
View Related
Feb 20, 2011
I got a prompt for an update so I went thru with it. I restarted my PC but it wont boot up. I keep getting a black terminal screen which asks me for my log in. But when I put it in, nothing happens. I tried to reinstall gdm but it says its already installed.
View 9 Replies
View Related
May 26, 2011
I want to if there's any plugin for firefox or so that can save your incomplete (still in process) downloads and can resume after the next boot.i just lost my broadband connection and now i am stuck with this mobile internet (android on ubuntu) and sometimes when i want to go outside i have to shutdown my computer because i have to carry my phone with me.so is there any app or plugin for firefox so i can resume my download after i get home.
View 1 Replies
View Related
Jun 1, 2011
On restarting networking service, i am getting the following error,
Code:
karthick@karthick:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces.. ssh stop/waiting
ssh start/running, process 5427
start: Job failed to start
[ OK ]
View 1 Replies
View Related
Apr 4, 2009
Newbie to the Linux/Ubuntu world. I thought that installing Ubuntu would solve all my problems with an inherited PC. It has worked well for a couple of months but I am seeing an issue with firefox closing on its own and when trying to restart PC it shows i/o errors. Maybe power supply? Cooling fan? Anything else?
View 1 Replies
View Related
Apr 29, 2011
I do not know which is the right way/proper way to restart an X server. The Debian shows tells the following :- [url]
There is another one which I know of :-
Now does the wiki page have that obsolete bit of code or is that one much more better/preferred.
View 8 Replies
View Related
Nov 30, 2008
I recently did an install from CD of Kubuntu 8.10 on a system. When I first went to boot, my BIOS screen kept saying invalid system disc. Now, I have another HD in there but I thought for sure at the time that I had changed the boot drive appropriately. So, I went ahead and re-installed grub using the instructions from this site. Went and switched the boot drive to the correct one (it wasn't correct after the re-install of Grub which is why it was probably set wrong before) and now the system just keeps rebooting. It gets past BIOS and then black screen and post beep. I don't see a grub screen or anything resembling linux. I'd rather not re-install the whole OS again.
View 11 Replies
View Related
May 9, 2010
in Ubuntu 10.04 I have updated my system with command: sudo apt-get dist-upgrade and I see new kernel was installed. Now restart is required. I don't like to restart this computer, because it should be up and running as much time as possible. Is there any way I could only re-run some kind of kernel module or something like that instead of restarting whole computer?
View 3 Replies
View Related