![]() I am gonna do a fresh vm install and try it again. So, I stick with the root user, which I normally use anyway. "xinit: connection to X server lost" is what I get for a non-root user. I am using root user to manage the server, so I thought if I use a non-root user maybe it would work but things get worse when I do that. Then I create the file "~/.xsession" containing only the command "lxsession -s Lubuntu -x LXDE" still loads the plain LXDE session, not the Lubuntu one just like yours. Now "startx" works nice, just for the plain LXDE environment though. The following is a verbose script, that I store in the file ~/bin/x You can make a script or alias to toggle lightdm (on/off) in a convenient way. I am logged in as the regular user and use sudo for those commands, so ctrl + alt +F6 and return to the graphics screen (while it is still running) with ctrl + alt +F7 When running in graphics mode, you can start a text screen with one of the hot key combinationsĬtrl + alt +F1. Service lightdm start as root (superuser)? Not exactly I was hoping for but this is something. If the service is not running, then it starts it. How does your script works? I call the same script "lightdm" and if it is runnning, scripts stops the service. So you say I start the service when I want the GUI and when I am finished I switch to another display and stop the service from there. In my case, I am trying to make this work on the local machine. PS: There is a similar problem and a bug report here ()but that is related when trying to make a remote desktop connection via some NX software. This behaviour kills the whole idea.Ĭan anyone think of a workaround to achieve what I am looking for? I wanna load the GUI when needed and unload it when not. Now, this is more than annoying because there is a reason that I do not boot to the GUI directly but to the text mode. I do not go back to the command line which is expected. Other problem is when I finish my work on the GUI and log out, I go back to the graphical login screen. The only thing (somewhat) works is the command "service lightdm start", but of course with some caveats.įirst problem is when I run that command I am already logged into my server but when I start the service and the GUI, I see the login screen and I have to re-login to a server which I am already logged in. The command suggested to be used as a replacement of startlubuntu "lxsession -e LXDE -s Lubuntu" also does not work. Copying over the script from an older version does not work. ![]() The "startlubuntu" script does not exist anymore. It does not start the GUI but just goes into a blank/black screen. Now, when I boot into the command line, "startx" does not work. ![]() May not be a widely used setup but sure it is something makes sense and that's what I need. The idea is to be able to start the Lubuntu GUI when needed and to be able to turn back to the text mode when the GUI work is finished. I have a 14.04 server and a Lubuntu Desktop (core) on top of it and server boots into text mode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |