LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices



Reply
 
Search this Thread
Old 03-05-2005, 10:15 PM   #1
Rosooki
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
VNC Default Desktop setup


Hi, does anyone know the path of least resistance to changing the default desktop on the vncserver on Mandrake 10.1 from KDE to GNOME?

.vnc/xstartup seems to offer no quick answers. - Mine just says...

#!/bin/sh

# Red Hat Linux VNC session startup script
exec /etc/X11/xinit/xinitrc

Thanks in advance for any help,
Rosooki
 
Old 03-06-2005, 04:20 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
add "gnome-session & " to the end of the file
 
Old 03-06-2005, 04:39 PM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
urpmi kdm

Switch your login manager to KDM in the MCC.

Restart the DM.

Now the login manager will have a "menu" tab that permits you to select the session type.

Any Window Managers you have installed via RPM/URPMI will be available on the list.

Nothing to it.
 
Old 03-07-2005, 04:18 AM   #4
Rosooki
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
default VNC fix

Thanks for the two replies.

I added "gnome-session &" to the bottom of the .vnc/xstartup file, with no luck. I killed the vncserver and restarted it, but it still defaulted to the KDE desktop.

As for changing the window manager, I'm not sure how that will help. I'm not doing any logging in to the actual desktop through VNC. Once the vncserver is started, that's when KDE is coming up. So when I login to the connection, KDE is already running - ready and waiting. It looks like I need to change the default for the entire system to Gnome from KDE so that when the default is run by VNC automatically, it will run Gnome instead of KDE.

Thanks again, Rosooki.
 
Old 03-07-2005, 04:23 AM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
That's the purpose of installing KDM.

It will adjust the login defaults to the WM you require or want to run under VNC.
 
  


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 desktop forwarding on :0 ??? nicedreams Linux - Software 4 06-01-2005 03:39 AM
Any way to VNC to native desktop? Phaethar Linux - Software 5 09-28-2004 09:20 AM
VNC Server on Linux - Which Desktop? Echo Kilo Linux - Networking 2 07-28-2004 07:37 AM
Cannot view Desktop in VNC teodavinci Fedora - Installation 3 04-21-2004 09:44 PM
VNC Setup scottpioso Linux - Software 1 03-05-2003 07:53 PM


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