LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-16-2004, 03:38 PM   #1
batfastad
Member
 
Registered: Nov 2004
Location: London, UK
Distribution: CentOS, RHEL, Debian, IPCop, PS2Linux
Posts: 95

Rep: Reputation: 23
xvnc - make it default to kde not twm


Hi

I'm running a PS2 linux box and I'mvery new to linux.

I've got xvnc installed somehow and can connect to a remote desktop using my windows machine but the desktop always defaults to twm.

I'd like to change this to kde.

I understand that to do this I need to edit the file /root/.vnc/xstartup and replace the twm command on the last line with 'startkde'

Code:
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & 
twm &
I do this and save the file. Kill that vnc server session and start it up again.
But when I login to the desktop from my windows machine I don't even get the twm menu anymore.
Just the grey background with a white terminal window.

Not KDE as I expected.

Looking at the xvnc server log for that session...

Code:
16/11/04 20:23:52 Xvnc version 3.3.3r2
16/11/04 20:23:52 Copyright (C) AT&T Laboratories Cambridge.
16/11/04 20:23:52 All Rights Reserved.
16/11/04 20:23:52 See uk.research.att.com/vnc for information on VNC
16/11/04 20:23:52 Desktop name 'X' (PS2:1)
16/11/04 20:23:52 Protocol version supported 3.3
16/11/04 20:23:52 Listening for VNC connections on TCP port 5901
16/11/04 20:23:52 Listening for HTTP connections on TCP port 5801
16/11/04 20:23:52   URL h t t p ://PS2:5801
xrdb: No such file or directory
xrdb: can't open file '/root/.Xresources'
/root/.vnc/xstartup: startkde: command not found
So it appears the startkde command isn't being found.

Anyone know what's going wrong?
I'm very new to linux so more detailed instructions would be greatly appreciated.

Thanks in advance

Ben
 
Old 11-18-2004, 03:53 PM   #2
batfastad
Member
 
Registered: Nov 2004
Location: London, UK
Distribution: CentOS, RHEL, Debian, IPCop, PS2Linux
Posts: 95

Original Poster
Rep: Reputation: 23
SOLVED!

Ok I've sorted it now.

And made it so KDE is the default.

I had to add the path to startkde to my PATH whatever that means.

That's why the command startkde couldn't be found.

Here's what I did...
I added the following line underneath the #!/bin/sh

export PATH=$PATH:/usr/kde/bin

saved it, restarted and it works fine.

You will need to search for startkde first and replace the above path with whatever folder location the startkde file is in.

HTH

Ben
 
  


Reply



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
How to make KDE my default on CentOS kencl Linux - Newbie 4 11-13-2005 10:18 AM
QUERY: default wm fvwm replaced by twm? kevingpo Fedora 1 07-26-2005 06:45 PM
Why does my SUSE9.3 choose twm as default WINDOWMANGER? seawolf Linux - Newbie 3 05-03-2005 07:46 AM
How do I make KDE the default DM in FC3? GlennsPref Fedora 4 11-15-2004 05:12 PM
9.2 make KDE default?? c_olin3404 Mandriva 7 01-08-2004 06:10 PM

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

All times are GMT -5. The time now is 01:52 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
Open Source Consulting | Domain Registration