LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 08: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, 09:02 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Try doing "su -"
 
Old 01-10-2003, 11: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, 11: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, 07: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, 08: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, 08: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, 12:40 PM   #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, 02: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


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


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