LinuxQuestions.org
Visit Jeremy's Blog.
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 08-17-2003, 04:50 AM   #1
davee
Member
 
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Rep: Reputation: 30
Can't launch X apps when 'su'd as another user


When I try and launch an app as another user, I get the :

Xlib: connection to ":0.0" refused by server

message. What should I be doing? I don't want to have to log out and in again as another user...

Dave
 
Old 08-17-2003, 05:57 AM   #2
hfawzy
Member
 
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163

Rep: Reputation: 30
Before you switch user, try to type this command in the console :
Code:
xhost +localhost
hfawzy
 
Old 08-17-2003, 07:13 AM   #3
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Or just "xhost +" to lett all users access the X server.
 
Old 08-17-2003, 12:54 PM   #4
davee
Member
 
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Original Poster
Rep: Reputation: 30
Smile

Thanks guys!
 
  


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
Can't launch X-apps as super user Optimistic Debian 3 09-18-2005 01:05 PM
way to *click* launch apps slackwarebilly Linux - General 10 07-27-2005 12:11 PM
how to launch apps in a new x display? zero79 Debian 8 06-29-2005 10:58 PM
Menu troubles: apps do not launch; unable to add apps hfinger Mandriva 1 08-22-2003 05:49 AM
Automatically Launch apps. with Fluxbox ganninu Linux - Software 1 08-17-2003 01:29 PM


All times are GMT -5. The time now is 10:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration