Linux mint start x server

Linux Mint Forums

(SOLVED) FAILED TO START X-SERVER ON LINUX MINT 18 XCFE «SARAH»

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

(SOLVED) FAILED TO START X-SERVER ON LINUX MINT 18 XCFE «SARAH»

Post by indrawahid » Wed Dec 28, 2016 4:14 am

hi! my name is indra wahid. i’m newbie. here is my problem now:
after i installing linux mint 18 xcfe on my laptop. first time reboot, it’s ok. then tomorrow, when i boot my linux. my linux mint show the dialog «failed to start x-server».
of course i have follow the instruction from this link : viewtopic.php?t=105156

but it’s not working for me. it’s showing the error :
«Fatal server error :
server is already active for display 0
if this server is no longer running, remove /tmp/.x0-lock and start again»

thank you for your attention.. i hope you guys could fix this problems

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Failed to Start the X server

Post by indrawahid » Wed Dec 28, 2016 4:22 am

i have the same problem mentioned in this thread. but it showing this error :
«Fatal server error :
server is already active for display 0
if this is no longer running, rmove /tmp/.x0-lock and start again»

i do not know what it’s mean. please respond A.S.A.P.
thank you

Re: FAILED TO START X-SERVER ON LINUX MINT 18 XCFE «SARAH»

Post by deepakdeshp » Wed Dec 28, 2016 4:42 am

Reboot and try. If it doesnt work

from a terminal.
.x0-lock is a file to prevent running 2 instances of xorg.
Then follow the thread in your post

If I have helped you solve a problem, please add [ SOLVED] t o your first post title , it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb

kukamuumuka Level 16
Posts: 6705 Joined: Tue Sep 03, 2013 4:51 am Location: Finland Contact:

Re: Failed to Start the X server

Post by kukamuumuka » Wed Dec 28, 2016 4:44 am

indrawahid wrote: i have the same problem. but it showing this error :
«Fatal server error :
server is already active for display 0
if this is no longer running, rmove /tmp/.x0-lock and start again»

i do not know what it’s mean. please respond A.S.A.P.
thank you

mount -o remount,rw / Xorg -configure cp /root/xorg.conf.new /etc/X11/xorg.conf sync reboot

Источник

Linux Mint fails to start X automatically after update, but X still works

After some update and reboot, X fails to start. I don’t get any errors or warnings from the console, after the last service has started, nothing happens. I can then switch to any terminal I’d like, log in and start X with startx. This works perfectly fine. Prior to this there doesn’t seem to be any attempt to start X (I removed the logs in /var/log/X* and rebooted, no logs were then generated after I logged in). I’m now running 3.5.0-17-generic on Linux Mint 14 Nadia (XFCE). I’m using the proprietary Nvidia drivers (although bear in mind X starts perfectly fine with startx). How can I make X start automatically again? What is the reason I experience this behaviour from the system? Edit: I can add that I’ve tried to reinstall the proprietary Nvidia drivers (and they installed successfully), I get hardware acceleration and everything seems to work fine after I’ve started X with startx. Second edit: I have S30mdm in /etc/rc2.d/ which points to /etc/init.d/mdm

Читайте также:  Kali linux аналог windows

5 Answers 5

In some occasions Infinality font rendering can cause problems when loading the Display Manager.

If you have infinality installed and reconfiguring mdm doesn’t works, try to:

sudo apt-get remove fontconfig-infinality 

you can also reconfigure mdm as follows:

this way it won’t be necessary to install mdm again, task that may become hard

sudo mv /etc/profile.d/infinality-settings.sh /etc/infinality-settings.sh sudo chmod a+rx /etc/infinality-settings.sh 
# INFINALITY FONT RENDERING CONFIG . /etc/infinality-settings.sh 

To make infinality started after mdm. I use this way to workaround this problem when I was using mint15 MATE

apt-get remove mdm apt-get install mdm 

I had this exact same problem, and none of the solutions here worked me. After many hours of struggling, and logs showing no errors, I found that my problem was (surprisingly) the result of an unrelated syntax error in /etc/profile.d/myscript.sh . Fixing my script fixed the issue for me.

So far, the best answer I’ve found, in the case of versions of Mint based upon Ubuntu 14.04 (17.01 through 17.03) is to apt-get remove mdm, but NOT to reinstall it. It’s a lousy, terrible solution, and it doesn’t «solve» the problem, exactly, since none of the forgoing has worked, but, it does leave you a workable system. The system will boot to the «LM» logo «splash» screen and just seem to hang there. Simply press «alt F1» to get a command-prompt (a useful thing to have in my book. You can do some pretty handy system maintenance-type things with that command-prompt!). Then, login at the command prompt, and type «startx». X will start properly, even though MDM is missing.

I know this solution is not a real «solution», but it sure beats an unbootable system that never arrives at any sort of prompt, which is what I ended up with several times while trying to troubleshoot this silly problem.

For what it’s worth, it appears that this problem is caused by NOT using the GUI updater «Update Manager», and being stupid and lazy and using «apt-get update» from the command-line, which I did. (The Update Manager has an annoying habit of allowing one to install only one package at a time. One can batch all desired packages into one update command from the command-line, which I tend to prefer. I don’t know why I didn’t just use Synaptic. Oops.)

Will try to post later if I find the root cause of this particular issue.

Источник

Linux Mint Forums

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

failed to start x server

Post by stanstan » Tue Nov 12, 2019 2:37 pm

Читайте также:  The complete reference linux

I have just installed Linux Mint 18 on a laptop. Linux won’t start properly, the message is ‘failed to start the x server».
The problem seems to have been around for a while and I have tried several advises from several sites, but nothing works. The strange thing is, that after I press Ctrl-Alt-F2 and sign on I can type ‘startx’ and there she is: Linux works fine. So, there seems to be a ‘startx’ that functions, but Linux may have difficulty finding is.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Re: failed to start x server

Post by gittiest personITW » Tue Nov 12, 2019 2:44 pm

Hi,
LM is on 19.2, soon to be 19.3.
As you’ve got a new installation, it might be worth your while installing 19.2 which will save the possibly problematic upgrade path.

Re: failed to start x server

Post by HAWR » Tue Nov 12, 2019 2:59 pm

you could have a try with the following command:

sudo apt-get install --reinstall mint-meta-cinnamon

Taken fom this solved thread:

Re: failed to start x server

Post by stanstan » Tue Nov 19, 2019 12:26 pm

the command «sudo apt-get install —reinstall mint-meta-cinnamon» had no effect. Installing 19.2 did, but still there is something weird: I have to log in twice. First in terminal-mode and then once again in the normal Linux-screen.

Do you have a suggestion how to fix that?

kukamuumuka Level 16
Posts: 6705 Joined: Tue Sep 03, 2013 4:51 am Location: Finland Contact:

Re: failed to start x server

Post by kukamuumuka » Tue Nov 19, 2019 1:43 pm

dpkg --get-selections | grep lightdm apt install --reinstall lightdm

Re: failed to start x server

Post by stanstan » Wed Nov 20, 2019 12:28 pm

dpkg is not available on my laptop, but I did perform the second line «apt install lightdm». The response was that the latest version of lightdm (1.26.0ubuntu1) already is available on my laptop, so no installation was performed.

Do you have another suggestion.

Re: failed to start x server

Post by HAWR » Wed Nov 20, 2019 1:17 pm

This is very strange, because it should be installed. For example at every update in the update manager it is used. Then go to the Synaptic Package Manager in the menu and search for «dpkg». If it is really not installed, install it. And if it is installed, then re-install it.

Re: failed to start x server

Post by stanstan » Sat Nov 23, 2019 2:42 am

I tried the statement ‘dpkg — get-selections | grep lightdm’ again. The message I got was ‘error: need an action-option’. I translated the message from dutch, so it might be a bit off.

Further have I noticed that if I do not login the first time (in the terminal-mode), Linux will eventually proceed to the normal mode, where I can login in the normal screen. Does that suggest that I just have to be more patient and nothing is wrong? I do have Linux (18) installed on two desktop-pc’s and on those machines this situation does not happen.

Re: failed to start x server

Post by HAWR » Sat Nov 23, 2019 6:54 am

