LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-10-2003, 07:42 AM   #1
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
Debian permissions?


Programs that won't run in a root (su) terminal while logged in as a user will run when logged in as root. Except for "wvdial" which won't run anywhere. (pppd errors 2,16 or 19) after actually connecting the first time I used it.
 
Old 01-10-2003, 08:02 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Try doing "su -"
 
Old 01-10-2003, 10:14 AM   #3
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Original Poster
Rep: Reputation: 30
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server

This is the error message returned when running a root term while logged in as a user.
 
Old 01-10-2003, 10:27 AM   #4
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
open a user terminal and type xhost +localhost
 
Old 01-10-2003, 06:43 PM   #5
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Original Poster
Rep: Reputation: 30
No such luck. When is root denied access in Linux?
 
Old 01-10-2003, 07:11 PM   #6
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
ok, try xhost +root,
 
Old 01-10-2003, 07:30 PM   #7
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Original Poster
Rep: Reputation: 30
From "man xhost". Xhost with [+] turns xhosting off. Thanks rshaw,I'll do my homework next time. (BTW xhost +root returned "bad hostname") This is my first post from Debian so I'll quit whining.
 
Old 01-12-2003, 11:40 AM   #8
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
not sure if this help but try
apt-get install xsu

then read up (man) on using it
 
Old 01-12-2003, 01:29 PM   #9
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Original Poster
Rep: Reputation: 30
The right syntax for xhost is "xhost local:root" to give root xprivileges. It's basically the same as xsu without the gui. Thanks.
 
  


Reply



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
Permissions in Debian - sudo works, su doesn't (etch/64Studio) greennick Linux - Software 0 09-12-2005 03:04 PM
755 permissions via samba for a CDrom or DVDrom... howto in debian? Lleb_KCir Linux - General 1 03-13-2005 12:39 PM
Bad Debian Default Permissions LinuxGeek Debian 4 03-09-2005 08:48 AM
getting a directory's permissions and creating a new one with the same permissions newbie1000101 Programming 1 04-10-2004 12:52 PM
Heavy problems with mount and permissions in Debian bureado Linux - General 1 12-07-2003 11:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:03 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
Open Source Consulting | Domain Registration