[root@localhost Desktop]# vncviewer 192.168.0.11:2
vncviewer not viewing kde display
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.
Hi folks, on my red hat 7.2 (192.168.0.112) i have vncserver running on display 8 (not sure if this is right, but i assumed so because when i do ctrl+F8 i come to my kde graphical display). on my fedora core 4 (192.168.0.111) i didn't have vncviewer so i installed the newest version from tightvnc.com, tightvnc-1.2.9-1.i386.rpm.
i don't know what kind of vncserver is running on the red hat machine.
when i run from fedora:
vncviewer 192.168.0.112:8
i come to this wierd display that is not the grahpical kde display on the red hat machine, i only get up a gray screen with one black console window. why can't i see my graphical desktop on the red hat machine?
thanks
Nick
Tight(Real)VNC != x11vnc ... they actually both don't give
you your actual desktop but that other "thing" that you did
describe. If you want your REAL Desktop you need to install
x11vnc...
i installed x11vnc on the client (FC4) and it didn't help. i still get the same wierd window with one black floating console window. how do i check the server to see if the vncserver is indeed x11vnc?
I too have the same situation. I have Fedora Core 4 installed. I installed the VNC Server that's on the install CD. When I run vncviewer on any remove machine, all I get is the console also. I, however, run GNOME instead of KDE. After reading the above, I too would need to know how to check for x11vnc.
Originally posted by nickleus i installed x11vnc on the client (FC4) and it didn't help. i still get the same wierd window with one black floating console window. how do i check the server to see if the vncserver is indeed x11vnc?
Checking the names of the running processes?
ps -A aux | grep -i vnc
Plus you'll have to start the x11vncserver from the running
X11 session....
Please excuse my ignorance but what do you mean by running it from the X11 session?
Do i log into kde then start some kind of X11 window (which one?) and then in that window start x11vncserver <-- and is the script name x11vncserver or is it just vncserver? Thanks so much for helping me on this, i really want to get it to work
btw, i ran that ps command and i saw that it said Xvnc, so i'm guessing then that x11vncserver is running...?
Here is what I've done to be able to see the CDE session of my Solaris box.
I edit the ~/.vnc/xstartup and add a "Xsession&".
So I guess to be able to use KDE you have to edit that file and add "startkde" or something like that.
bathory, so let me start from the beginning. i start up my server, i'm in console 1, i log in, i edit the ~/.vnc/xstartup by putting in the following:
Xsession&
startkde
save the file. and then run xstartup instead of the normal startx? and then when i get into kde i run vncserver? then go to my client and run vncviewer?
does that sound right? thanks again for everybody's patience and help
You don't need Xsession since it's for CDE. Also you start your xserver as you always do (i.e. through startx). This will make things more clear for you.
thank you very much bathory! i can see the kde desktop, but it is a completely new session so the windows i have open on my server don't show. how do i actually see through vnc what i can physically see on my server as if i was standing right there?
thanks so much bathory! you rule =) apparently i hadn't installed x11vnc so i went to that page you gave me, followed the download link, clicked on the recommended link, was redirected to sourceforge.net, i downloaded x11vnc-0.7.2.tar.gz, "./configure"-ed it, "make"-ed it, "make install"-ed it, then ran:
Code:
x11vnc -forever
(you have to use -forever if you don't want x11vnc to close after a viewer closes its connection)
it set the display to 0 as default. on my client i ran the following on the command line:
vncviewer 192.168.0.112:0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.