Results 1 to 4 of 4

Thread: How to manually start x server?

  1. #1

    Default How to manually start x server?

    I just learned how to start the system in (formerly) runlevel 3.
    From further Suse versions I'm used to having the X started with the command startx.

    But now it doesn't run as naturally as before, since I get the message that the file ~/.serverauth.2084 is missing.

    How has this file to look like?

  2. #2

    Default Re: How to manually start x server?

    Quote Originally Posted by Jaizkibel View Post
    But now it doesn't run as naturally as before, since I get the message that the file ~/.serverauth.2084 is missing.
    No, it is not missing.

    But a normal user doesn't have the permissions to create it.

    It is not possible to run "startx" as normal user since years, it only works for root.

    If you insist on doing that anyway, you need to set the Xorg executable suid root.
    I.e. uncomment the existing line in /etc/permissions.local and run "chkstat --system" afterwards to "apply" the change.

    This is considered to be a security risk though, and that's why it is disabled by default since years.

    Another reason why startx is unsupported since years is that it doesn't properly register a login session, which means insufficient privileges for the user in other areas too (like accessing the video or sound card, mounting drives, ...), so it likely will be necessary to add the user to the corresponding system groups (e.g. video and audio).
    Last edited by wolfi323; 28-Aug-2017 at 09:54.

  3. #3

    Default Re: How to manually start x server?

    Ok, I abstain from using startx

    Thank you.

  4. #4
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,187

    Default Re: How to manually start x server?

    Note that you can still start display manager (such as sddm, gdm or lightdm) even if you have booted to multi-user.target with;
    Code:
    systemctl start display-manager
    .: miuku @ #opensuse @ irc.libera.chat

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •