vncserver not providing gnome desktop
by Robert Moskowitz
Progress made. In the end I had to get IPv4 addressing working, as VNC
only understands IPv4.
I am connecting over the crossover cable to the headless system via vnc,
but the screen just shows the little action box on the upper left and
nothing else.
I have edited the service file and added the geometry line option and
reloaded the deamons. No change.
I edited the xstartup file as I always do to exec gnome, but nope.
I am missing something here. Obviously...
any tips are greatly appreciated.
9 years, 10 months
hbk file
by Kostas Sfakiotakis
Greetings ,
I wanted to ask if there is a program which will be able to open an .hbk
file under Fedora 20 ?
This file is supposed to be a backup copy of the sms messages from my
HTC Desire X .
9 years, 10 months
running vncserver via systemctl on Fedora 20
by Robert Moskowitz
I have run vncserver for years, naturally as 'service vncserver start'.
But now it is all systemd and systemctl. Fine. So I think I have to
configure it for my user, as I always use to edit
/etc/sysconfig/vncserver with:
VNCSERVERS="2:alice 3:bob"
So I found I had to:
cp /lib/systemd/system/vncserver@.service
/etc/systemd/system/vncserver@.service
but I could not figure out what I needed to edit in this file. So I
tried to start the service with:
systemctl start vncserver
And got:
Failed to issue method call: Unit vncserver.service failed to load: No
such file or directory.
So what am I missing?
Also in ~/.vnc/xstartup I changed the execute to:
exec gnome-session &
But the xstartup is created the first time I would start the server...
So things are really working differently and I would appreciate some
pointers.
thanks
9 years, 10 months
dnf failed where yum succeeded
by JD
# dnf -y install amd
Dependencies resolved.
============================================================================================================
Package Arch
Version Repository Size
============================================================================================================
Installing:
am-utils i686
5:6.1.5-30.fc20 updates 834 k
hesiod i686
3.2.1-2.fc20 fedora 30 k
am-utils x86_64
5:6.1.5-30.fc20 updates 836 k
libidn i686
1.28-2.fc20 fedora 209 k
hesiod x86_64
3.2.1-2.fc20 fedora 29 k
Transaction Summary
============================================================================================================
Install 5 Packages
Total download size: 1.9 M
Installed size: 5.0 M
Downloading Packages:
(1/5):
hesiod-3.2.1-2.fc20.i686.rpm 66
kB/s | 30 kB 00:00
(2/5): libidn-1.28-2.fc20.i686.rpm
167 kB/s | 209 kB 00:01
(3/5): hesiod-3.2.1-2.fc20.x86_64.rpm
106 kB/s | 29 kB 00:00
(4/5):
am-utils-6.1.5-30.fc20.i686.rpm 97
kB/s | 834 kB 00:08
(5/5):
am-utils-6.1.5-30.fc20.x86_64.rpm 77
kB/s | 836 kB 00:10
------------------------------------------------------------------------------------------------------------
Total
114 kB/s | 1.9 MB 00:16
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
file /usr/bin/pawd conflicts between attempted installs of
am-utils-5:6.1.5-30.fc20.i686 and am-utils-5:6.1.5-30.fc20.x86_64
file /usr/sbin/amd conflicts between attempted installs of
am-utils-5:6.1.5-30.fc20.i686 and am-utils-5:6.1.5-30.fc20.x86_64
file /usr/sbin/amq conflicts between attempted installs of
am-utils-5:6.1.5-30.fc20.i686 and am-utils-5:6.1.5-30.fc20.x86_64
file /usr/sbin/fixmount conflicts between attempted installs of
am-utils-5:6.1.5-30.fc20.i686 and am-utils-5:6.1.5-30.fc20.x86_64
file /usr/sbin/fsinfo conflicts between attempted installs of
am-utils-5:6.1.5-30.fc20.i686 and am-utils-5:6.1.5-30.fc20.x86_64
file /usr/sbin/hlfsd conflicts between attempted installs of
am-utils-5:6.1.5-30.fc20.i686 and am-utils-5:6.1.5-30.fc20.x86_64
file /usr/sbin/mk-amd-map conflicts between attempted installs of
am-utils-5:6.1.5-30.fc20.i686 and am-utils-5:6.1.5-30.fc20.x86_64
file /usr/sbin/wire-test conflicts between attempted installs of
am-utils-5:6.1.5-30.fc20.i686 and am-utils-5:6.1.5-30.fc20.x86_64
=================================
# yum -y install amd
Loaded plugins: langpacks, refresh-packagekit
adobe-linux-x86_64
| 951 B 00:00:00
google-earth
| 951 B 00:00:00
rpmfusion-free-updates
| 3.3 kB 00:00:00
rpmfusion-nonfree-updates
| 3.3 kB 00:00:00
updates/20/x86_64/metalink
| 15 kB 00:00:00
updates
| 4.9 kB 00:00:00
updates/20/x86_64/primary_db
| 11 MB 00:00:47
(1/2):
updates/20/x86_64/updateinfo
| 1.3 MB 00:00:05
(2/2):
updates/20/x86_64/pkgtags
| 878 kB 00:00:03
Resolving Dependencies
--> Running transaction check
---> Package am-utils.i686 5:6.1.5-30.fc20 will be installed
--> Processing Dependency: libhesiod.so.0 for package:
5:am-utils-6.1.5-30.fc20.i686
--> Running transaction check
---> Package hesiod.i686 0:3.2.1-2.fc20 will be installed
--> Processing Dependency: libidn.so.11(LIBIDN_1.0) for package:
hesiod-3.2.1-2.fc20.i686
--> Processing Dependency: libidn.so.11 for package:
hesiod-3.2.1-2.fc20.i686
--> Running transaction check
---> Package libidn.i686 0:1.28-2.fc20 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================
Package Arch
Version Repository Size
============================================================================================================
Installing:
am-utils i686
5:6.1.5-30.fc20 updates 834 k
Installing for dependencies:
hesiod i686
3.2.1-2.fc20 fedora 30 k
libidn i686
1.28-2.fc20 fedora 209 k
Transaction Summary
============================================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 1.0 M
Installed size: 2.8 M
Downloading packages:
(1/3):
hesiod-3.2.1-2.fc20.i686.rpm
| 30 kB 00:00:00
(2/3):
libidn-1.28-2.fc20.i686.rpm
| 209 kB 00:00:03
(3/3):
am-utils-6.1.5-30.fc20.i686.rpm
| 834 kB 00:00:04
------------------------------------------------------------------------------------------------------------
Total
214 kB/s | 1.0 MB 00:00:05
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
Warning: RPMDB altered outside of yum.
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
dvda-author-12.06-4.4.x86_64 has missing requires of cdrtools
dvda-author-12.06-4.4.x86_64 has missing requires of lplex
Installing :
libidn-1.28-2.fc20.i686
1/3
Installing :
hesiod-3.2.1-2.fc20.i686
2/3
Installing :
5:am-utils-6.1.5-30.fc20.i686
3/3
Verifying :
libidn-1.28-2.fc20.i686
1/3
Verifying :
hesiod-3.2.1-2.fc20.i686
2/3
Verifying :
5:am-utils-6.1.5-30.fc20.i686
3/3
Installed:
am-utils.i686
5:6.1.5-30.fc20
Dependency Installed:
hesiod.i686 0:3.2.1-2.fc20 libidn.i686
0:1.28-2.fc20
Complete!
9 years, 10 months
eth0 again
by Amadeus W.M.
I have to install Matlab on a Fedora 20 machine and I need to rename the
network device to eth0, or else Matlab won't install. This is a known issue:
http://www.mathworks.com/matlabcentral/answers/100235-why-can-t-i-activat...
So, to revert to eth0, I follow these instructions:
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterf...
It says I have 4 options. I did ALL of them and still
[root@phoenix ~]# /sbin/ifconfig
em1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.40 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::20c:f1ff:febc:29fe prefixlen 64 scopeid 0x20<link>
ether 00:0c:f1:bc:29:fe txqueuelen 1000 (Ethernet)
RX packets 713 bytes 306565 (299.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 979 bytes 131054 (127.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
etc.
Specifically, I have masked /usr/lib/udev/rules.d/80-net-name-slot.rules
by creating a link /etc/udev/rules.d/80-net-name-slot.rules -> /dev/null.
[root@phoenix ~]# ls -l /etc/udev/rules.d/
total 8
-rw-r--r--. 1 root root 151 Jul 6 20:31 70-persistent-net.rules
lrwxrwxrwx. 1 root root 9 Jul 20 10:36 80-net-name-slot.rules -> /dev/null
-rw-r--r--. 1 root root 352 Apr 3 04:36 98-kexec.rules
I also have an /etc/udev/rules.d/70-persistent-net.rules:
[root@phoenix ~]# cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:f1:bc:29:fe", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
I also passed net.ifnames=0 to the kernel upon boot:
[root@phoenix ~]# dmesg | grep ifnames
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.15.6-200.fc20.i686+PAE root=UUID=aa696c85-f1d4-4bf3-9a93-b011ec8e9a6a ro vconsole.font=latarcyrheb-sun16 rhgb quiet net.ifnames=0 LANG=en_US.UTF-8
Someone must have figured this out. Can anybody please help me solve this?
Also, NetworkManager might have something to do with this, because if I
right-click the NW applet -> Edit Connections, I do have a connection named
eth0, but if I try to edit that, the device MAC address is
00:0c:f1:bc:29:fe (em1)
So NW somehow likes em1, despite all my efforts. If I stop and disable NW,
then the network does not even start upon boot, as it should. How do I tell
NW to leave my network alone and still have the network start upon boot?
Thanks!
9 years, 10 months
NFS with latest kernel refusing mount requests
by Stephen Berg (Contractor)
Just updated this system to kernel-3.15.6-200 and the NFS exported home
directory on it all of a sudden can't be mounted from any other system
on my network. Rebooted to the previous 3.15.5-200 kernel and it's back
to normal. We have some legacy stuff using NIS and automounted
directories, mostly SciLinux 6.5 stuff.
Log entry:
Jul 21 07:32:15 <hostname> rpc.mountd[16359]: refused mount request from
<ipaddress> for /export/home (/export/home): unmatched host
I looked at /etc/exports, /etc/resolv.conf, /etc/nsswitch.conf, nothing
seemed out of place and since it's working in the previous kernel I
suspect something in the new kernel is causing the issue. Nothing else
that got updated this morning seems to be a likely cause.
Running a "getent netgroup <netgroup_name>" gave me the expected results
which included the system trying to mount the shared directory.
Just curious if anyone else sees similar issues with the latest kernel.
--
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
stephen.berg.ctr(a)nrlssc.navy.mil
9 years, 10 months
wanted: performance laptop, no windoze tax
by Neal Becker
Sorry, I know this subject has been written about before. But google shows
mostly 5 year old info.
What are some recommendations for a relatively high performance laptop that
works well on linux, and without paying windoze tax?
9 years, 10 months
any working howto for accessing mysql/mariadb from libre office?
by M. Fioretti
(already sent also to users(a)global.libreoffice.org)
Greetings,
as per subject. I have a Fedora 20 x86_64 box here, running LO
4.2.5.2, with all updates installed.
NONE of the official howtos, forums, whatever around contains a
usable, step by step description of what should be done to connect
Base to a local mariadb / mysql database which is running and already
accessible from the same computer, both from the command line and from
php through the local web server. The closest I've got, AFTER already
doing plenty of searches for any variant of mysql, libre office and
the several error messages below, is:
(configuring the
connect to existing database mysql
connect using jdbc
database name: mydb
server: localhost
port number 3306
MySql JDBC Driver class:
com.mysql.jdbc.Driver (and when I click on "Test Class" I get "the
jdbc driver was loaded successfully")
user name marco, password required yes
Then I click on "Test Connection" I get
SQL Status: 08S01
Communications link failure
the last packet sent successfully to the server was 0 milliseconds
ago. The driver has not received any packets from the server.
I get this on the command line where I had launched lo:
Exception in thread "Thread-26" java.lang.NoClassDefFoundError: com/jdbc/mysql/Driver
Caused by: java.lang.ClassNotFoundException: com.jdbc.mysql.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
from http://stackoverflow.com/questions/15827547/java-lang-classnotfoundexcept...
I read that that message means "problem is not in the code, but you don't have added the driver to your project!!! You have to add the *.jar driver to your project... "
but I HAVE added in Options->ADvanced the class path
/usr/share/java/mysql-connector-java.jar. Maybe the problem is that
this LO (as packaged by Fedora, that is) is using JRE 1.7.0_60 by
ORACLE?
Also, adding ?autoReconnect=true to the database name, as some of the
many howtos and forums I already read, doesn't change anything.
What now? First I thought the problem could be on the fedora side
(maybe something in selinux/firewall) but why would it work both on
the command line and on http/php from the same machine? that's why I
am also asking here.
TIA,
Marco
--
M. Fioretti http://mfioretti.com http://stop.zona-m.net
Your own civil rights and the quality of your life heavily depend on how
software is used *around* you
----- End forwarded message -----
--
M. Fioretti http://mfioretti.com http://stop.zona-m.net
Your own civil rights and the quality of your life heavily depend on how
software is used *around* you
9 years, 10 months
ping now impossible?
by Tom Horsley
Yesterday, I could run ping. This morning I installed updates
which came with a new kernel, and all attempts to ping
generate this:
tomh> ping marmot
ping: icmp open socket: Operation not permitted
I now have to use sudo in front of ping to make it work.
What the heck happened with this round of updates?
(I see iputils was also an update this morning).
9 years, 10 months