I have a remote machine running Debian 8 (Jessie) with lightdm installed. I want it to start in no-GUI mode, but I don't want to remove all X-related stuff to still be able to run it though SSH with the I tried
kurogetsusaikurogetsusai
Just type in ServerManager, and that should reopen it. Also, you do not have to manage Server 2012 or 2012 R2 at the server itself anymore. Use RSAT tools from your Windows 8.1 or even a Windows 7 machine (won't have server manager but all the other tools you need) and learn PowerShell remoting. Method One: Disable Server Manager using server manager properties. In Server Manager click on manage and then “Server Manager Properties”: Now tick the box that says “Do not start Server Manager automatically at logon”: Method Two: Use Group Policy Editor (All users) Run gpedit.msc to edit the either the policy of the local machine. 5 AnswersThe disable didn't work because the Debian In order to make text boot the default under systemd (regardless of which distro, really): To change back to booting to the GUI, I confirmed those work on my Jessie VM and Slashback confirmed it on Stretch, too. PS: You don't actually need the X server on your machine to run X clients over ssh. The X server is only needed where the display (monitor) is.
derobertderobert
you can also add
SpongmanSpongman
I don't know much about Debian, but on my Ubuntu 14.04 laptop, here is the standard procedure I use when I want to disable X and boot to
Optionally, also uncomment this line:
Source: https://askubuntu.com/questions/52089/how-do-i-boot-to-a-command-line-interface-instead-of-a-gui
Community♦
Prahlad YeriPrahlad Yeri
GAD3RGAD3R
I had to do this: where
emile boyeremile boyer
Not the answer you're looking for? Browse other questions tagged debiansystemdinitx-serverlightdm or ask your own question.Since some of my test machines are a touch low on resources, having to wait for the server manager process to finish loading can be a little bit painful. On those machines a very pertinent question is: How can I disable Server Manager from auto starting? Beyonce homecoming live album download. There are group policy and local policy options to suppress this in addition to editing the registry. There is always the option to disable it directly from Server Manager, but I’d rather automate this. For completeness sake, the below shows how to manually disable Server Manager on a Windows Server 2012 R2 server. Select “Manage” in the top right hand corner, then Server Manager properties In the Server Manager Properties Window, you can choose to disable it from starting up automatically at logon. Group PolicyThe option to control via a GPO is contained here: Computer ConfigurationAdministrative TemplatesSystemServer Manager Using the Group Policy Management Console on Windows 2012 R2, we can set the policy as follows: When the GPO is refreshed on the machines that fall under the scope of the policy, the settings will be applied. This then greys out the “Do not start Server Manager automatically” at logon option. Controlling Via RegistryIn addition we can also set a registry key automatically via a script to set the required registry key. HKCUSoftwareMicrosoftServerManagerDoNotOpenServerManagerAtLogon REG_DWORD 0x1 Working With Cmd PromptTo query this via cmd prompt: REG.exe Query HKCUSoftwareMicrosoftServerManager /V DoNotOpenServerManagerAtLogon To set this via cmd prompt: REG.exe Add HKCUSoftwareMicrosoftServerManager /V DoNotOpenServerManagerAtLogon /t REG_DWORD /D 0x1 /F (Note that the above is one line that may wrap) Working With PowerShellWe can retrieve the current configuration using the first two commands, whilst the third one sets the value: Get-Item HKCU:SoftwareMicrosoftServerManager Get-ItemProperty -Path HKCU:SoftwareMicrosoftServerManager -Name DoNotOpenServerManagerAtLogon | select DoNot OpenServerManagerAtLogon | Ft –AutoSize New-ItemProperty -Path HKCU:SoftwareMicrosoftServerManager -Name DoNotOpenServerManagerAtLogon -PropertyType DWORD -Value '0x1' –Force (Note that the above are all one line that may wrap) Cheers, Rhoderick
0 Comments
Leave a Reply. |