Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to run KDE application uder the root?

  1. #1

    Exclamation How to run KDE application uder the root?

    Good day.
    I am new to OpenSUSE and Linux.
    I whant to run KDE application (KWrite) uder the root while working under usuall user.
    While I was in bash I had this:

    Code:
    proger@linux-9zll:~> sudo bash
    root's password:
    linux-9zll:/home/proger # kwrite
    kwrite: cannot connect to X server
    I there any way to run GUI application under root?
    Is it possible to run it without using bash or other shell?

  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,574
    Blog Entries
    38

    Default Re: How to run KDE application uder the root?

    Quote Originally Posted by Proger89 View Post
    Good day.
    I am new to OpenSUSE and Linux.
    I whant to run KDE application (KWrite) uder the root while working under usuall user.
    While I was in bash I had this:

    Code:
    proger@linux-9zll:~> sudo bash
    root's password:
    linux-9zll:/home/proger # kwrite
    kwrite: cannot connect to X server
    I there any way to run GUI application under root?
    Is it possible to run it without using bash or other shell?
    Instead, as a regular user, type: kdesu kwrite

    Enter root password when prompted for a password.

  3. #3

    Default Re: How to run KDE application uder the root?

    Quote Originally Posted by oldcpu View Post
    Instead, as a regular user, type: kdesu kwrite

    Enter root password when prompted for a password.
    It works!!
    Thank you a lot!!

  4. #4
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,574
    Blog Entries
    38

    Default Re: How to run KDE application uder the root?

    Quote Originally Posted by Proger89 View Post
    It works!!
    Thank you a lot!!
    Great! Welcome to openSUSE forums.

    In case it might help, here is a link to some openSUSE concepts: Concepts - openSUSE

    Here is a link to our new users stickie ... there may be some links there of help to you: NEW Users - Suse-11.1 Pre-installation PLEASE READ - openSUSE Forums

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,369

    Default Re: How to run KDE application uder the root?

    And as an extra link for your case: SDB:Login as root - openSUSE

    Welcome to the forum.
    Henk van Velden

  6. #6
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,574
    Blog Entries
    38

    Default Re: How to run KDE application uder the root?

    Quote Originally Posted by hcvv View Post
    And as an extra link for your case: SDB:Login as root - openSUSE

    Welcome to the forum.
    hcvv, ... I'm thinking that might be a good URL to add to our new users stickie? ... what do you think ? Too advanced to include there, or a good place to add the link?

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,369

    Default Re: How to run KDE application uder the root?

    I personaly would support this. The only con would be that we must not drown the new user in to much to read because he then may quit reading anything .

    Reading throught the forums this SDB belongs to basic knowledge for any Linux administrator and as we know most new Linux users are their own, just starting on the job, administrators.

    I also would like to make a plea for SDB:Basics of partitions, filesystems, mount points - openSUSE.
    When reading through the threads it may even contain more asked for knowledge then the "login as root" one. Both were origanaly written by me with the newbie in mind (see the "Basics" in the title) and subsequent improvers (it is a Wiki) have stick to that.

    But again, how much can we increase the information braught to a new user without shying him away.

    When we do add these, maybe a bundling of some sort in one link might be of use. Also for the one that provides the links(s) in a post (we are lazy aren't we?).
    Henk van Velden

  8. #8
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,574
    Blog Entries
    38

    Default Re: How to run KDE application uder the root?

    Quote Originally Posted by hcvv View Post
    I personaly would support this. The only con would be that we must not drown the new user in to much to read because he then may quit reading anything .

    Reading throught the forums this SDB belongs to basic knowledge for any Linux administrator and as we know most new Linux users are their own, just starting on the job, administrators.

    I also would like to make a plea for SDB:Basics of partitions, filesystems, mount points - openSUSE.
    When reading through the threads it may even contain more asked for knowledge then the "login as root" one. Both were origanaly written by me with the newbie in mind (see the "Basics" in the title) and subsequent improvers (it is a Wiki) have stick to that.

    But again, how much can we increase the information braught to a new user without shying him away.

    When we do add these, maybe a bundling of some sort in one link might be of use. Also for the one that provides the links(s) in a post (we are lazy aren't we?).
    Of course, our stickie is not the "official" installation guide for openSUSE. Instead it is just a moderately organized set of tidbits that our forum has put together to help new users, and to help address many of the common mistakes (hopefully before they happen) and provide information on many aspects where there are always questions by new users.

    I'm considering the idea of adding the links here with the ones that are already in place:
    NEW Users - Suse-11.1 Pre-installation PLEASE READ - openSUSE Forums

    Possibly add these two links as the last two links in a revised version of that post:

    Your point about making it so big that no one reads it is very valid. But then again, its not intended to be the primary installation guide, as that installation guide is not a forum responsibility. This is only something we offer our forum members and offer anyone else who may stop by to visit and read the stickie.

    I've already started (almost finished) creating a version of the stickie for 11.2. I've now divided that stickie into two, where part-a never changes with a new release, and part-b is openSUSE version specific. Its currently on my PC hard drive (in a series of text files with proper formatting embedded characters) and all I need to do is copy and paste to the forum.

    We have also created a New User section (read only) with the stickies, and we will soon reference this section as an initial screen when new users first log on (until they achieve something like 10 posts or until they dismiss it) and we also plan to reference our forum from the main openSUSE download wiki.

  9. #9
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,574
    Blog Entries
    38

    Default Re: How to run KDE application uder the root?

    Quote Originally Posted by hcvv View Post
    I also would like to make a plea for SDB:Basics of partitions, filesystems, mount points - openSUSE.
    When reading through the threads it may even contain more asked for knowledge then the "login as root" one. Both were origanaly written by me with the newbie in mind (see the "Basics" in the title) and subsequent improvers (it is a Wiki) have stick to that.
    I also (just now) added a link to that wiki you wrote into the openSUSE concepts wiki: Concepts - openSUSE - hard drives: terminology and partition table

  10. #10
    palladium NNTP User

    Default Re: How to run KDE application uder the root?

    > Possibly add these two links as the last two links in a revised version
    > of that post:
    > - Administrator (root) essentials: 'SDB:Login as root - openSUSE'
    > (http://en.opensuse.org/SDB:Login_as_root)


    yes, include it...but, i'd expand it just a little to something like:

    - It is not required to log into KDE/Gnome/etc as the Administrator
    (root) to do administrator tasks, instead see: 'SDB <snip>

    --
    palladium

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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