LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2004, 06:21 AM   #1
a10392
Member
 
Registered: Sep 2004
Posts: 30

Rep: Reputation: 15
Vncserver grey screen


Hi,

I'am using stable debian and i want to install vncserver

apt-get install vncserver, everything ok

but when i run vncviewer on other machine i only get a grey screen with mouse.

what configuration is missing ????


thanx
 
Old 11-30-2004, 07:16 AM   #2
mufy
Member
 
Registered: Oct 2004
Location: Kuwait
Distribution: Currently - AIX | Previously - RHEL 4 ES, FC 10
Posts: 206
Blog Entries: 4

Rep: Reputation: 30
Manually locate kdestart in your system. If you've successfully installed vncserver in your system you should be able to find it with ease.

Edit /$HOME/.vnc/xstartup script by appending the path of the kdestart you've located in your system.

This should solve your problem (hopefully!!!).

For further leads go to:
http://www.realvnc.com/faq.html#grey

Regards.
 
Old 11-30-2004, 08:02 AM   #3
a10392
Member
 
Registered: Sep 2004
Posts: 30

Original Poster
Rep: Reputation: 15
what should the content of xstartup file to start wmaker


i have triyed the /home/.vnc/xstartup with

exec wmaker,

but in the vncserver log file i get
/usr/bin/WindowMaker fatal error: could not open display "home:2"


regards
MM

Last edited by a10392; 11-30-2004 at 08:17 AM.
 
Old 11-30-2004, 11:55 PM   #4
mufy
Member
 
Registered: Oct 2004
Location: Kuwait
Distribution: Currently - AIX | Previously - RHEL 4 ES, FC 10
Posts: 206
Blog Entries: 4

Rep: Reputation: 30
This is how the xstartup file looks in my system:

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -little "$VCNDESKTOP Desktop" & (Comment this line in the script)
/usr/bin/startkde (The path could be different in your system)
twm &

Try this out and let me know.
 
Old 12-05-2004, 07:14 PM   #5
a10392
Member
 
Registered: Sep 2004
Posts: 30

Original Poster
Rep: Reputation: 15
hi, using your script

i have the same grey screen and in the log file i get :


[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -little "$VCNDESKTOP Desktop" &
/usr/X11R6/startx &
wmaker &


i have the same grey screen and in the log file i get :


xsetroot: unable to open display 'home:3'
/home/myname/.vnc/xstartup: vncconfig: command not found
/home/myname/.vnc/xstartup: /etc/X11R6/bin/startx: No such file or directory
.... few lines without errors
/usr/bin/WindowMaker fatal error: could not open display 'home:3'
xterm Xt error: Can't open display: home:3

What should i do next ????

Please help!!
 
Old 12-05-2004, 11:57 PM   #6
mufy
Member
 
Registered: Oct 2004
Location: Kuwait
Distribution: Currently - AIX | Previously - RHEL 4 ES, FC 10
Posts: 206
Blog Entries: 4

Rep: Reputation: 30
You were supposed to have commented the line containing
"xterm -geometry...." by which I meant to put a '#' symbol at the beginning of that line which I don't see in your script.

Do make that change if you still haven't tried and let me know the result.

Regards,
Mufy
 
Old 12-06-2004, 09:33 AM   #7
a10392
Member
 
Registered: Sep 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Hi, Mufy

i have changed the line /usr/X11R6/startx to /usr/bin/X11/startx because the path was wrong.
Adding a comment to the line i get this on the log file :

X: warning; process set to priority 0 instead of requested priority -10

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0.lock
and start again

when reporting a problem related to a server crash, please send the full server output, not just the last messages.
Please report problems to ....
......
some lines without errors and the last line is

/usr/bin/WindowMaker fatal error: could not open display "home:3"


regards
MM
 
Old 12-06-2004, 11:44 PM   #8
mufy
Member
 
Registered: Oct 2004
Location: Kuwait
Distribution: Currently - AIX | Previously - RHEL 4 ES, FC 10
Posts: 206
Blog Entries: 4

Rep: Reputation: 30
I am sorry MM. I don't have an answer to that at the moment, but I'll let you know as soon as I find something.

Regards,
Mufy
 
  


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
X windows stucked at grey screen Navyblue Linux - Newbie 4 08-12-2005 03:24 AM
What's With The Grey Screen? Rick069 SUSE / openSUSE 2 05-24-2005 08:37 PM
vncserver grey screen jjchan Linux - General 4 07-20-2004 05:44 PM
VNCserver Grey Screen in xfce Klein Linux - Software 1 04-27-2004 08:13 AM
Grey screen when Starting X E-Oreo Linux - Newbie 5 12-15-2002 01:37 PM


All times are GMT -5. The time now is 04:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration