LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-30-2006, 04:01 AM   #1
Dakkar
Member
 
Registered: Dec 2003
Location: Turkey
Distribution: Suse
Posts: 89

Rep: Reputation: 15
About vnc server


Hi
I wanted to ask you something about vnc server on suse 10.2
I have started krfb desktop sharing and when i try to connect it within or out local network it sometimes says rect too big and sometimes it connects to vnc server but when i tried to touch anything in vncserver it crashes and shows an error report and disconnect the client
I dont have firewall in suse 10.2 because i have disabled it and wrote my own firewall with iptables so i dont think its a firewall issue it may be caused by something else.
Does anyone have any idea about it?
 
Old 01-30-2007, 12:06 AM   #2
socceroos
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Ubuntu, FreeBSD, Fedora
Posts: 125

Rep: Reputation: 16
Post the error log to this thread, that way I can more accurately diagnose your problem.
 
Old 02-11-2007, 11:36 AM   #3
ianman
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
Krfb

I have the same problem 10.2 x86_64 with the following errors>>

----------------------------------

System configuration startup check disabled.

(no debugging symbols found)
Using host libthread_db library "/lib64/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47909851178272 (LWP 13665)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5 0x00002b92ddd87535 in raise () from /lib64/libc.so.6
#6 0x00002b92ddd88990 in abort () from /lib64/libc.so.6
#7 0x00002b92dddbe6db in __libc_message () from /lib64/libc.so.6
#8 0x00002b92dddc38fe in malloc_printerr () from /lib64/libc.so.6
#9 0x00002b92dddc4f36 in free () from /lib64/libc.so.6
#10 0x00002b92dd539882 in XCreateImage () from /usr/lib64/libX11.so.6
#11 0x0000000000411d37 in QWidget::setUpdatesEnabled ()
#12 0x0000000000412a10 in QWidget::setUpdatesEnabled ()
#13 0x0000000000413fb1 in QWidget::setUpdatesEnabled ()
#14 0x0000000000419498 in QMemArray<char>::~QMemArray ()
#15 0x00002b92ddd74ae4 in __libc_start_main () from /lib64/libc.so.6
#16 0x0000000000410bb9 in QWidget::setUpdatesEnabled ()
#17 0x00007fffd0130888 in ?? ()
#18 0x0000000000000000 in ?? ()

--------------------
Then cannot connect Via VNC (krfb) Desktop sharing
 
Old 02-11-2007, 12:04 PM   #4
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
Not sure what you are trying to do but it works perfectly straight right out of the box. All the relevant programs are installed ny default.
Set initially the transfer seettings to the smallest to start with -- don't use screen resolutions that your LOCAL machine can't handle either.

My SUSE installations are also "Bog Standard" but with current online updates done.

1) On the local machine start ssl and connect to the remote machine.

2) on the console type vncserver and make a note of what display number you get

start another console session on the LOCAL machine and type vncviewer (or use KDE's menu doesn't matter). Try using the stand alone program vncviewer first instead of the KDE service as this will isolate the problem a bit --is it a vnc problem or a KDE defect.

You should get a prompt asking you for the server (if you typed vncviewer it will be a little window otherwise a kde screen will appear).

For testing - saves mucking about with DNS entries and other extra problems type in the ipaddress followed by the number of the display you got when starting the vnc server on the REMOTE machine

for example 192.168.1.5:1 ensure the display number is preceeded via a :

Enter your password / pass phrase depending on how you've set up your logon to the remote machine. Just start with normal methods i.e a password. You can do fancy things like adding keys and pass phrases later.



You should then see a blank X screen.

Start your X server --if you are using KDE type KDE START rather than STARTX.

You should see your REMOTE kde screen on your LOCAL machine.

If you want to logon to a Windows machine then type in RDP:/IP address. You don't need any extra info.

I'm running a Windows VM both on the Local and Remote Machine

Here's a screen shot of VNC showing the REMOTE KDE on the local machine.

http://www.1kyle.com/fstest1.jpg


And here's another screen shot showing the LOCAL Windows VM using RDP (Remote desktop) to the Remote Windows Machine which I've got running in full screen mode.

http://www.1kyle.com/fstest2.jpg

Both windows machines are running as Virtual Machines under VMWARE.

For testing I'd suggest you switch off all firewalls if you are testing over a local network.

Where you *might* have a problem is trying to connect remotely from a 64 bit machine to a 32 bit machine (or the other way around) - not sure how the video will work here.

Connecting via 32 bit machines or 64 bit machines works fine. I haven't tested "Mixed" architecture but in theory if the programs are obeying standard protocols it should work.

Cheers

-K

Last edited by 1kyle; 02-11-2007 at 12:15 PM.
 
Old 02-12-2007, 04:07 AM   #5
ianman
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
1kyle,
At the moment i cannot try simple VNC server i have to disable SSH dues to attempted attacks, i will do that later. However there software error or maybe some compatibility issues.

I have for a few years ran rdesktop for both Windows terminal services and Linux to linux. With suse 10.1 x86_64 to suse 10.1 x86_64 i ran the standard KDE (krfb) from the menu, which is what i think dakkar is doing, with no problems at all.

Normally i don't start a new session as with port :1 but use Port :0 hence i am able to see the remote desktop in its current state. However since installing 10.2 x86_64 on the remote machine i get crash errors on that machine with the previous posted error message. The local machine has not changed and is running 10.1. This seems to happen with port :0 however i am able to initiate a new session on port :1 Another factor which may have a bearing (but shouldn't)is that i am running 3d desktop on the remote 10.2 with compiz.

Cheers
I
 
Old 02-12-2007, 05:56 AM   #6
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
The 3d issue on the remote shouldn't be an issue as all the local machine is doing is just "painting the screen" rather like taking a screen dump.

Don't use console 0 for vnc. This console is required as a system console. When you type in vncserver without any commands you'll usually get a number not equal to zero - but if zero comes up kill that session (vncserver -kill :0) and start vncserver again forcing the display to 1, 2, 3 or whatever you like up to 7 I think --not sure of the maximum nr of consoles).

Try this if you have hands on access to the remote machine.

(You only needed SSH on the LOCAL machine to issue the vncserver command on the remote machine if you don't have physical access to the remote machine. Afterwards you don't need it again).

On the remote machine log everything / everybody off so you've just got a basic LOGIN prompt on the remote.

Now login as you (non root user) and type vncserver. Note the number of the screen display. If your machine is set to automatic login you can use YAST as root to disable this by setting the default run level to 3 and re-boot or from an XTERM console type (as root via su)init 3.

Don't start X or anything.

Also you'll need to know its IP address so as root (su) type ifconfig. From the list see what IP address it displays. If your machine is behind a router and you really are logging on from "Outside" then you'll need to know what the IP address of your router is and ensure ports 5800 and 5900 are enabled. It's a lot easier to test this stuff when both machines are on a local network (192.168.2.xxx) or whatever.

Now on the LOCAL machine we'll try the standard VNC program first If this works then use the KDE remote desktop.

type vncviewer on the local machine

then in the little window type your ip address followed NOT BY THE PORT but by the screen display number the vncserver gave you.

For example if your IP address of the remote machine is 192.168.2.80 and the screen display is 2 type 192.168.2.80:02 (after the : add add a 0 to the number as shown.

You'll get prompted for your password and you will soon see the X server blank screen

In that screen start an XTERM console and type kde start &

Then it should all work.

If that works OK you can disconnect and then use the standard KDE program krdc.ine to activate the vncserver on the remote machine.

To kill the session on the remote type vncserver -kill :n where n is the console / display number of the vnc session you started.

If you have firewalls enable ports 5800 and 5900 and allow the service. If you can test on a local network it's easier to have all firewalls switched off.


Should all work out of the box. The Beryl / 3d stuff shouldn't be an issue.

Cheers

-K

Last edited by 1kyle; 02-12-2007 at 06:03 AM.
 
Old 02-14-2007, 06:10 AM   #7
ianman
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
Cheers Kyle for this, i will go through the procedure when i get the time. Normally when i log onto remote machine i just use the the IP address with no port, which i assumed defaults to port 0. If when i am at the remote machine (which is only once a week) i do a reboot, then try to connect via the internet using krdc i can connect maybe once or twice ... after that it then crashes ( with the previous stated error )and i am unable to reconnect, even if i reboot the machine via a VNC to port 1. I am able to connect to display 1 but thats not what i want to do. I have desktop guis/programs running on console 1 which i need to monitor via KDE.

I have not had any problems prior to the 10.2 version of suse

Cheers

I
 
Old 03-18-2007, 11:18 PM   #8
ianman
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
Solution

I disabled compiz and xgl on the remote machine. Both machine local and remote are standard KDE and remote admin works fine now. Hmmm compiz or XGL is the problem or a combination of both.

I
 
  


Reply



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
trying to remote to vnc server through vnc client on XP. Kilahchris Linux - Newbie 3 11-22-2006 03:50 PM
windows vnc client and linux vnc server problem tungaw2001 Linux - Software 8 06-17-2006 12:06 AM
fatal server error - server is already active for display 0+vnc suna22 Linux - Software 0 05-24-2006 09:35 AM
VNC server nonothing Linux - Software 1 10-18-2005 11:14 PM
VNC Server rasejo Linux - General 3 08-09-2002 04:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:44 AM.

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
Open Source Consulting | Domain Registration