: VNC + GDM and init 4 - I've to issue init 3 to use it
Hi to everyone,
I've installed vnc on my Slackware box, which uses GDM as the graphical
login manager.
I've set up /etc/inetd.conf and /etc/services that way:
/etc/services
vnc-1280x1024x24 5901/tcp # VNC su porta 5901
/etc/inetd.conf
vnc-1280x1024x24 stream tcp nowait nobody /usr/bin/Xvnc
Xvnc -inetd -query localhost -once -geometry 1280x1024 -depth 24
A "nmap -v localhost" shows me that there's something listening on 5901
port.
Then went through gdm configuration to allow remote login.
And now the weird stuff.
The box boots in runlevel 4, thus X server starts up and so does gdm.
I can normally login into Gnome etc..
On a remote machine, a windows box, I've installed vnc viewer.
When I try a connection on mylinuxbox.org:1 from the windows box,
a window pops up and disappear quickly without an error message.
To remotely login through VNC I have to act as follows:
1. ssh to mylinuxbox.org
2. issue init 3
3. Launch vncviewer on windows box and connect to mylinuxbox.org:1
4. Wait for X to come up on vncviewer
5. Back to ssh and issue init 4
How come is it possible?
Is there something I forgot?
Thanks in advance for your reply
Regards,
Carmine Moleti
|