Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-16-2006, 02:17 PM   #1
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,635

Rep: Reputation: 112Reputation: 112
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:


# Uncomment the following two lines for normal desktop:
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!
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.


Ken Taylor
Old 07-16-2006, 06:17 PM   #2
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,635

Original Poster
Rep: Reputation: 112Reputation: 112

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-16-2006, 11:32 PM   #3
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...

# 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


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

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration