UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I need to be able to set displays back to my local machine and run applications. This seems to be disabled in kubuntu and I can't find where to make the change.
Typical scenario:
Run xhost + on my machine
ssh into a remote machine
export DISPLAY=myipaddy:0.0
start remote app.
GNOME has a config for this in GDM I think but I can't find the equivalent in KDE.
I have changed my ssh_config to allow X11 forwarding.
You mean start a application remotely and have it appear on the box you ssh in to?
if so then you run
Code:
xhost +
from the target box, then just ssh in and set the display to ":0.0"
If you mean you want to run an application from a remote system, and have it appear on your system, so you control it remotely, then you don't set the display to myip:0.0 or use xhost, you just ssh in with
Code:
ssh -X user@host
the display will automatically be set. Then you can start an app from a remote location, and have to appear on the box you are logged in to.
I don't think that is going to work for me since I have to su into a password less account. I'll keep digging, it has to be something simple, I've been doing this on all kinds of *nix for years.
"I found that I had to configure KDM in Kubuntu to listen on the network to accept connections to run X. Simply setting the DISPLAY variable on the remote system, typing xhost + on the local system and then running the X application on the remote system would not work.
The key file is /etc/kde3/kdm/kdmrc
In there is a line that says:-
ServerArgsLocal=-nolisten tcp
Just comment this out by putting a # in front of the line and restart X by logging out and back in again."
I want to ssh in from work and launch a graphical app on my home desktop (gaim chat) so that it just sits in the tray (or is on-screen, I don't care) at home. I don't want to forward X11, nor control it remotely, nor see the application. I just want the app running at home on display :0 so that people can leave me a chat message on my home machine.
does this thread address that? Or should I start a new thread?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.