问题标签 [reboot]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
linux - 让用户从 CL 重启,或从 CL 重启而不是 root
我正在开发一个 kiosk gui,用 ruby/gtk 编写并使用 ubuntu。我希望能够从 ruby/gtk gui 中重新启动——具体来说,我想让刷管理卡的人选择重新启动机器作为他们的管理选项之一。我不想更一般地给这些用户 root 访问权限。有没有办法执行以下操作之一:1)在没有 root 权限的情况下从命令行重新启动,或 2)更改/降低从命令行重新启动所需的权限级别,这样我就可以让人们单击按钮重新启动而不必担心关于他们对系统的更广泛访问,或者 3)(我怀疑这是可能的)可能以某种方式从 gtk 内部或以编程方式登录到 root 以使用重新启动命令,而不会将密码暴露给任何可以查看源代码的人。
android - 如何重新启动android avd?
我想在我的程序中捕获 BOOT_COMPLETED 动作,如何重新启动 AVD?提前致谢.....
AndrdoiManifest.xml:
android - 运行程序时手机重启
我的程序日志显示这个的任何原因?不知何故,我的程序冻结了整个操作系统,没有按键或触摸屏输入工作。当我插入 USB 并尝试使用 DDMS 查看问题时,我通常会看到此问题,然后手机会自行重启。
我知道我的程序是罪魁祸首,因为它是唯一一个似乎可以正常工作的应用程序,因为它会吐出常规消息。我正在使用蓝牙 SPP 连接做一些非常繁重的工作,然后使用 NDK 进行实时绘图和数学计算。似乎无法访问“/data/anr/traces.txt”,因为 DDMS 不会在“/data”中列出任何内容。关于如何找出崩溃原因的任何想法?
使用的硬件/软件:可以在 Emulator 2.2 或 MyTouch 3G 上遇到相同的错误。使用最新的 NDK 版本。由于蓝牙而针对 Android 2.2。
c# - What is the simplest way to reboot after a Setup Project installation completes?
I hate to ask this question as I am aware that there are plenty of questions about it already, some coming very close to what I am wanting to do:
The first one seems to suggest that it is impossible without external software but the second question gives an answer that seems exactly what I want. But I don't really understand what it's referring to when it's suggested to set REBOOT=Force
.
I read through the linked articles about properties, I don't know if it's just the way MSDN is written but I feel none the wiser about how I'm supposed to use them in a setup project. I'm still fairly new to C# in general and Setup Projects specifically.
Outside of properties it seems like the next easiest thing to do with the least external dependencies is to create a little C# application, which does nothing but shutdown the system. Then add a Custom Action to the Commit section to call this application. This seems like an overkill to me and does that mean that the useless application has to be part of the installation and left on the users machine?
I've found plenty of stuff about using WIX or Orca but I have my reasons for not using them (at the very least because I have to write Business Cases for any software used). I am not even trying to create a very complicated installer, it is just a few new EXEs being copied over and then restarting to be sure that the new EXE is used at startup. Though I am now thinking that it may not be worth the hassle of restarting and just call the new exe as a custom action.
windows-xp - RunOnceEx - 每次安装后重新启动系统
有什么方法可以在 RunOnceEx.CMD 文件中指定的每个组件安装后重新启动计算机?
我正在为 Windows XP 创建一个无人值守的安装盘,它将在系统上安装 Windows 后安装一些默认软件。我正在使用 RunOnceEx.cmd 文件来定义需要安装的软件,我想要的是在安装每个软件后重新启动我的系统。
谢谢并恭祝安康,
linux - 在没有 SSH 的情况下远程关闭/重启 Linux 机器?
我需要远程关闭和重新启动 Linux (Ubuntu) 机器而不登录它们(否则简单的命令可以完成这项工作)。这些机器只是廉价的 PC,因此没有安装特殊的电源管理硬件(尽管它们可以在 LAN 上唤醒)。我可以在这些盒子上安装某种“电源管理服务器”软件,它会监听远程重启/关机请求并采取相应措施吗?当然,如果它需要一些身份验证(密码)来响应请求,那就太好了。
android - 我的 Android 应用程序可以使用 PowerManager 的重启方法吗?
由于 API 级别 8 ,PowerManager 包含了一个 reboot()方法。
我已在清单中添加了所需的权限,获取了 PowerManager 对象并调用
这会导致此堆栈跟踪强制关闭
01-04 16:58:35.847: 错误/AndroidRuntime(2945): java.lang.SecurityException: 用户 10060 和当前进程都没有 android.permission.REBOOT。
有谁知道这个 PowerManager.reboot() 方法是否应该可用于应用程序?由于它在文档中,我有点猜测它可以使用。
android - adb reboot recovery 不会将三星 Galaxy Tab 10.1 重新启动到恢复模式
我正在尝试根植我的三星 Galaxy tab 10.1 并按照此处的说明进行操作 -
http://samsungmobileclub.com/how-to-root-and-install-ics-custom-rom-on-galaxy-tab-10-1/
但是,当我键入 adb reboot recovery 时,平板电脑会关闭但不会重新启动。我究竟做错了什么?
android - 无法重新启动广播接收器?
我正在创建一个使用服务组件的服务,我想始终在后台运行应用程序。假设我关闭手机,当我在手机上时,我们的应用程序自动关闭。
我正在尝试这段代码
androidManifest.xml
并在 BroadCastreceiver 类 更新中添加此代码
android - 安卓。重新启动我的广播接收器。不工作。
打开手机时如何使用嵌套类在android中启动服务?
我的包包含嵌套类。
包裹名字
com.android
- 主要活动
- 广播接收器
我正在尝试重新启动我的广播接收器。但它不起作用(失败)。我不知道是不是因为嵌套类的任何问题。