LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-28-2004, 10:36 PM   #1
couvier
LQ Newbie
 
Registered: Jun 2004
Posts: 15

Rep: Reputation: 0
how do i change to root while in GUI?


I find it annoying, that when i want to change to root while im in KDE or Gnome, that i have to logout of the X, then switch user to root, then load X back up, so that the root user is using the GUI. I know you can bring up a terminal while in X and type the su command, but that only switches to root only in the currently opened terminal and not the GUI.

How can you make it so you can switch to root in the GUI and not just a terminal window without loging out of X (KDE or Gnome)?
 
Old 06-28-2004, 10:57 PM   #2
slackist
Member
 
Registered: Feb 2004
Location: Phuket, Thailand
Distribution: Slackware 14.1
Posts: 437

Rep: Reputation: Disabled
I don't know if you can, but if you want to run a program as root in the current X session then use the su and then run the program from the command line.

mark
 
Old 06-29-2004, 12:42 AM   #3
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
couvier, what distro are you using and what is it that you are trying to do? Why can't you do what you want in a terminal? It is probably alot easier.
 
Old 06-29-2004, 10:34 AM   #4
oxidized
LQ Newbie
 
Registered: Jun 2004
Location: New York City
Distribution: Debian
Posts: 21

Rep: Reputation: 15
Why would you want to do that?

I use the handy [Ctrl]+[Alt]+[Fxx] combo. XX being a number from 1 to 12. And the [Alt]-[F7] combo to get out. You get a good full screen shell while still keeping the GUI handy.

That probably didn't answer the question, but, well...
 
Old 06-29-2004, 11:24 AM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
After you su in a terminal, you should be able to open up a GUI program from that terminal. If you have enough system resources, you could also
Ctrl+alt+F2
login as root and
startx -- :1
This would create a gui on
ctrl+alt+f8
use
ctrl+alt+f7
to switch to the other gui
 
Old 06-29-2004, 11:53 AM   #6
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
You can use xnest, which is included in gnome. It will be under your menu in Systemtools-->NewLogin in a nested window.

But you really should just do it all from the terminal. It's your friend!
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change my desktop/GUI? donJulio Slackware 4 09-17-2005 12:42 PM
How do you change what GUI is used in x-windows? Apocalypse King Linux - Newbie 5 09-21-2004 03:37 PM
how can I change to root user in the KDE GUI nicoc Linux - Newbie 3 07-23-2004 01:01 PM
How do I change my X Windows GUI? defubar Linux - Newbie 2 02-03-2004 05:47 PM
How can i change the default GUI ? zokter Linux - Newbie 2 09-27-2003 08:08 PM


All times are GMT -5. The time now is 05:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration