Enabling VNC in SUSE 10
Hi List, First thing off, the (not so) obvious answers to questions I've already asked myself: 1. I'm running openSUSE on an Intel PC (uname -r = 2.6.13-15.7-default) 2. connecting from a Win XP laptop on the same network segment as the target PC 3. /usr/X11R6/bin/vncserver has "startkde" instead of "twm" at line 63 [ "startkde &\n"); ] 4. Remote Administration is allowed, Port is Open In Firewall (in YAST2) 4a. double-checked service "vnc1" is ON by default in xinetd (in YAST2) 4b. double-checked Remote Administration is actually allowed in Firewall (in YAST2) 5. file /etc/xinetd.d/vnc seems OK All that I can get upon connecting from my laptop to the LinBox is the usual grey screen showing "nobody's X11 desktop (Linux :1)". I've also compared these settings to another PC of mine which runs VNC flawlessly. Needless to say, the settings are exactly the same. (The only difference is that on this second PC I've enabled Remote Administration during installation) My conclusions are: connection works, VNC service is running, firewall is OK, window manager is NOT working. I've googled around but it looks like there's some setting specific to openSUSE that I cannot get hold of. (maybe Google is broken, hehe) Any advice? THX, -mw
On Friday 09 December 2005 14:32, Mello wrote:
Hi List, First thing off, the (not so) obvious answers to questions I've already asked myself: 1. I'm running openSUSE on an Intel PC (uname -r = 2.6.13-15.7-default) 2. connecting from a Win XP laptop on the same network segment as the target PC 3. /usr/X11R6/bin/vncserver has "startkde" instead of "twm" at line 63 [ "startkde &\n"); ] 4. Remote Administration is allowed, Port is Open In Firewall (in YAST2) 4a. double-checked service "vnc1" is ON by default in xinetd (in YAST2) 4b. double-checked Remote Administration is actually allowed in Firewall (in YAST2) 5. file /etc/xinetd.d/vnc seems OK
All that I can get upon connecting from my laptop to the LinBox is the usual grey screen showing "nobody's X11 desktop (Linux :1)".
Any advice?
THX, -mw
Basically what you got working is: VNCServer via Inetd, (Non-Persitent session, New logon for each connection) Unfortunatetly, No logon manager is listening to VNC... in Yast2->system->sysconfig editor set Allow remote login to yes. Then you should get the login manager. Jerry
Hi Jerry,
thanks for your prompt reply.
I went into YAST2/sysconfig editor and I believe I've found those settings
you mentioned.
Under the following hierarchy: Desktop -> Display manager I've checked:
DISPLAYMANAGER = kdm
DISPLAYMANAGER_REMOTE_ACCESS = yes
DISPLAYMANAGER_ROOT_LOGIN_REMOTE = yes (this even scares me a bit)
DISPLAYMANAGER_STARTS_XSERVER = yes
The problem still stays: no login manager in vncviewer.
Will be waiting for more ideas :)
THX,
-mw
On 12/9/05, Jerry Westrick
On Friday 09 December 2005 14:32, Mello wrote:
Hi List, First thing off, the (not so) obvious answers to questions I've already asked myself: 1. I'm running openSUSE on an Intel PC (uname -r = 2.6.13-15.7-default) 2. connecting from a Win XP laptop on the same network segment as the target PC 3. /usr/X11R6/bin/vncserver has "startkde" instead of "twm" at line 63 [ "startkde &\n"); ] 4. Remote Administration is allowed, Port is Open In Firewall (in YAST2) 4a. double-checked service "vnc1" is ON by default in xinetd (in YAST2) 4b. double-checked Remote Administration is actually allowed in Firewall (in YAST2) 5. file /etc/xinetd.d/vnc seems OK
All that I can get upon connecting from my laptop to the LinBox is the usual grey screen showing "nobody's X11 desktop (Linux :1)".
Any advice?
THX, -mw
Basically what you got working is:
VNCServer via Inetd, (Non-Persitent session, New logon for each connection) Unfortunatetly, No logon manager is listening to VNC...
in Yast2->system->sysconfig editor set Allow remote login to yes. Then you should get the login manager.
Jerry
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Friday 09 December 2005 16:58, Mello wrote:
Hi Jerry, thanks for your prompt reply.
I went into YAST2/sysconfig editor and I believe I've found those settings you mentioned. Under the following hierarchy: Desktop -> Display manager I've checked: DISPLAYMANAGER = kdm DISPLAYMANAGER_REMOTE_ACCESS = yes DISPLAYMANAGER_ROOT_LOGIN_REMOTE = yes (this even scares me a bit) DISPLAYMANAGER_STARTS_XSERVER = yes
The problem still stays: no login manager in vncviewer.
Will be waiting for more ideas :)
THX, -mw Okay, DISPLAYMANAGER_ROOT_LOGIN_REMOTE allows you to login as Root when connecting via vnc. Choose your poison...
Several times I've found that specifically those options did take effect until I dropped to "init 3" and back to "Init 5", I usually reboot... Although It's a nono to say something like that about linux! Jerry
That's exactly what I'd done.
First "init 3", then "init 5" and finally rebooted (must be the Win
syndrome).
I've also checked /var/log/messages but couldn't find any error/alert (nor I
expected to find any).
My googling continues...
-mw
On 12/9/05, Jerry Westrick
On Friday 09 December 2005 16:58, Mello wrote:
Hi Jerry, thanks for your prompt reply.
I went into YAST2/sysconfig editor and I believe I've found those settings you mentioned. Under the following hierarchy: Desktop -> Display manager I've checked: DISPLAYMANAGER = kdm DISPLAYMANAGER_REMOTE_ACCESS = yes DISPLAYMANAGER_ROOT_LOGIN_REMOTE = yes (this even scares me a bit) DISPLAYMANAGER_STARTS_XSERVER = yes
The problem still stays: no login manager in vncviewer.
Will be waiting for more ideas :)
THX, -mw Okay, DISPLAYMANAGER_ROOT_LOGIN_REMOTE allows you to login as Root when connecting via vnc. Choose your poison...
Several times I've found that specifically those options did take effect until I dropped to "init 3" and back to "Init 5", I usually reboot... Although It's a nono to say something like that about linux!
Jerry
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Friday 09 December 2005 11:38, Mello wrote:
That's exactly what I'd done. First "init 3", then "init 5" and finally rebooted (must be the Win syndrome).
I've also checked /var/log/messages but couldn't find any error/alert (nor I expected to find any).
My googling continues... -mw
On 12/9/05, Jerry Westrick
wrote: On Friday 09 December 2005 16:58, Mello wrote:
Hi Jerry, thanks for your prompt reply. I went into YAST2/sysconfig editor and I believe I've found those settings you mentioned. Under the following hierarchy: Desktop -> Display manager I've checked: DISPLAYMANAGER = kdm DISPLAYMANAGER_REMOTE_ACCESS = yes DISPLAYMANAGER_ROOT_LOGIN_REMOTE = yes (this even scares me a bit) DISPLAYMANAGER_STARTS_XSERVER = yes
The problem still stays: no login manager in vncviewer. Will be waiting for more ideas :) THX, -mw
Okay, DISPLAYMANAGER_ROOT_LOGIN_REMOTE allows you to login as Root when connecting via vnc. Choose your poison... Several times I've found that specifically those options did take effect until I dropped to "init 3" and back to "Init 5", I usually reboot... Although It's a nono to say something like that about linux! Jerry
-- Do you have more than one net interface? I was running VNC successfully until I added another interface to do some testing, it caused the exact same thing as you have. I disabled the interface and all is well.
hth Mike
I do have a second network i/f in fact but it is shown as "Not configured"
in YAST2 (Network Devices -> Network Card).
What do exactly mean by "disabling"?
BTW, I've noticed that SaX2 has an "Allow Access... VNC Protocol" option.
I've enabled that as well and now, when I try to access by browser (HTTP
port 5801) I get until the VNC Authentication page but there it stops.
THX,
-mw
On 12/9/05, ka1ifq
That's exactly what I'd done. First "init 3", then "init 5" and finally rebooted (must be the Win syndrome).
I've also checked /var/log/messages but couldn't find any error/alert (nor I expected to find any).
My googling continues... -mw
On 12/9/05, Jerry Westrick
wrote: On Friday 09 December 2005 16:58, Mello wrote:
Hi Jerry, thanks for your prompt reply. I went into YAST2/sysconfig editor and I believe I've found those settings you mentioned. Under the following hierarchy: Desktop -> Display manager I've checked: DISPLAYMANAGER = kdm DISPLAYMANAGER_REMOTE_ACCESS = yes DISPLAYMANAGER_ROOT_LOGIN_REMOTE = yes (this even scares me a bit) DISPLAYMANAGER_STARTS_XSERVER = yes
The problem still stays: no login manager in vncviewer. Will be waiting for more ideas :) THX, -mw
Okay, DISPLAYMANAGER_ROOT_LOGIN_REMOTE allows you to login as Root when connecting via vnc. Choose your poison... Several times I've found that specifically those options did take effect until I dropped to "init 3" and back to "Init 5", I usually reboot... Although It's a nono to say something like that about linux! Jerry
-- Do you have more than one net interface? I was running VNC successfully until I added another interface to do some testing, it caused the exact same
On Friday 09 December 2005 11:38, Mello wrote: thing as you have. I disabled the interface and all is well.
hth Mike
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
You are almost there - having enabled the remote option in Sax2, now open a terminal window, su to root, and execute vncpasswd to set the vnc password for the root user - once you do that, you will be able to VNC into the box. Mello wrote:
I do have a second network i/f in fact but it is shown as "Not configured" in YAST2 (Network Devices -> Network Card). What do exactly mean by "disabling"?
BTW, I've noticed that SaX2 has an "Allow Access... VNC Protocol" option. I've enabled that as well and now, when I try to access by browser (HTTP port 5801) I get until the VNC Authentication page but there it stops.
THX, -mw
On 12/9/05, ka1ifq
wrote: On Friday 09 December 2005 11:38, Mello wrote:
That's exactly what I'd done. First "init 3", then "init 5" and finally rebooted (must be the Win syndrome).
I've also checked /var/log/messages but couldn't find any error/alert
(nor
I expected to find any).
My googling continues... -mw
On 12/9/05, Jerry Westrick
wrote: On Friday 09 December 2005 16:58, Mello wrote:
Hi Jerry, thanks for your prompt reply. I went into YAST2/sysconfig editor and I believe I've found those
settings
you mentioned. Under the following hierarchy: Desktop -> Display manager I've
checked:
DISPLAYMANAGER = kdm DISPLAYMANAGER_REMOTE_ACCESS = yes DISPLAYMANAGER_ROOT_LOGIN_REMOTE = yes (this even scares me a bit) DISPLAYMANAGER_STARTS_XSERVER = yes
The problem still stays: no login manager in vncviewer. Will be waiting for more ideas :) THX, -mw
Okay, DISPLAYMANAGER_ROOT_LOGIN_REMOTE allows you to login as Root
when
connecting via vnc. Choose your poison... Several times I've found that specifically those options did take
effect
until I dropped to "init 3" and back to "Init 5", I usually reboot... Although It's a nono to say something like that about linux! Jerry
--
Do you have more than one net interface? I was running VNC successfully until I added another interface to do some testing, it caused the exact same thing as you have. I disabled the interface and all is well.
hth Mike
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin First they came for the Jews and I did not speak out because I was not a Jew. Then they came for the Communists and I did not speak out because I was not a Communist. Then they came for the trade unionists and I did not speak out because I was not a trade unionist. Then they came for me and there was no one left to speak out for me. -- Pastor Martin Niemöller
On Friday 09 December 2005 12:52, Mello wrote:
I do have a second network i/f in fact but it is shown as "Not configured" in YAST2 (Network Devices -> Network Card). What do exactly mean by "disabling"?
Sorry, thats what I meant. I set mine to "not configured" and init3 / init5 and all was well again.
While I thank you all for the good comments I must admit that they didn't
solve the issue so my googling went on... Eventually I have found an email
thread which, although related to Suse 9.2, pointed me in the right
direction:
<snip>
The fact that you are getting the screen with the X cursor indicates
that the VNC Server program is working properly. The absence of a logon
screen would indicate that KDM is not allowing XDMCP connections.
</snip>
You can find the message here:
http://lists.suse.com/archive/suse-linux-e/2005-Apr/1049.html
So, now my problem is SOLVED, I'll briefly recap what happened below:
PROBLEM:
1. PC running Suse 10, VNC connection shows a grey screen but no login
2. YAST2: allow Remote Administration, make sure Port is Open In Firewall is
checked
2a. at least service "vnc1" should be ON by default in xinetd (YAST2)
2b. Remote Administration should be actually allowed in Firewall (YAST2)
SOLUTION:
2. su to root and "vi /etc/opt/kde3/share/config/kdm/kdmrc", at the bottom
of the file look for "[Xdmcp]" section, right below it there should be
"Enable=true" instead of "Enable=false"
3. don't forget to "rcxdm restart"
Comments are welcome.
Thanks,
-mw
NOTE:
- "$defaultXStartup" defined in "/usr/X11R6/bin/vncserver" seems to be
totally irrelevant (in fact KDE starts in my case despite "twm" is at line
63)
- also SaX2, which has a VNC tab where one can enable/disable the service,
doesn't seem to have any effects
On 12/9/05, ka1ifq
On Friday 09 December 2005 12:52, Mello wrote:
I do have a second network i/f in fact but it is shown as "Not configured" in YAST2 (Network Devices -> Network Card). What do exactly mean by "disabling"?
Sorry, thats what I meant. I set mine to "not configured" and init3 / init5 and all was well again.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Fri, 9 Dec 2005 14:32:51 +0100, Mello wrote
Hi List, First thing off, the (not so) obvious answers to questions I've already asked myself:
1. I'm running openSUSE on an Intel PC (uname -r = 2.6.13-15.7- default) 2. connecting from a Win XP laptop on the same network segment as the target PC 3. /usr/X11R6/bin/vncserver has "startkde" instead of "twm" at line 63 [ "startkde &\n"); ] 4. Remote Administration is allowed, Port is Open In Firewall (in YAST2) 4a. double-checked service "vnc1" is ON by default in xinetd (in YAST2) 4b. double-checked Remote Administration is actually allowed in Firewall (in YAST2) 5. file /etc/xinetd.d/vnc seems OK
All that I can get upon connecting from my laptop to the LinBox is the usual grey screen showing "nobody's X11 desktop (Linux :1)".
I've also compared these settings to another PC of mine which runs VNC flawlessly. Needless to say, the settings are exactly the same. (The only difference is that on this second PC I've enabled Remote Administration during installation)
My conclusions are: connection works, VNC service is running, firewall is OK, window manager is NOT working. I've googled around but it looks like there's some setting specific to openSUSE that I cannot get hold of. (maybe Google is broken, hehe)
Any advice?
THX, -mw
Does the server time out? What do the logs say? I think I ran into that problem once if memory serves I had changed the ip of my server and the /etc/hosts file still had the old ip in it. Correct the entry restarted xinetd and all was ok.
participants (5)
-
Doug Currey
-
Jerry Westrick
-
ka1ifq
-
Mello
-
Moby