LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Restarting the X Server (https://www.linuxquestions.org/questions/linux-general-1/restarting-the-x-server-138324/)

jworld900 01-24-2004 11:45 PM

Restarting the X Server
 
When i change my display size, it asks me to restart the x server, how do i do that?????

gokul 01-25-2004 12:09 AM

Logout and login. That will do it automatically. ( if u r in the GUI mode)
OR
Switch to init 3 and back to init 5
OR


(I guess if u had restared ur computer already, ur settings would have been applied)

rlkiddjr 01-25-2004 12:10 AM

1. Log out of KDE, Gnome, or whatever you use.
2. Press together; Ctrl, Alt, Backspace. This will send you into text mode.
3. Log in with username and password while in text mode.
4. Type startx and hit enter.

gokul 01-25-2004 12:45 AM

FYI
ctrl+Alt+BackSpace restarts the X-server, killing all processes that are running uder X.
It will not send u into a text mode.

Logging out automatically restarts the X-server.

UltimaGuy 01-25-2004 02:15 AM

Quote:

ctrl+Alt+BackSpace restarts the X-server, killing all processes that are running under X.
That depends on whether you boot in text mode or GUI mode. If it is in text mode, then Ctrl+Alt+backspace will drop you in the text mode. Otherwise, it will restart the X-server.

Most of the experienced linux users boot into the text mode, as it gives them more control and flexibility, while newbies generally boot into the graphical mode. So,, rlkiddjr was correct in his answer..

And gokul, don't think that I am spamming you, but don't say others are incorrect if you are not a guru on that topic, as you may not know it well.:tisk: :tisk: :tisk: :tisk: :tisk: :tisk:

gokul 01-25-2004 02:36 AM

I'll keep that in mind.
Thanks.
I stand corrected.
(I guess i was in a hurry to help and be right. well , Iam no guru.atleast not yet. Thank goodness my advice did not endup being harmful)

UltimaGuy 01-25-2004 02:41 AM

Good, gokul, I see that you are taking this positively. Not every one are like this, and so I am happy to see your response.

And, don't stop trying to be helpful to others!

gokul 01-25-2004 02:46 AM

Thanks for the encouragement. I have seen forums full of nonsense exchanges.

I'll continue to help, but taking caution.

(Before this thread becomes nonsense,lets stop here and may be send private messages if required)

jworld900 01-25-2004 03:02 PM

when i do log out and in, it just goes back to the screen size before i changed it. do you know how to finish that.

UltimaGuy 01-26-2004 01:15 AM

Try changing the resolution in the xfree86 config file..

It will be under /etc/X11/XF86Config.

It will be understandable and try to change the default resolution in that file.

Post if you have any problems

jworld900 01-27-2004 03:15 PM

yeah. when i tried to edit the file, it wouldnt let me. when i finally was able to (using vi) it reverted back to the old settings once i closed it. What program should i use to edit the file.

Megamieuwsel 01-27-2004 03:44 PM

Any editor would do just fine , be it VI , pico , nano or whatever you're comfy with.
Ofcourse you must save before you close the editor.....
Then restart the x-server.

gokul 01-28-2004 11:21 AM

As Megamieuwsel said u have to save the file after editing it.
If it says u r not allowed to alter the file....try to edit the file as user: root
Try logging in as root and edit it.


All times are GMT -5. The time now is 07:58 PM.