Results 1 to 10 of 10

Thread: Unable to start new X session instance

  1. #1
    Join Date
    May 2014
    Location
    Yerevan, Armenia
    Posts
    24

    Default Unable to start new X session instance

    hi there ! if anyone can help i'll appreciate that!! so im trying to run new X session, and it gives me an error: https://paste.kde.org/pcdslqpe8 and the LOG: https://paste.kde.org/piwvt9ebh

    thanks

  2. #2

    Default Re: Unable to start new X session instance

    Quote Originally Posted by smartalgorithm View Post
    hi there ! if anyone can help i'll appreciate that!! so im trying to run new X session, and it gives me an error: https://paste.kde.org/pcdslqpe8 and the LOG: https://paste.kde.org/piwvt9ebh

    thanks

    Hello,

    Trying to execute the startx command only works for me on 13.2 when I am the root user. Trying it as a normal user on the system does not work....

    I hope that may help you...

  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,769

    Default Re: Unable to start new X session instance

    Yes startx has been deprecated and by default can not be run by a normal user.

  4. #4

    Default Re: Unable to start new X session instance

    Quote Originally Posted by gogalthorp View Post
    Yes startx has been deprecated and by default can not be run by a normal user.

    If startx is now deprecated, can you inform us of the new command that replaces startx?
    Can this new command then be executed as a normal user?


    Thank you,

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,769

    Default Re: Unable to start new X session instance

    No

    You can change thing to make startx work like in the past but it is considered a security hole. As root you can use init 5.

    Extensive discussion here

    https://forums.opensuse.org/showthre...art-x-properly

  6. #6

    Default Re: Unable to start new X session instance

    Quote Originally Posted by gogalthorp View Post
    No

    You can change thing to make startx work like in the past but it is considered a security hole. As root you can use init 5.

    Extensive discussion here

    https://forums.opensuse.org/showthre...art-x-properly

    Ok the discussion on the link, is more about the initial starting of the first session of X. The initial question on this thread was
    how to properly start a second X session on the system not the initial one.

    So the question remains then, what is the proper way now to start a second X session on OpenSuSE now?

  7. #7

    Default Re: Unable to start new X session instance

    Quote Originally Posted by crubel View Post
    Ok the discussion on the link, is more about the initial starting of the first session of X. The initial question on this thread was
    how to properly start a second X session on the system not the initial one.
    But in both cases startx has been used. And startx doesn't work as user since years (with the default openSUSE setup).

    As you've been told, you can make it work by making Xorg suid root, but that's a security risk and has been changed years ago therefore.

    So the question remains then, what is the proper way now to start a second X session on OpenSuSE now?
    In KDE: choose "Switch user" in the K-Menu, on the "Leave" tab.
    Or run:
    Code:
    kdmctl reserve
    (this should work even in other sessions, as long as you use KDM as display/login manager)
    Last edited by wolfi323; 28-Oct-2015 at 05:20.

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,499
    Blog Entries
    2

    Default Re: Unable to start new X session instance

    It's my impression that Wolfi's recommended procedure switches entirely from one User to another.

    Maybe the OP needs to clarify his intent, my impression is that he wanted to run a windowed session?
    At least that was my impression from the referenced logfile...

    Although "startx" might be deprecated, it was my impression that it was replaced by "starkde"
    I wonder if that might be used in place of "startx" along with some display parameters...

    TSU

  9. #9

    Default Re: Unable to start new X session instance

    Quote Originally Posted by tsu2 View Post
    It's my impression that Wolfi's recommended procedure switches entirely from one User to another.
    Not necessarily.
    It starts a new X session with a login screen. You can login as the same user too...
    (but it's not possible to run KDE twice at the same time as the same user)

    Maybe the OP needs to clarify his intent, my impression is that he wanted to run a windowed session?
    At least that was my impression from the referenced logfile...
    How would you run a "windowed session" with startx?

    Although "startx" might be deprecated, it was my impression that it was replaced by "starkde"
    Absolutely not.

    startkde is a script that starts the KDE desktop, you have to run it inside an existing X session.

    startx starts a new (empty) X session and executes the X startup scripts, including startkde if wanted.

    I wonder if that might be used in place of "startx" along with some display parameters...
    No.
    It will run the KDE desktop inside an already existing X session.

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,254
    Blog Entries
    15

    Default Re: Unable to start new X session instance

    Hi
    Here is icewm running on top of Gnome in Leap....

    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

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