LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-25-2007, 11:30 PM   #1
iggep
Member
 
Registered: Sep 2005
Location: Virginia Beach, VA
Posts: 48

Rep: Reputation: 15
VNC -- gray background


I've just recently started using OpenSuse 10.2. Seems really nice, but one thing has been causing me nothing but grief. I've run google searches and searched this and other forums and found others having the same problem, but nothing really comes right out and addresses the issue.

Its a fresh install of 10.2, and I followed the directions for remote administration located at http://en.opensuse.org/YaST_Remote_Administration, but when I point vnc at my server I get a window with a gray/white background. I can't see anything else at all, and after a couple mins the vnc window closes.

Xvnc is running on the server:
4291 pts/0 S 0:00 Xvnc :2 -desktop X -httpd /usr/share/vnc/classes -auth /root/.xauthYM1SpJ -geometry 1276x1000 -depth 16 -pixelformat rgb565 -rfbwait 120000 -rfbauth /root/.vnc/passwd -rfbport 5902 -fp /usr/share/fonts/misc:unscaled,/usr/share/fonts/local,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/Type1,/usr/share/fonts/URW,/usr/share/fonts/Speedo,/usr/share/fonts/truetype,/usr/share/fonts/uni,/usr/share/fonts/CID


Some posts I've read reference .vnc/xstartup, which was not created initially. I made one from an example posted by someone else

$ cat ~/.vnc/xstartup
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 110x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#wmaker &

then killed X and restarted it, but still get the same gray background when I connect via VNC. Incidentally I'm using RealVNC.

Anyone have any ideas what else I should be doing here?
 
Old 09-26-2007, 02:17 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Remove everything after the first line from the ~/.vnc/xstartup you've made and read this FAQ to see how you can set up vnc with kde or gnome. If you prefer another wm just use the appropriate command to start your preferred wm.

Regards
 
Old 09-26-2007, 02:37 AM   #3
iggep
Member
 
Registered: Sep 2005
Location: Virginia Beach, VA
Posts: 48

Original Poster
Rep: Reputation: 15
Its been a very long day, so I want to make sure I've got this clearly. My xstartup should look like this:

#!/bin/sh
startkde &


When I kill/restart vncserver I still get the gray mottled background. Killing X and restarting that doesn't help either. I'm feeling positively dense at the moment.
 
Old 09-26-2007, 04:55 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
It should work and there is no need to restat the xserver. Restarting vncserver is enough.
Perhaps you have to use the whole path to the startkde script, i.e. the output of the command:
Code:
which startkde
You can also use your browser to see if it works. Just point it to: http://hostname:5802
 
Old 09-26-2007, 10:54 PM   #5
iggep
Member
 
Registered: Sep 2005
Location: Virginia Beach, VA
Posts: 48

Original Poster
Rep: Reputation: 15
Okay, I've obviously done something wrong. But I'll be darned if I can find it. I've reloaded the server fresh today, this time choosing to install Gnome as my GUI instead of KDE. I've done nothing else to the server at this point. Again, I've enabled remote administration through the firewall, and updated xstartup. Still get the same gray mottled background.
 
Old 09-26-2007, 11:16 PM   #6
iggep
Member
 
Registered: Sep 2005
Location: Virginia Beach, VA
Posts: 48

Original Poster
Rep: Reputation: 15
Strike that, I forgot to set enable=true in /opt/gnome/share/gdm/defaults.conf. So I've got it to work in Gnome. But I really dislike Gnome and would love to switch back to KDE. Anyone think of anything I could possibly have missed?
 
Old 10-03-2007, 12:27 AM   #7
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by iggep View Post
Strike that, I forgot to set enable=true in /opt/gnome/share/gdm/defaults.conf. So I've got it to work in Gnome. But I really dislike Gnome and would love to switch back to KDE. Anyone think of anything I could possibly have missed?
I don't know if you have this sorted yet. See this thread (post #11) for an example of how your xstartup should look to use kde: http://www.linuxquestions.org/questi...d.php?t=577634
 
  


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
vnc remote desktop gray packetsmacker Linux - Software 3 09-12-2007 08:29 PM
VNC howto remove background? humbletech99 Linux - Networking 3 10-14-2005 05:53 AM
Flash player plugin shows only gray background! linuxproactive Linux - Software 0 04-18-2005 12:46 AM
Disable background image in KDE only when opened in VNC arobinson74 Linux - General 0 09-01-2004 12:18 PM
gray box on install!? antonioac Fedora - Installation 3 04-05-2004 01:48 AM

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

All times are GMT -5. The time now is 01:56 PM.

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