Further have I noticed that if I do not login the first time (in the terminal-mode), Linux will eventually proceed to the normal mode, where I can login in the normal screen. Does that suggest that I just have to be more patient and nothing is wrong? I do have Linux (18) installed on two desktop-pc’s and on those machines this situation does not happen.

Читайте также:  Run python linux command line

Yes, that’s it. Between the Mint logo and the login screen occurs normally only short a terminal login prompt. Then in your case it lasts a little bit longer, so that you think you have to login there, too. On the startup in the grub menu (If you don’t see it, press Shift or Esc a few times), use the «e» key to edit grub starting option. Scroll down and find the line with «quiet splash» and delete quiet splash and go on with the system start, so you the can see the startup processes. Maybe you find a hint, why it hangs at that point. After the next boot, the system start runs again with «quiet splash».

kukamuumuka Level 16
Posts: 6705 Joined: Tue Sep 03, 2013 4:51 am Location: Finland Contact:

Re: failed to start x server

Post by kukamuumuka » Sat Nov 23, 2019 12:47 pm

stanstan wrote: ⤴ Sat Nov 23, 2019 2:42 am I tried the statement ‘dpkg — get-selections | grep lightdm’ again. The message I got was ‘error: need an action-option’. I translated the message from dutch, so it might be a bit off.

dpkg --get-selections | grep lightdm apt reinstall lightdm 

Re: failed to start x server

Post by stanstan » Wed Nov 27, 2019 9:53 am

I have followed both your advises.

This one succeeded:
dpkg —get-selections | grep lightdm
apt install —reinstall lightdm
But I had no effect, still it seems like I have to log on twice. Although now I know I don’t have to, just have to be more patient.

I managed to turn off the quiet splash in the grub-file. As expected a lot of information was shown, whilst starting. But I have no idea what to think of that information. In the end it halted again for a while for the first login.

Do you have other suggestions?

  • Important Notices
  • ↳ Rules & Notices
  • ↳ Releases & Announcements
  • ↳ Main Edition Support
  • ↳ Beginner Questions
  • ↳ Installation & Boot
  • ↳ Software & Applications
  • ↳ Hardware Support
  • ↳ Graphics Cards & Monitors
  • ↳ Printers & Scanners
  • ↳ Storage
  • ↳ Sound
  • ↳ Networking
  • ↳ Virtual Machines
  • ↳ Desktop & Window Managers
  • ↳ Cinnamon
  • ↳ MATE
  • ↳ Xfce
  • ↳ Other topics
  • ↳ Non-technical Questions
  • ↳ Tutorials
  • Debian Edition Support
  • ↳ LMDE Forums
  • ↳ Beginner Questions
  • ↳ Installation & Boot
  • ↳ Software & Applications
  • ↳ Hardware Support
  • ↳ Networking
  • ↳ Tutorials
  • ↳ Other Topics & Open Discussion
  • ↳ LMDE Archive
  • Interests
  • ↳ Gaming
  • ↳ Scripts & Bash
  • ↳ Programming & Development
  • Customization
  • ↳ Themes, Icons & Wallpaper
  • ↳ Compiz, Conky, Docks & Widgets
  • ↳ Screenshots
  • ↳ Your Artwork
  • Chat
  • ↳ Introduce Yourself
  • ↳ Chat about Linux Mint
  • ↳ Chat about Linux
  • ↳ Open Chat
  • ↳ Suggestions & Feedback
  • International
  • ↳ Translations
  • ↳ Deutsch — German
  • ↳ Español — Spanish
  • ↳ Français — French
  • ↳ Italiano — Italian
  • ↳ Nederlands — Dutch
  • ↳ Português — Portuguese
  • ↳ Русский — Russian
  • ↳ Suomi — Finnish
  • ↳ Other Languages
  • ↳ Čeština-Slovenčina — Czech-Slovak
  • ↳ Magyar — Hungarian
  • ↳ 日本語 — Japanese
  • ↳ Polski — Polish
  • ↳ Svenska — Swedish
  • ↳ Українська — Ukrainian

Powered by phpBB® Forum Software © phpBB Limited

Источник

Оцените статью
Adblock
detector