X will not be initiated with the proper options. Sometimes you might want to pass options directly to the X server to change its behavior from the default. The startx script sends all its command line arguments after a -- to the X server.
For example, startx -- -bpp 8 will instruct the X server to use 8-bit color instead of its configured default. Display managers provide X Window System and Wayland users with a graphical login prompt. GDM can be installed with the gdm package, and it is installed as part of the gnome group. To start GDM at boot time enable gdm. The factual accuracy of this article or section is disputed.
One might want to autostart certain commands, such as xrandr for instance, on login. This can be achieved by adding a command or script to a location that is sourced by the display manager. See Display manager Autostarting for a list of supported locations. You can do this using the following script:. Navigate to the created directory. You should find that the theme files have been extracted to it.
Now copy your preferred background image to this directory. Replace filename with the filename of your background image or remove the line to use a hex color value instead. Now, open the gnome-shell.
Set background-size to the resolution that GDM uses, this might not necessarily be the resolution of the image. For a list of display resolutions see Display resolution.
Again, set filename to be the name of the background image. If you only want to change the background color, adjust the lockDialogGroup definition as follows:. Then copy the resulting gnome-shell-theme. Then restart gdm. For more information, please see the following forum thread. A shell script to automate the above steps is available on DimaZirix's github repository. Improve this question. Add a comment. Active Oldest Votes. Improve this answer. Javier Rivera Javier Rivera I know that your system works but I would like to run X without gdm, otherwise I have to give again my login credentials: I am already connected to the tty so I want to avoid having to 're-login'.
Looks like unity doesn't work if it's not started from gdm, even kdm can't start it. I have edited the question. Again I can't test it right now. I should probably install a Natty VM someday. Surely, this cannot be true? Show 1 more comment. I tried but it does not work because there is no session file in the directory. I tried to understand what is running when you I do 'gdm start' but without result for me.
Only a gdm's guru could answer Thanks, anyway Maco. Try to create a. It allows you to switch between different desktops i. GNOME is the actual desktop - it's where you run graphical applications. It also hosts your toolbar and other such things. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Ask Question. Asked 10 years, 3 months ago. Active 10 years, 3 months ago. Viewed 6k times. Improve this question. PeanutsMonkey PeanutsMonkey 8, 34 34 gold badges 86 86 silver badges bronze badges. Add a comment. Active Oldest Votes.
0コメント