Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Linux

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 03-21-2008, 07:10 PM
em
Newsgroup Contributor
 
Posts: n/a
VNC always starts in Gnome rather than KDE

Hello,

Everytime I connect to my Fedora Core 6 box via VNC, I end up with a
Gnome session. I try the "startkde" option in xstartup but I still get
Gnome.
Any clues?

Thanks in advance.

EM

PS. Here is my ~/.vnc/xstartup

#!/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 &


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 03-21-2008, 07:10 PM
  #2 (permalink)  
Old 03-22-2008, 04:51 PM
jebblue
Newsgroup Contributor
 
Posts: n/a
Re: VNC always starts in Gnome rather than KDE

On Sat, 22 Mar 2008 02:53:36 +0000, em wrote:

> Everytime I connect to my Fedora Core 6 box via VNC, I end up with a
> Gnome session. I try the "startkde" option in xstartup but I still get
> Gnome.
> Any clues?


What happens if you uncomment the twm and comment the startkde? If you
get twm then at least you know your xstartup script is being executed.

If it us running then all I can recommend is search Google for "xstartup
start kde". The first link that comes up might work for you: http://
ubuntuforums.org/showthread.php?t=29126

--
// This is my opinion.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 03-22-2008, 07:20 PM
em
Newsgroup Contributor
 
Posts: n/a
Re: VNC always starts in Gnome rather than KDE

twm launches if I comment startkde and uncomment twm.

Thanks for the link but no go with the ".xsession". I read in the kde site
that there was limitation with KDE desktop on VNC greater than 800x600 but
dropping it down hasn't fix it either.

I'll keep looking in Google.

EM

"jebblue" <n@n.nnn> wrote in message
news:47e5a62b$0$30704$4c368faf@roadrunner.com...
> On Sat, 22 Mar 2008 02:53:36 +0000, em wrote:
>
>> Everytime I connect to my Fedora Core 6 box via VNC, I end up with a
>> Gnome session. I try the "startkde" option in xstartup but I still get
>> Gnome.
>> Any clues?

>
> What happens if you uncomment the twm and comment the startkde? If you
> get twm then at least you know your xstartup script is being executed.
>
> If it us running then all I can recommend is search Google for "xstartup
> start kde". The first link that comes up might work for you: http://
> ubuntuforums.org/showthread.php?t=29126
>
> --
> // This is my opinion.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 03-23-2008, 12:40 PM
jebblue
Newsgroup Contributor
 
Posts: n/a
Re: VNC always starts in Gnome rather than KDE

On Sun, 23 Mar 2008 03:11:54 +0000, em wrote:

> twm launches if I comment startkde and uncomment twm.
>
> Thanks for the link but no go with the ".xsession". I read in the kde
> site that there was limitation with KDE desktop on VNC greater than
> 800x600 but dropping it down hasn't fix it either.
>


Silly question - are you sure that KDE is actually installed on the
machine you are connecting to?

Try changing twm to startx.

Also is Gnome already running on that machine? Or for that user account
locally on the machine?

Could it be KDE wants a certain font? http://ubuntuforums.org/archive/
index.php/t-80199.html

One last thought try "exec startkde &".

Hmm one more thought, check the logs in ~/.vnc for hints as to what's
going on, also log onto the machine and execute "sh -x ~/.vnc/xstartup"
and see if you get any error hints.

--
// This is my opinion.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 03-27-2008, 05:20 AM
em
Newsgroup Contributor
 
Posts: n/a
Re: VNC always starts in Gnome rather than KDE

When I login locally I launch KDE.

No session is in Gnome unless I connect to it via VNC.

Thanks for the other tips. I'll give them a whirl.

EM

"jebblue" <n@n.nnn> wrote in message
news:47e6bd77$0$16664$4c368faf@roadrunner.com...
> On Sun, 23 Mar 2008 03:11:54 +0000, em wrote:
>
>> twm launches if I comment startkde and uncomment twm.
>>
>> Thanks for the link but no go with the ".xsession". I read in the kde
>> site that there was limitation with KDE desktop on VNC greater than
>> 800x600 but dropping it down hasn't fix it either.
>>

>
> Silly question - are you sure that KDE is actually installed on the
> machine you are connecting to?
>
> Try changing twm to startx.
>
> Also is Gnome already running on that machine? Or for that user account
> locally on the machine?
>
> Could it be KDE wants a certain font? http://ubuntuforums.org/archive/
> index.php/t-80199.html
>
> One last thought try "exec startkde &".
>
> Hmm one more thought, check the logs in ~/.vnc for hints as to what's
> going on, also log onto the machine and execute "sh -x ~/.vnc/xstartup"
> and see if you get any error hints.
>
> --
> // This is my opinion.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 04-01-2008, 05:10 PM
em
Newsgroup Contributor
 
Posts: n/a
Fixed: VNC always starts in Gnome rather than KDE

Found the fault.

There was no /etc/sysconfig/desktop file.

I created a new one with the entries:

DESKTOP="KDE"
DISPLAYMANAGER="KDE"

Now I have just got to solve all these errors coming in my log:

Xlib: extension "DPMS" missing on display ":2.0".

Looks like power management issues. It still works but might get annoying
after a while.

EM

"em" <em-NOSPAM@bigpond.net.au> wrote in message
news:R%MGj.3290$n8.1449@news-server.bigpond.net.au...
> When I login locally I launch KDE.
>
> No session is in Gnome unless I connect to it via VNC.
>
> Thanks for the other tips. I'll give them a whirl.
>
> EM
>
> "jebblue" <n@n.nnn> wrote in message
> news:47e6bd77$0$16664$4c368faf@roadrunner.com...
>> On Sun, 23 Mar 2008 03:11:54 +0000, em wrote:
>>
>>> twm launches if I comment startkde and uncomment twm.
>>>
>>> Thanks for the link but no go with the ".xsession". I read in the kde
>>> site that there was limitation with KDE desktop on VNC greater than
>>> 800x600 but dropping it down hasn't fix it either.
>>>

>>
>> Silly question - are you sure that KDE is actually installed on the
>> machine you are connecting to?
>>
>> Try changing twm to startx.
>>
>> Also is Gnome already running on that machine? Or for that user account
>> locally on the machine?
>>
>> Could it be KDE wants a certain font? http://ubuntuforums.org/archive/
>> index.php/t-80199.html
>>
>> One last thought try "exec startkde &".
>>
>> Hmm one more thought, check the logs in ~/.vnc for hints as to what's
>> going on, also log onto the machine and execute "sh -x ~/.vnc/xstartup"
>> and see if you get any error hints.
>>
>> --
>> // This is my opinion.

>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome Desktop Dr. Deb Linux 7 02-04-2008 03:41 AM
GNOME and automount of USB-devices niemda Linux 0 12-13-2007 07:07 AM
Gnome RDP client "gnome-rdp" - problems with VNC + encryption + RealVNC v4 JDS Linux 4 05-06-2007 12:22 AM
The Differences Between GNOME and KDE Roy.Schestowitz@gmail.com Windows XP 8 04-11-2007 08:45 AM
Notepad starts with "[.ShellClassInfo] computer starts in Vista otho69 Windows Vista 7 03-10-2007 08:30 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 07:01 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0