Linux - SoftwareThis 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
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
me and my friend started vnc but as i want to connect to him there was this error:
vncviewer: ConnectToTcpAddr: connect: Connection refused
Unable to connect to VNC server
I'm not entirely sure what you mean by "real" display. The :1 display is as real (and functional) as any other. Usually the problem is that vncserver starts twm by default. So your friend will have to edit the xstartup file in his .vnc directory. Comment out the twm command and add the startkde command
#twm
startkde &
And if you really want to start vnc on 0, I think vncserver:0 should do the trick.
Hmmm
you know vnc with windows?
then you know what i mean...
there is only 1 display and i can control his mouse in windows, but in linux there are many new displays... the problem is: i should configure the mldonkey of my friend and not the one on other displays but the one display he sees when he starts linux with kde.
VNC doesn't work with linux the way it works with windows. In linux it doesn't seem to do desktop sharing (at least not that I've been able to find. I'm sure someone will correct me if I'm wrong).
If you want to share a desktop and your freind is running KDE, you'll want to check out KDE Destop Sharing . I've never used it, but it sounds more like it will do what you want.
By the way, you should probably check into running this over an SSH tunnel so you aren't doing things like sending usernames and passwords across the internet in plain text. VNC has no encryption capabilities and I doubt KDE Desktop Sharing does either.
i don't know if it is actually possible, as X is designed to be an extensible windowing server, not a noddy little toy like windows. the client server nature involved incorporates elements of security which makes in conceptually bad to be able to do that. What I do at home is simply to create a vnc session for that application just at 800x600 low colour, and maximize the program in the session, and remove window decoration. you can then access this as if it appeared to be a local program from anywhere including the local X session.
the way i do it is to use vnc as my login window manager (of course my .vnc/xstartup i have it run KDE.)
so i logon in failsafe mode and get a server running
i.e., vncserver :22 -geometry 1600x1200 -alwaysshared
then in my .xinitrc i put
vncviewer -fullscreen -passwd .vnc/passwd -shared mymachine:22
so whenever i log in i via KDM i get my vnc server (except in failsafe mode). since my home directory is nfs mounted on other machines in the lan, i can do the same thing from anywhere in my lab. to log out i just hit ctrl-alt-backspace.
an added benefit is that logging in is very fast, and all my stuff is still there. it works fast enough locally on the 100Mb lan that I don't really notice it.
and when i go home i can connect to my desktop whether i'm logged in or not. (in KDE's shared desktop if you log out, or if someone logs in on top of you it doesn't work. ) it does slow down when too many viewers are connected.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.