On 08/12/2014 11:08 AM, John Jason Jordan wrote:
> I am familiar with startx command, but I need the opposite. E.g., I use
> Ctrl-Alt-F2 to get to a console and, while in the console I want to
> restart X. I tried stopx and restartx, but both gave "command not
> found." Google told me to use /etc/init.d/gdm stop and then start to
> restart it, but that yielded "no such file or directory."
>
> This is a System76 computer with nVidia GeForce GTX 765M and Haswell
> core i7-4810MQ. When I installed Xubuntu I just let it install its
> default driver, which is xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
> (the latest available in the repos). I have not installed bumblebee or
> anything to take advantage of the advanced capabilities of the GTX
> 765M and Haswell chip, nor have I ever tried the proprietary driver.
>
> ...
>
> I only wanted to try stopping and restarting X, although I suspect
> it will make no difference, as the lines appear in the console as
> well.
>
> Any other suggestions and observations welcome.
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug

On Ubuntu systems newer than 12.04 use the following:

sudo service lightdm stop


Rebooting resets everything.

To start the server again:

sudo service lightdm start



_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to