LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-11-2004, 10:43 PM   #1
AngryKeebler
LQ Newbie
 
Registered: Jun 2004
Location: West Lafayette, IN
Distribution: F2, SUSE, Slackware
Posts: 16

Rep: Reputation: 0
gnome and vnc problems


I am using realvnc and this is what my xstartup file looks like

#!/bin/sh
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
echo exec gnome-session &

Currently I keep getting twm not gnome, what else do I have to do.

I also get a few errors in my log file when i start a vnc session, something about a security policy not in the right path as well as some fonts not in the right path.

"error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy"

"could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list"

"gnome-session: your're already running a seesion manager"

So, i guess my big question is what do i have to do to my xstartup file to get twm to stop running and get another gnome session going when i remote in over VNC, please help!

--AngryKeebler
 
Old 07-12-2004, 12:29 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
All you seem to be doing is echoing the text "exec gnome-session". Try removing "echo". You will need to stop and restart the vncserver for the change to take effect.
 
Old 07-13-2004, 01:16 PM   #3
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
"gnome-session: your're already running a seesion manager"

This is caused by
Code:
exec gnome-session &
. You can only have one of those running at a time.

This isn't quite the right statement. I don't know the correct statement though. I'm having a similar problem with KDE.
 
Old 02-28-2005, 02:26 PM   #4
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Rep: Reputation: 15
Probably too late now, but try the following:

Have your ~/.vnc/xstartup contain only the following lines:

#!/bin/sh

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

comment out all others and see what happens. This worked for me although I do get an error when starting vncviewer for the firsttime on my XP client; gnome still loads correctly.

Hope this helps.

p.n
 
  


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
need VNC to allow 'logout/login' from Gnome (gnome & VNC runs fine) spudler Linux - Networking 3 11-14-2004 10:02 AM
VNC and Gnome Aurga Linux - General 24 11-12-2004 02:16 PM
Gnome and VNC laurentbon Slackware 3 10-08-2003 09:30 AM
gnome and vnc android1654 Linux - Software 2 07-03-2003 02:04 AM
GNOME in VNC? gauge73 Linux - Networking 20 06-21-2003 05:11 PM

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

All times are GMT -5. The time now is 02:32 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
Open Source Consulting | Domain Registration