LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-04-2006, 01:55 AM   #1
rino.caldelli
Member
 
Registered: Apr 2005
Location: perugia
Distribution: ubuntu
Posts: 181

Rep: Reputation: 31
vnc visualizes empty desktop


I'm using ubuntu dapper drake 6-06 and vncserver, from my computer and from another computer inside my lan I type
Code:
vncviewer -fullscreen 192.168.0.5:1
And I get to see a Desktop which however has a grey Desktop background and an open root shell... nothing else.. that means I get the same functionalities of an ssh connection.. nothing more!!!
Any ideas.. I had the same problem also with the previous kubuntu breezy.. and I couldn't solve it!!!

help please.. I have no idea what's going on"!""
 
Old 07-04-2006, 02:03 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,260

Rep: Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689
Take a look at this
 
Old 07-04-2006, 03:40 AM   #3
rino.caldelli
Member
 
Registered: Apr 2005
Location: perugia
Distribution: ubuntu
Posts: 181

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by bathory
Take a look at this
thanks for the link.. I actually have a problem: I don't have an .vnc/xstartup

I tried to find it with a

Code:
whereis vncserver
and only found a

Code:
/etc/vnc.conf
can you hint me where to find this xstartup or how to create it???
I use Ubuntu 6-06
 
Old 07-04-2006, 03:52 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,260

Rep: Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689Reputation: 1689
If you started vncserver as user rinonapo, the file is in /home/rinonapo/.vnc/xstartup
 
Old 07-10-2006, 07:43 AM   #5
rino.caldelli
Member
 
Registered: Apr 2005
Location: perugia
Distribution: ubuntu
Posts: 181

Original Poster
Rep: Reputation: 31
ok thanks... I discovered the .vnc folder was under root because the server ran a s root
after some tampering I modified my /home/user/.vnc/xstartup like

Code:
#!/bin/sh

# Uncomment the following two lines for normal desktop:
 unset SESSION_MANAGER
 exec gnome-session &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#exec gnome-session &
now it works thanks
 
Old 04-17-2007, 12:38 AM   #6
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Rep: Reputation: 30
Vnc Gui

thanks for this thread. it helped me solve the same issue.

best regards,

bezdomny
 
  


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
empty desktop after a crash viktoranagy Fedora 1 10-02-2005 11:39 AM
Gentoo VNC, empty dialog box !! "Question" window is empty ! TheHushedCaskeT Linux - Software 0 02-01-2005 10:14 PM
VNC - can log in but get empty X screen davedenis Linux - Software 7 03-01-2004 04:59 PM
empty desktop trash from console rastavideo Linux - Newbie 3 08-20-2003 11:55 AM
RH7.2 empty desktop problem c0c0deuz Linux - Software 1 01-11-2002 02:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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