LinuxQuestions.org
Help answer threads with 0 replies.
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 12-03-2007, 11:31 AM   #1
Strike2000
LQ Newbie
 
Registered: Oct 2007
Distribution: Fedora 9 x64, Ubuntu 8.04, Slackware 10,11 and 12
Posts: 23

Rep: Reputation: 15
vnc


How do you get the vnc server to spin up a kde session?

I have tried to edit the ~/.vnc/xstartup to have exec kde & and exec kde-session & rebooting the server both times yet I still get a gnome session when I vnc to the box.

Thanks in advanced
 
Old 12-03-2007, 11:51 AM   #2
javaroast
Member
 
Registered: Apr 2005
Posts: 131

Rep: Reputation: 19
On the off chance, have you killed any running vncserver and restarted the vncserver after editing the config?
 
Old 12-03-2007, 02:59 PM   #3
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 572

Rep: Reputation: 38
Here's my ~/.vnc/xstartup on Slack 12, which works perfectly:

Code:
#!/bin/sh
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
vncconfig -display=:1 -nowin &
/etc/X11/xinit/xinitrc.kde
You do have the permissions set for eXecute, don't you.

Cheers.
 
Old 12-03-2007, 04:56 PM   #4
mikebudohiee
LQ Newbie
 
Registered: Feb 2006
Location: Florida
Distribution: SuSE, Debian, PCLINUX2007
Posts: 13

Rep: Reputation: 0
This for KUbunto
I had to put startkde &

Here is my xstartup
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
startkde &
 
Old 12-04-2007, 03:46 AM   #5
Strike2000
LQ Newbie
 
Registered: Oct 2007
Distribution: Fedora 9 x64, Ubuntu 8.04, Slackware 10,11 and 12
Posts: 23

Original Poster
Rep: Reputation: 15
hello all,

thanks for your help it was just that my xstartup file was not correct.

Strike
 
  


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
rhel4 vnc problem, where to configure GUI vnc server? hocheetiong Linux - Newbie 1 10-24-2007 07:05 AM
VNC connection to SUSE Linux 10 from a Windows XP VNC Viewer determin2excel Linux - Software 13 10-03-2007 10:38 AM
trying to remote to vnc server through vnc client on XP. Kilahchris Linux - Newbie 3 11-22-2006 04:50 PM
windows vnc client and linux vnc server problem tungaw2001 Linux - Software 8 06-17-2006 01:06 AM
VNC - Selecting different WindowManagers with VNC cmfarley19 Linux - Software 0 04-16-2003 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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