LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-27-2017, 03:37 PM   #1
Molle
Member
 
Registered: Sep 2016
Posts: 60

Rep: Reputation: Disabled
Question How do i run Konsole via Root?


How do i run Konsole via Root?
 
Old 11-27-2017, 05:36 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
open Konsole, type
Code:
$ sudo konsole
and a root konsole will open.
 
1 members found this post helpful.
Old 11-27-2017, 08:11 PM   #3
Molle
Member
 
Registered: Sep 2016
Posts: 60

Original Poster
Rep: Reputation: Disabled
What dos this mean :

Quote:
morten@linux-cgej:~> sudo konsole
[sudo] password for root:
QXcbConnection: Could not connect to display
Aborted
morten@linux-cgej:~>

Last edited by Molle; 11-27-2017 at 08:12 PM.
 
Old 11-27-2017, 08:21 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,325

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
While you're in konsole just type su, then use root password.
 
1 members found this post helpful.
Old 11-27-2017, 10:21 PM   #5
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 3,337
Blog Entries: 1

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Quote:
Originally Posted by Molle View Post
QXcbConnection: Could not connect to display :
A display is a component of an X session. Konsole cannot be run directly from a vtty.
 
Old 11-27-2017, 11:00 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,502
Blog Entries: 28

Rep: Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434
Quote:
What dos this mean :
Most distros do not share the *buntus' creepy sudo fetish. That is, most distros other than the *buntus do not pre-configure sudo.

They expect you to use su to assume root privileges. If you wish to use sudo, you must configure it yourself using visudo. Unless you are using a *buntu, to use konsole as root, open konsole as user and run su.

Code:
frankbell@orca ~/ $ su
Password: 
root@orca frankbell/ $
Afterthought: This was on Slackware. I have customized my .bashrc file because I wanted to know what directory I was in because I got tired of running pwd.

Code:
frankbell@orca ~/ $ cat .bashrc
PS1="\u@\H \W/ \$ "

Last edited by frankbell; 11-27-2017 at 11:47 PM. Reason: clarity
 
Old 11-27-2017, 11:18 PM   #7
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,424
Blog Entries: 3

Rep: Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438Reputation: 1438
Quote:
Originally Posted by keefaz View Post
While you're in konsole just type su, then use root password.
then type exit or close the app,
Code:
kdesudo
may do to fire-up a gui like Konsole
Code:
adduser morten sudo
...have fun!

Last edited by jamison20000e; 11-27-2017 at 11:20 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] open Konsole after boot and login, run a command, keep Konsole open for use heronlin Linux - General 3 10-20-2014 03:01 AM
How can i run konsole with root? Whynot Linux - Desktop 3 08-12-2007 11:59 AM
konsole acts as "Root Konsole" ab44045 Linux - General 11 06-11-2007 05:18 PM
root cannot run x apps from konsole patolfo Debian 4 08-23-2006 09:40 AM
How do i get into root from konsole? AngelLucifer Linux - Newbie 7 11-01-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration