Hello world!
I was wondering, is it possible for me (I have admin) to change the "xhost" to "xhost -" of another user, from another computer if I'm logged on ...
Enjoy an ad free experience by logging in. Not a member yet?
Register.
-
Just Joined!
Control xhost of another user
Hello world!
I was wondering, is it possible for me (I have admin) to change the "xhost" to "xhost -" of another user, from another computer if I'm logged on to it remotely via ssh?
Thanks!
-
Linux Guru
What exactly are you trying to do? The xhost command is to control access to a specific X server, which in the case of a remote user is running on their remote system. IE, controlling access to THEIR environment. So, as I asked, what EXACTLY do you want to do?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
-
Just Joined!
Re

Originally Posted by
Rubberman
What exactly are you trying to do? The xhost command is to control access to a specific X server, which in the case of a remote user is running on their remote system. IE, controlling access to THEIR environment. So, as I asked, what EXACTLY do you want to do?
What I mean to do is be able to change the xhost settings for another user that is logged on via GUI. In other words, I log on remotely to a computer, there is a user that is logged on via GUI, and I can change their xhost settings using root.
-
Linux Guru

Originally Posted by
Vampire5
What I mean to do is be able to change the xhost settings for another user that is logged on via GUI. In other words, I log on remotely to a computer, there is a user that is logged on via GUI, and I can change their xhost settings using root.
See the xhost man page. You can control access to users as well as remote hosts.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
-
Just Joined!
Re:

Originally Posted by
Rubberman
See the xhost man page. You can control access to users as well as remote hosts.
I know that, I just need to know if there's an option that isn't on the man page, that I could use. Is there a way I could specify the display?
-
Linux Guru

Originally Posted by
Vampire5
I know that, I just need to know if there's an option that isn't on the man page, that I could use. Is there a way I could specify the display?
No. As per the man page:
You can’t specify a display on the command line because -display is a valid command line argument (indicating
that you want to remove the machine named ‘‘display’’ from the access list).
FWIW, this is in the BUGS section of the document.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
-
Just Joined!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules