Re: Migrating from SuSE to Fedora

From: Tim Wunder (twunder_at_REMOVEcomcast.net)
Date: 03/01/05


Date: Mon, 28 Feb 2005 23:25:51 -0500

Al Bogner wrote:

> tim wunder wrote:
>
>>> cat /usr/share/switchdesk/Xclients.xfce
>>> #! /bin/bash
>>> # (c) 2000-2004 Red Hat, Inc.
>>> WM="startxfce4"
>>> WMPATH="/usr/bin /usr/X11R6/bin /usr/local/bin"
>>> for p in $WMPATH ; do
>>> [ -x $p/$WM ] && exec $p/$WM
>>> done
>>> exit 1
>>>
>>> Maybe the syntax is "switchdesk xfce4"?
>>>
>>>
>>>>You'd also need to make sure there is a 'startxfce4' script in
>>>>'/usr/bin', '/usr/X11R6/bin', or '/usr/local/bin'
>>>
>>>
>>> I have:
>>> /usr/bin/startxfce4
>>>
>>
>> Hmmm...
>> I assume executing 'startxfce4' from runlevel 3 starts XCFE.
>> What's in your ~/.Xclients-default file?
>
> I think I found it. It looks like switchdesk depends on the user,
> who executes the command. I have no .Xclients-default as user, but
> as root, since I executed switchdesk as root. At the moment there
> runs a download, I will test it later.
>
> Al

That's probly it. If you wanna make a global change to the default desktop,
edit the /etc/sysconfig/desktop file.
Mine's as follows:
$ cat /etc/sysconfig/desktop
DESKTOP="KDE"
DISPLAYMANAGER="KDE"

The DISPLAYMANAGER just indicates whether gdm, xdm, or kdm is used. As you
can see, I prefer KDE. To each his own...

Regards,
Tim

-- 
Fedora Core release 2 (Tettnang), Linux 2.6.10-1.9_FC2
KDE: 3.3.92-0.4.2.kde, xorg-x11-6.7.0-11
 23:10:05 up 23 days,  8:45,  4 users,  load average: 0.71, 0.83, 0.53
MP3/OGG archive Total playlength : 7 days, 1 hours, 26 mins 30 seconds
"It's what you learn after you know it all that counts" John Wooden


Relevant Pages

  • Re: Questions from a new Fedora user
    ... >> be Gnome, not KDE, which is what I'm used to, but I guess that's ... but you should still be able to install KDE using whatever excuse ... whatever reason it still defaults to gnome is issuing 'switchdesk ... Alternatively enter 'visudo' as root and set it up: ...
    (comp.os.linux.misc)
  • Re: Migrating from SuSE to Fedora
    ... It looks like switchdesk depends on the user, ... who executes the command. ... as root, since I executed switchdesk as root. ...
    (alt.os.linux.redhat)
  • [EXPL] Exploit Code Released for diagrpt Vulnerability
    ... Latest attack techniques. ... When 'diagrpt' executes, it relies on an environment variable to locate ... An attacker can gain root privileges by having 'diagrpt' execute a ... chmod 777 ./kfsh ...
    (Securiteam)
  • Re: How is the root password stolen?
    ... The root password was not exposed. ... The fake "ls" script created a shell ... that would run with root privileges. ... Then it removes itself and executes the real ls. ...
    (comp.unix.admin)
  • [Full-disclosure] [gentoo-announce] [ GLSA 200504-23 ] Kommander: Insecure remote script execution
    ... Kommander executes remote scripts without confirmation, ... interpreter for KDE applications, ... Kommander executes data files from possibly untrusted locations without ... KDE Security Advisory: Kommander untrusted code execution ...
    (Full-Disclosure)