Tag Info

New answers tagged

1

If you are in need of launching a web page via browser then add to startup applications something like this: /usr/bin/firefox /path/to/html/file.html or /usr/bin/firefox http://some-site.com/ No need to run .desktop file. EDIT: So in your case chromium-browser --kiosk file:///home/user1/Desktop/mltest/vms.html


0

Since you are backgrounding Xvfb, openbox-session is started almost immediately after Xfvb is started. So the display isn't ready yet when openbox-session starts. Something like: sleep5; DISPLAY=:1 /usr/bin/openbox-session & Should give Xvfb enough time to start the display.


0

For those of you where inserting the line rfkill block bluetooth (or any other) in /etc/rc.local doesn't work, try to include the same line in the end of ~/.bashrc In my set up (Ubuntu 14.04, Thinkpad W540), no option worked inserting it in /etc/rc.local but the former did work in bashrc. Note this will work just for the current user, not globally for all ...


0

This is what works: sh -c "sleep 10 && python /opt/splashtop-streamer/SRStreamer.pyc" but it's leading to another problem which I posted here: Another copy of splashtop streamer is running


5

Prefixing the command with sleep 10 && should do the work if I correctly understood your question. Like this bash -c 'sleep 10 && python /opt/splashtop-streamer/SRStreamer.pyc' Try man sleep for more options.


0

Generally system startup scripting stdout is directed to the console device unless it is explicitly directly elsewhere within the specific startup script.


0

Try taking a look at /etc/default/grub file. Open command line (Ctrl + Alt +T or Ctrl +Alt + F1), and type cat /etc/default/grub . Specifically, at this portion: Try altering GRUB_DEFAULT , GRUB_HIDDEN_TIMEOUT, GRUB_TIMEOUT, GRUB_CMDLINE_LINUX_DEFAULT just like mine. Also, /var/log folder has quite a few logs that can help you troubleshoot issues. ...


2

I believe I have an answer to my own question that leverages CameronNemo's partial solution and Mark Russell's answer to a related but somewhat different question. Two Upstart configuration files are required. The first is a job that starts as soon as the local filesystem is available, performs the desired file modifications as a pre-start script, and then ...


3

Most likely the command is being executed. The xinput float technique given in Is there a way to disable a laptop's internal keyboard? works... but not if you run it from rc.local. xinput requires the X Window System to be running. But it's not running yet at the time rc.local is executed. Most of the time, the best solution is to have your xinput ...


0

I have the same problem, and I think its a bug on the Ubuntu error reporting system (which is called "apport"). Apport notifies the problem to Ubuntu developers, in view of having it solved by them in the next Ubuntu update or release. Unfortunately seems that in the last Ubuntu releases, some error reports are not registered as submitted, so the system ...


0

Remove the file /var/lib/mysql/.run-mysql_upgrade and it should start ;) "With great power comes great responsibility"


2

You can define a simple task job that start on event of your choice, run your script and at the end emit event to start the other two job. For example: # mainJob - # # This service emit myEvent to run firstJob description "emit myEvent to run firstJob" start on runlevel [2345] task console log script echo "(startTask) $UPSTART_JOB -- ...


1

start on starting jobA or starting jobB instance $JOB pre-start exec /path/to/script The starting bit prevents the jobs from moving on in their life cycle until this job completes. The instance bit is so that both starting events (for jobA and jobB) are inhibited, not just one, as would be the case if you did not have an instance stanza. THe use of ...


0

Put a command inside a .desktop file [Desktop Entry] Type=Application Name=USER autostart Comment=my commands after X startup Exec=<your command> And save it as [your-home]/.config/autostart/user-autostart.desktop This will execute when X starts.


0

I found the solution. The AMD driver for the Radeon card I had installed was the beta version. When I updated ubuntu, this was not compatible anymore. I then had to remove the driver from tty1 console and was then able to reboot.


0

I have the same problem as of today, after an upgrade and reboot. I get stuck at a bright kubuntu logo. I can access the various non-graphic login screens using Ctrl-alt-F1 etc. I can boot if I select a much older kernel (3.2. something, as opposed to the default 3.13) but I expect this will create other problems. /etc/syslog and boot.log don't show ...


0

In my system the same thing happened in VirtualBox. Seems that the login window is no longer started automatically. I logged on via the command line. Do not know a permanent fix but in my case sudo lightdm popped up my login window and I could work again.


0

On 14.04 don't use inid.d use Upstart scripts instead. There is a full Upstart guide on the Deluge site walking you through setting them up.


1

This looks like a regression due to the fix for bug #1096771. There were some init scripts in cgroup-bin in 12.04, which were removed in 13.04. The /etc/init/cgconfig.conf service file contained this in the pre-start script stanza: /usr/sbin/cgconfigparser -l $CGCONFIG So it was the cgconfig service from the cgroup-bin package that actually set up your ...


-1

I've been using Ubuntu since 2006. From 2005 to 2006 I exclusively used Kubuntu. Before that tried various other types of linux. I like the look and feel of Kubuntu, but I didn't like how often it would crash in the most unpredictable ways. Since then I've tried several KDE programs under Ubuntu, and time and again these KDE applications are visually ...



Top 50 recent answers are included