LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 10-08-2003, 02:07 PM   #1
Andy S
LQ Newbie
 
Registered: Oct 2003
Location: NW England
Distribution: Mandrake & RedHat
Posts: 3

Rep: Reputation: 0
Angry Mandrake 9.0 - TIGHTVNC RED SCREEN OF DESPAIR


My 1st submission so apologies for any ommissions.

Install & Setup appears OK
Run VNCSERVER & OK

[root@localhost root]# vncserver
New 'X' desktop is localhost:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost:2.l

Run VNCVIEWER & appears OK ...

[root@localhost root]# vncviewer

Asks for server ID, enter 'localhost:1'
Then asks for 'password' & enters OK, then get new vnc window opening OK but stays blank (Red since root) with timer icon as if waiting for server to 'serve'.

Terminal Text is ...
VNC server supports protocol version 3.3 (viewer 3.3)
VNC authentication succeeded
Desktop name "root's X desktop (localhost:1)"
Connected to VNC server, using protocol version 3.3
VNC server default format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Using default colormap which is TrueColor. Pixel format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Using shared memory PutImage
Same machine: preferring raw encoding

[root@localhost root]# ps -ax |grep vnc gives ...
Bad syntax, perhaps a bogus '-'?
2183 ? S 0:00 Xvnc :1 -desktop X -httpd /usr/share/vnc/classes -auth /root/.Xauthority -geometry 1024x768 -depth 24 -rfbwait 120000 -rfbauth /root/.vnc/passwd -rfbport 5901 -fp unix/:-1
2321 pts/1 T 0:00 vncviewer
...so server running OK?

[root@localhost root]# find / -mount -mmin -1 -name '*.log' -print gives ...
/root/.vnc/localhost:1.log
and
[root@localhost root]# tail /root/.vnc/localhost:1.log reveals the following
08/10/03 17:17:45 Enabling cursor position updates for client 127.0.0.1
08/10/03 17:17:45 Enabling LastRect protocol extension for client 127.0.0.1
08/10/03 17:17:50 Client 127.0.0.1 gone but vncviewer still shows on ps command !!!
08/10/03 17:17:50 Statistics:
08/10/03 17:17:50 key events received 0, pointer events 90
08/10/03 17:17:50 framebuffer updates 3, rectangles 6, bytes 3152678
08/10/03 17:17:50 cursor shape updates 1, bytes 82
08/10/03 17:17:50 cursor position updates 1, bytes 12
08/10/03 17:17:50 raw rectangles 4, bytes 3152584
08/10/03 17:17:50 raw bytes equivalent 3152584, compression ratio 1.000000

[root@localhost root]
[root@localhost root]# netstat -nltp |grep X
tcp 0 0 0.0.0.0:5801 0.0.0.0:* LISTEN 2486/Xvnc
tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 2486/Xvnc
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 3099/X
tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN 2486/Xv

When connected via Windows Laptop on 10.0.0.1:1 get same !!
[root@localhost root]# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo

[root@localhost root]# ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.122 ms

[root@localhost root]# ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.072 ms

[root@localhost root]# vncserver -name andy

[root@localhost root]# ps -ax |grep vnc

2321 pts/1 T 0:00 vncviewer
2377 pts/1 S 0:00 Xvnc :1 -desktop andy -httpd /usr/share/vnc/classes -auth /root/.Xauthority -geometry 1024x768 -depth 24 -rfbwait 120000 -rfbauth /root/.vnc/passwd -rfbport 5901 -fp unix/:-1


[root@localhost root]# find / -mount -name '*xsta*' -print
/root/.vnc/xstartup is present !!!

[root@localhost root]# find / -mount -name '*passwd*' -print
/root/.vnc/passwd is also present !!

To save me any more wasted nights, could someone help?
It started working for no apparent reason for 1 night and has now stopped again. I have turned off anything I can think of that may stop communication

Last edited by Andy S; 10-08-2003 at 02:15 PM.
 
Old 11-18-2003, 10:26 AM   #2
designwebs
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
I have/had this same problem. Did you get it fixed?
 
Old 11-25-2003, 08:17 AM   #3
Andy S
LQ Newbie
 
Registered: Oct 2003
Location: NW England
Distribution: Mandrake & RedHat
Posts: 3

Original Poster
Rep: Reputation: 0
Apologies for not getting back sooner, I've had computer problems !!

Answer is no though, although I have not had time to look again.

Regards

Last edited by Andy S; 11-25-2003 at 08:18 AM.
 
Old 11-25-2003, 08:54 AM   #4
DirtDart
Member
 
Registered: Nov 2003
Distribution: Mandrake 10.1/Solaris 10 (sparc)
Posts: 96

Rep: Reputation: 16
Not sure, but it might have something to do with you running it as root, vs another user.

Try running it as another user.
 
Old 11-25-2003, 09:11 AM   #5
Andy S
LQ Newbie
 
Registered: Oct 2003
Location: NW England
Distribution: Mandrake & RedHat
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for that. I will be depressed if it's that simple after all that time !!

I'll let you know
 
Old 11-25-2003, 10:17 AM   #6
DirtDart
Member
 
Registered: Nov 2003
Distribution: Mandrake 10.1/Solaris 10 (sparc)
Posts: 96

Rep: Reputation: 16
I know there are some security safeguards set up (such as root not being able to telnet into your box by default...not that you should be using telnet in the first place, but thats another story) and that might be one of them.

Also, if you specified KDE for your window manager, by default, at least Mandrake, the root KDE session will come up with a bright, anoying (by default) red background.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dark screen of despair nasenpinsel Linux - Hardware 5 09-26-2005 05:48 PM
i've got tightvnc working but i dont have the full remote screen p.gaic Suse/Novell 5 08-15-2005 03:58 PM
Tightvnc: I can login but my screen is blue Meriadoc Linux - Newbie 3 06-14-2004 06:53 AM
Mandrake 9.2, Windows XP and TightVNC Dave Tarmac Linux - Newbie 1 01-05-2004 10:19 PM
Mandrake 9.1, TightVNC and KDE 3.1 bphinney Linux - Software 18 07-22-2003 12:06 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration