LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-04-2005, 11:52 AM   #1
t-smurf
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian w/KDE 3.4
Posts: 10

Rep: Reputation: 0
Can't run X as root!


Hi!

I have just reinstalled Ubuntu on my laptop but I ran into a problem I didn't had last time I installed it.

I can't run any X-based programs, like kwrite and ksysguard, as root-user. It tells me that it cannot connect to X server.

It's no problem running these programs as "normal" user.

Hopes someone can help me here.
 
Old 10-04-2005, 12:34 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Try
Code:
sux -
next time you switch to root.

In the KDE world there is a
Code:
kdesu command_here
option - I think (but I am not sure) in GNOME that is
Code:
gksu command_here
so give that a try as well.
 
Old 10-04-2005, 01:49 PM   #3
t-smurf
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian w/KDE 3.4
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by anomie
Try
Code:
sux -
next time you switch to root.

In the KDE world there is a
Code:
kdesu command_here
option - I think (but I am not sure) in GNOME that is
Code:
gksu command_here
so give that a try as well.

Thanks!!

That worked.
 
  


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
Run First As Root? Terje Linux - Software 1 01-10-2005 08:13 AM
cant run 'cc' as root also nukeu666 Linux - General 8 11-24-2004 07:35 AM
I have to ssh -l root to run root processes!? paul.nel Red Hat 3 11-15-2004 11:55 AM
run as root squi Linux - Newbie 5 09-19-2003 09:31 AM
LimeWire installed as root, can't run if not root sulzla Linux - Newbie 1 07-01-2003 07:48 PM


All times are GMT -5. The time now is 07:56 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