LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-16-2006, 03:17 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,200

Rep: Reputation: 96
Question vnc on FC5 want kde desktop - first question


Just registered with this site today and was invite - "Why not make your first post today by introducing yourself in our LQ Member Intro forum or asking your first question." Nice touch. Thanks! I cannot find the "Member Intro forum" so I guess I will have to ask a question. And, yes I have searched for the answer, found the "answer" here and several other places, applied the answer and still have the issue...

I am connecting from an XP box to a newly installed Fedora Core 5 box (taylor9) with vnc. I have the Xvnc server installed and running on the FC5 box, vncpasswd set etc. The XP vnc client connects like a dream to the gnome desktop over my 100MB network. My default desktop at the FC5 console is kde. So, I have edited my .vnc/xstartup thusly:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -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" &
#twm &
startkde &

restarted the vncserver successfully and connect to the gnome desktop!

I have tried commenting various combinations of lines in this file and have only managed to get an occasional gnome error message when I first connect.

The service vncserver restart command (as root) produces the following log results:

Sun Jul 16 15:07:09 2006
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5902
vncext: Listening for HTTP connections on port 5802
vncext: created VNC server for screen 0
Could not init font path element /usr/share/X11/fonts/OTF, removing from list!
Could not init font path element /usr/share/X11/fonts/CID/, removing from list!
SESSION_MANAGER=local/taylor9:/tmp/.ICE-unix/3732
Window manager warning: Log level 32: could not find XKB extension.

** (nm-applet:3787): WARNING **: <WARNING> nma_dbus_init (): nma_dbus_init() could not acquire its service. dbus_bus_acquire_service() says: 'Connection ":1.67" is not allowed to own the service "org.freedesktop.NetworkManagerInfo" due to security policies in the configuration file'

Despite the warning, gnome connects fine from the XP vnc client. So, I must be missing something. Any advice greatly appreciated.

Regards,

Ken Taylor
 
Old 07-16-2006, 07:17 PM   #2
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,200

Original Poster
Rep: Reputation: 96
Smile

Well, looks like I solved my own problem. Not sure how/why... Found another related thread and based on the discussion did the following:

Installed switchdesk
Ran switchdesk kde
Restarted vncserver

Now I have kde!

I guess that switchdesk stored my preference some place that vnv could find and the session changer at FC5 logon did not.
 
Old 07-17-2006, 12:32 AM   #3
randyding
Member
 
Registered: May 2004
Posts: 552

Rep: Reputation: 31
I'm guessing the switchdesk program probably edits the file "~/.Xclients".
This is a file that looks like this...
Code:
#!/bin/sh

# To switch between KDE and Gnome
# uncomment one of the following
# and place this file in ~/.Xclients

# exec /usr/bin/startkde
# exec /usr/bin/gnome-session
 
  


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
VNC connection issues to KDE shared desktop tisource Linux - Networking 1 05-14-2006 12:19 AM
FC5 Gnome vs KDE question LColumbo10 Fedora 9 05-03-2006 02:49 PM
Tight VNC won't display my KDE desktop jspaceman Linux - Networking 4 10-22-2004 03:02 PM
VNC w/ KDE question mtbiker Linux - Newbie 3 07-27-2004 12:19 PM
Does KDE remote desktop == VNC? Brain Drop Linux - Networking 1 07-05-2004 04:45 PM


All times are GMT -5. The time now is 01:03 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